-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to Deno in the backend, vanilla JS in the frontend.
This also tweaks the UI and UX. All data is still compatible, and there's some new functionality, like clicking on the month to navigate to any month.
- Loading branch information
1 parent
b1097c7
commit 56148b1
Showing
104 changed files
with
6,286 additions
and
30,619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.22.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
NODE_PATH=/ | ||
AWS_ACCESS_KEY_ID=accesskey | ||
AWS_SECRET_ACCESS_KEY=sshhh | ||
NEXT_PUBLIC_USERBASE_APP_ID=get-from-userbase.com | ||
USERBASE_APP_ID=get-from-userbase.com |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Run Tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: v1.22.0 | ||
- run: | | ||
make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1 @@ | ||
.DS_Store | ||
node_modules | ||
*.log | ||
*.zip | ||
.env | ||
.next | ||
.env.build | ||
.serverless | ||
.serverless_nextjs | ||
**/public/precache.*.*.js | ||
**/public/sw.js | ||
**/public/workbox-*.js | ||
**/public/worker-*.js | ||
**/public/fallback-*.js | ||
**/public/precache.*.*.js.map | ||
**/public/sw.js.map | ||
**/public/workbox-*.js.map | ||
**/public/worker-*.js.map | ||
**/public/fallback-*.js | ||
*.tsbuildinfo |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"deno.enable": true, | ||
"deno.lint": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,13 @@ | ||
.PHONY: install | ||
install: | ||
-cp -n .env.sample .env | ||
npm install --legacy-peer-deps | ||
|
||
.PHONY: start | ||
start: | ||
npm run dev | ||
deno run --watch --allow-net --allow-read --allow-env=PORT,USERBASE_APP_ID main.ts | ||
|
||
.PHONY: format | ||
format: | ||
deno fmt | ||
|
||
.PHONY: test | ||
test: | ||
make lint | ||
npm run test | ||
|
||
.PHONY: test/update | ||
test/update: | ||
make lint | ||
npm run test -- -u | ||
|
||
.PHONY: test/pretty | ||
test/pretty: | ||
npm run pretty/test | ||
|
||
.PHONY: test/ci | ||
test/ci: | ||
make test/pretty | ||
make test | ||
|
||
.PHONY: lint | ||
lint: | ||
npm run lint | ||
|
||
.PHONY: pretty | ||
pretty: | ||
npm run pretty | ||
|
||
.PHONY: deploy | ||
deploy: | ||
serverless | ||
deno fmt --check | ||
deno lint | ||
deno test --allow-net --allow-read --allow-env=PORT,USERBASE_APP_ID --check=all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.