Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Jan 8, 2024
1 parent fe408f5 commit a29c948
Show file tree
Hide file tree
Showing 16 changed files with 185 additions and 34 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Icon[ ]
!.keep
*/mount/*.hash

*.sqlite3*
*.sqlite3-journal
# Created by https://www.toptal.com/developers/gitignore/api/windows
# Edit at https://www.toptal.com/developers/gitignore?templates=windows

Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/add-focused-issue-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Add focused issue to GitHub project
on:
issues:
types:
- labeled
jobs:
add-focused-issue-to-project:
uses: exKAZUu-Research/reusable-workflows/.github/workflows/add-issue-to-project.yml@main
with:
label: 'focused :dart:'
secrets:
GH_PROJECT_URL: https://github.com/orgs/WillBooster/projects/7
GH_TOKEN: ${{ secrets.PUBLIC_GH_BOT_PAT }}
11 changes: 11 additions & 0 deletions .github/workflows/add-issue-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Add issue to GitHub project
on:
issues:
types:
- labeled
jobs:
add-issue-to-project:
uses: exKAZUu-Research/reusable-workflows/.github/workflows/add-issue-to-project.yml@main
secrets:
GH_PROJECT_URL: ${{ secrets.GH_PROJECT_URL }}
GH_TOKEN: ${{ secrets.PUBLIC_GH_BOT_PAT }}
13 changes: 13 additions & 0 deletions .github/workflows/add-ready-issue-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Add ready issue to GitHub project
on:
issues:
types:
- labeled
jobs:
add-ready-issue-to-project:
uses: exKAZUu-Research/reusable-workflows/.github/workflows/add-issue-to-project.yml@main
with:
label: 'ready :rocket:'
secrets:
GH_PROJECT_URL: https://github.com/orgs/WillBoosterLab/projects/5
GH_TOKEN: ${{ secrets.PUBLIC_GH_BOT_PAT }}
8 changes: 8 additions & 0 deletions .github/workflows/close-comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Add close comment
on:
pull_request:
types:
- opened
jobs:
close-comment:
uses: exKAZUu-Research/reusable-workflows/.github/workflows/close-comment.yml@main
10 changes: 10 additions & 0 deletions .github/workflows/notify-ready.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Notify ready
on:
issues:
types:
- labeled
jobs:
notify-ready:
uses: exKAZUu-Research/reusable-workflows/.github/workflows/notify-ready.yml@main
secrets:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL_FOR_READY }}
12 changes: 12 additions & 0 deletions .github/workflows/wbfy-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Merge wbfy
on:
workflow_dispatch:
schedule:
- cron: 5 17 * * *
jobs:
wbfy-merge:
uses: exKAZUu-Research/reusable-workflows/.github/workflows/wbfy-merge.yml@main
with:
github_hosted_runner: true
secrets:
GH_TOKEN: ${{ secrets.PUBLIC_GH_BOT_PAT }}
12 changes: 12 additions & 0 deletions .github/workflows/wbfy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Willboosterify
on:
workflow_dispatch:
schedule:
- cron: 10 11 * * *
jobs:
wbfy:
uses: exKAZUu-Research/reusable-workflows/.github/workflows/wbfy.yml@main
with:
github_hosted_runner: true
secrets:
GH_TOKEN: ${{ secrets.PUBLIC_GH_BOT_PAT }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Icon[ ]
!.keep
*/mount/*.hash

*.sqlite3*
*.sqlite3-journal
# Created by https://www.toptal.com/developers/gitignore/api/windows
# Edit at https://www.toptal.com/developers/gitignore?templates=windows

Expand Down
2 changes: 2 additions & 0 deletions .husky/post-merge
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ run_if_changed() {
run_if_changed "\..+-version" "asdf plugin update --all"
run_if_changed "\..+-version" "asdf install"
run_if_changed "package\.json" "yarn && rm -Rf .next"
run_if_changed "prisma/schema.prisma" "node node_modules/.bin/dotenv -c development -- node node_modules/.bin/prisma migrate deploy"
run_if_changed "prisma/schema.prisma" "node node_modules/.bin/dotenv -c development -- node node_modules/.bin/prisma generate"
10 changes: 5 additions & 5 deletions .idea/watcherTasks.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Icon[ ]
!.keep
*/mount/*.hash

*.sqlite3*
*.sqlite3-journal
# Created by https://www.toptal.com/developers/gitignore/api/windows
# Edit at https://www.toptal.com/developers/gitignore?templates=windows

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# trace-dojo

An educational web app for training program tracing skills.

[![Test](https://github.com/exKAZUu-Research/trace-dojo/actions/workflows/test.yml/badge.svg)](https://github.com/exKAZUu-Research/trace-dojo/actions/workflows/test.yml)

An educational web app for training program tracing skills.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = { eslint: { ignoreDuringBuilds: true }, typescript: { ignoreBuildErrors: true } };

module.exports = nextConfig;
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
"@types/micromatch": "4.0.4",
"@types/node": "20.8.10",
"@types/react-dom": "18.2.14",
"@typescript-eslint/eslint-plugin": "6.16.0",
"@typescript-eslint/parser": "6.16.0",
"@typescript-eslint/eslint-plugin": "6.18.0",
"@typescript-eslint/parser": "6.18.0",
"@willbooster/eslint-config-next": "1.1.0",
"@willbooster/prettier-config": "9.1.2",
"@willbooster/wb": "6.1.15",
Expand Down
112 changes: 88 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3903,15 +3903,15 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/eslint-plugin@npm:6.16.0":
version: 6.16.0
resolution: "@typescript-eslint/eslint-plugin@npm:6.16.0"
"@typescript-eslint/eslint-plugin@npm:6.18.0":
version: 6.18.0
resolution: "@typescript-eslint/eslint-plugin@npm:6.18.0"
dependencies:
"@eslint-community/regexpp": "npm:^4.5.1"
"@typescript-eslint/scope-manager": "npm:6.16.0"
"@typescript-eslint/type-utils": "npm:6.16.0"
"@typescript-eslint/utils": "npm:6.16.0"
"@typescript-eslint/visitor-keys": "npm:6.16.0"
"@typescript-eslint/scope-manager": "npm:6.18.0"
"@typescript-eslint/type-utils": "npm:6.18.0"
"@typescript-eslint/utils": "npm:6.18.0"
"@typescript-eslint/visitor-keys": "npm:6.18.0"
debug: "npm:^4.3.4"
graphemer: "npm:^1.4.0"
ignore: "npm:^5.2.4"
Expand All @@ -3924,11 +3924,29 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: c8a68e0953d8b94f6b85d3a82090e61e670bcb0945cbee4d741321c56db727429ad47c48b8403ad1dab3b0842689bd2d4b85c99b76c51ac4f5be7f5f61c4c314
checksum: b89fae0d075be717dc4f9bed451bc5fb3416c5cc8ec519dae14d85dd8a7c4b60e21c87f91441cde1d84cd85d32253adc205a06dab7a33556152cc3a059bb5899
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:6.18.0":
version: 6.18.0
resolution: "@typescript-eslint/parser@npm:6.18.0"
dependencies:
"@typescript-eslint/scope-manager": "npm:6.18.0"
"@typescript-eslint/types": "npm:6.18.0"
"@typescript-eslint/typescript-estree": "npm:6.18.0"
"@typescript-eslint/visitor-keys": "npm:6.18.0"
debug: "npm:^4.3.4"
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 5ae2c541157056d9d55fba66a2ecff7c870860579aaf8c33a89133e0bd35aaff3c1e923648417d66791f75fe39795bdaa31fc82d44613dc5872e1ce4640b608a
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:6.16.0, @typescript-eslint/parser@npm:^5.4.2 || ^6.0.0":
"@typescript-eslint/parser@npm:^5.4.2 || ^6.0.0":
version: 6.16.0
resolution: "@typescript-eslint/parser@npm:6.16.0"
dependencies:
Expand Down Expand Up @@ -3956,20 +3974,30 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/type-utils@npm:6.16.0":
version: 6.16.0
resolution: "@typescript-eslint/type-utils@npm:6.16.0"
"@typescript-eslint/scope-manager@npm:6.18.0":
version: 6.18.0
resolution: "@typescript-eslint/scope-manager@npm:6.18.0"
dependencies:
"@typescript-eslint/typescript-estree": "npm:6.16.0"
"@typescript-eslint/utils": "npm:6.16.0"
"@typescript-eslint/types": "npm:6.18.0"
"@typescript-eslint/visitor-keys": "npm:6.18.0"
checksum: 688de3cffa894ef402ee5f4ba265bcd26e21aac5e98b265dbc77eb0dbaf690602ddce6c56df0973764c560fcff290304e54d86620f11fc45394d3b556d4bfcf8
languageName: node
linkType: hard

"@typescript-eslint/type-utils@npm:6.18.0":
version: 6.18.0
resolution: "@typescript-eslint/type-utils@npm:6.18.0"
dependencies:
"@typescript-eslint/typescript-estree": "npm:6.18.0"
"@typescript-eslint/utils": "npm:6.18.0"
debug: "npm:^4.3.4"
ts-api-utils: "npm:^1.0.1"
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: a5339cc1375d12411fcb242249143b28401fb18890bb2a1cff5275ba946affb4a2066cd8203e83ac383bd9d791a79ea6ee1cbf7a30deed5c832ed002897bbf82
checksum: 121ab9846cdcfeb385502f816a01a2d97cff9f13d320ebd265662ec66a58f4639483cf5a9c790db3e5dbab20c13c21e8506096174d83d6971e359f1272ec94fc
languageName: node
linkType: hard

Expand All @@ -3980,6 +4008,13 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/types@npm:6.18.0":
version: 6.18.0
resolution: "@typescript-eslint/types@npm:6.18.0"
checksum: 7bdbbd3ab040d10505c06e6cd3ac0eaf3f0450aa3098eb30f0b1706e06c9a1f9637c9e98ff67e05af235c55a7ccb0053368de072cd4a4f830c9b048d2575f91f
languageName: node
linkType: hard

"@typescript-eslint/typescript-estree@npm:6.16.0":
version: 6.16.0
resolution: "@typescript-eslint/typescript-estree@npm:6.16.0"
Expand All @@ -3999,20 +4034,39 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:6.16.0":
version: 6.16.0
resolution: "@typescript-eslint/utils@npm:6.16.0"
"@typescript-eslint/typescript-estree@npm:6.18.0":
version: 6.18.0
resolution: "@typescript-eslint/typescript-estree@npm:6.18.0"
dependencies:
"@typescript-eslint/types": "npm:6.18.0"
"@typescript-eslint/visitor-keys": "npm:6.18.0"
debug: "npm:^4.3.4"
globby: "npm:^11.1.0"
is-glob: "npm:^4.0.3"
minimatch: "npm:9.0.3"
semver: "npm:^7.5.4"
ts-api-utils: "npm:^1.0.1"
peerDependenciesMeta:
typescript:
optional: true
checksum: 67d377dbf66bae4d40b60cc838cc0f0337a8532925c5e2da5b1a08d882077276ff4bb1a41270179a0fa46bbf3840a284d65f5b97a69832444d4d0609c0b9b31e
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:6.18.0":
version: 6.18.0
resolution: "@typescript-eslint/utils@npm:6.18.0"
dependencies:
"@eslint-community/eslint-utils": "npm:^4.4.0"
"@types/json-schema": "npm:^7.0.12"
"@types/semver": "npm:^7.5.0"
"@typescript-eslint/scope-manager": "npm:6.16.0"
"@typescript-eslint/types": "npm:6.16.0"
"@typescript-eslint/typescript-estree": "npm:6.16.0"
"@typescript-eslint/scope-manager": "npm:6.18.0"
"@typescript-eslint/types": "npm:6.18.0"
"@typescript-eslint/typescript-estree": "npm:6.18.0"
semver: "npm:^7.5.4"
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
checksum: 586c4c0e1ca249daf9958f0d88df3af010a7592a19db1a7dc198754542b584314896536fe56ea9c93dd0ddd531154e7697002643d46e24a8d3a459721a626e91
checksum: 1dc0b133fb061065ec9da9cb18ae4147c5d1656f2c0c9aca7390448802b912d1935b5e85f879de884466737cc5153a1acb370eee32b27be57302cf6a9d0b382a
languageName: node
linkType: hard

Expand All @@ -4026,6 +4080,16 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:6.18.0":
version: 6.18.0
resolution: "@typescript-eslint/visitor-keys@npm:6.18.0"
dependencies:
"@typescript-eslint/types": "npm:6.18.0"
eslint-visitor-keys: "npm:^3.4.1"
checksum: ef5697fdae84eafe4835919352d6e2a6ccd654942fa45d5980518fab291c176ac19d97e3579ed3462988bcf9d5c4ba7edeaca979378ab2e81dfa0fef0ce346e2
languageName: node
linkType: hard

"@ungap/structured-clone@npm:^1.2.0":
version: 1.2.0
resolution: "@ungap/structured-clone@npm:1.2.0"
Expand Down Expand Up @@ -10478,8 +10542,8 @@ __metadata:
"@types/micromatch": "npm:4.0.4"
"@types/node": "npm:20.8.10"
"@types/react-dom": "npm:18.2.14"
"@typescript-eslint/eslint-plugin": "npm:6.16.0"
"@typescript-eslint/parser": "npm:6.16.0"
"@typescript-eslint/eslint-plugin": "npm:6.18.0"
"@typescript-eslint/parser": "npm:6.18.0"
"@willbooster/eslint-config-next": "npm:1.1.0"
"@willbooster/prettier-config": "npm:9.1.2"
"@willbooster/shared-lib-react": "npm:3.0.0"
Expand Down

0 comments on commit a29c948

Please sign in to comment.