-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from ThijnK/feat/deno
Feat/deno
- Loading branch information
Showing
51 changed files
with
522 additions
and
4,206 deletions.
There are no files selected for viewing
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,26 @@ | ||
name: Check | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
|
||
jobs: | ||
type-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: denoland/setup-deno@v2 | ||
with: | ||
deno-version: v2.x | ||
- run: deno task check | ||
format-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: denoland/setup-deno@v2 | ||
with: | ||
deno-version: v2.x | ||
- run: deno fmt --check |
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
node_modules/ | ||
dist/ | ||
.env | ||
.env | ||
.prettierrc | ||
|
||
/.vs/ | ||
/.vscode/ | ||
/node_modules/ | ||
/dist/ |
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
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,34 @@ | ||
{ | ||
"tasks": { | ||
"dev": "deno run --watch --env-file --allow-env --allow-net --allow-read src/index.ts", | ||
"check": "deno check src/index.ts", | ||
"lint": "deno lint --fix", | ||
"fmt": "deno fmt", | ||
"fmt:check": "deno fmt --check", | ||
"deploy": "deno run --env-file --allow-env --allow-net --allow-read src/scripts/deploy.ts", | ||
"clear": "deno run --env-file --allow-env --allow-net --allow-read src/scripts/clear.ts" | ||
}, | ||
"lint": { | ||
"include": ["src/"], | ||
"rules": { | ||
"tags": ["recommended"] | ||
} | ||
}, | ||
"fmt": { | ||
"lineWidth": 80, | ||
"indentWidth": 2, | ||
"semiColons": true, | ||
"singleQuote": true, | ||
"include": ["src/"] | ||
}, | ||
"exclude": ["node_modules/", "dist/"], | ||
"imports": { | ||
"env": "./src/env.ts", | ||
"client": "./src/client/index.ts", | ||
"commands": "./src/commands/index.ts", | ||
"types": "./src/types/index.ts", | ||
"utils": "./src/utils/index.ts", | ||
"discord.js": "npm:discord.js@^14.16.3" | ||
}, | ||
"nodeModulesDir": "auto" | ||
} |
Oops, something went wrong.