-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: format with Prettier + check in CI
- Loading branch information
1 parent
240ecd9
commit d8bedd2
Showing
16 changed files
with
1,360 additions
and
2,159 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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint", "prettier"], | ||
"extends": ["plugin:@typescript-eslint/recommended", "prettier"] | ||
"extends": ["plugin:@typescript-eslint/recommended", "prettier"], | ||
"rules": { | ||
"prettier/prettier": "error" | ||
} | ||
} |
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
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,37 +1,37 @@ | ||
name: 'Release' | ||
name: "Release" | ||
|
||
on: | ||
push: | ||
branches: [master, beta] | ||
|
||
jobs: | ||
release: | ||
runs-on: 'ubuntu-latest' | ||
runs-on: "ubuntu-latest" | ||
permissions: | ||
contents: 'write' | ||
issues: 'write' | ||
pull-requests: 'write' | ||
id-token: 'write' | ||
contents: "write" | ||
issues: "write" | ||
pull-requests: "write" | ||
id-token: "write" | ||
steps: | ||
- uses: 'actions/checkout@v4' | ||
- uses: "actions/checkout@v4" | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
|
||
- uses: 'actions/setup-node@v4' | ||
- uses: "actions/setup-node@v4" | ||
with: | ||
node-version: 18 | ||
cache: 'npm' | ||
cache: "npm" | ||
|
||
- run: 'npm ci' | ||
- run: "npm ci" | ||
|
||
- run: 'npm run build' | ||
- run: "npm run build" | ||
|
||
- name: 'Verify the integrity of provenance attestations and registry signatures for installed dependencies' | ||
run: 'npm audit signatures' | ||
- name: "Verify the integrity of provenance attestations and registry signatures for installed dependencies" | ||
run: "npm audit signatures" | ||
|
||
- name: 'Release' | ||
run: 'npm run release' | ||
- name: "Release" | ||
run: "npm run release" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
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,3 @@ | ||
{ | ||
"semi": false | ||
} |
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,6 +1,7 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": true | ||
"source.fixAll": "explicit" | ||
} | ||
} |
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 @@ | ||
{ | ||
"preset": "ts-jest", | ||
"testEnvironment": "node" | ||
} |
Oops, something went wrong.