-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve DX & refactor CI (#161)
* chore: update nestjs version to v9 * fix: try to fix ci error & import typecheck * feat: improve DX * feat: change trigger condition * fix: fix format * fix: fix install error * chore: fix format * feat: import coverage * fix: fix coverage error * chore: switch to yarn * feat: remove node14 * Update package.json --------- Co-authored-by: hsluoyz <[email protected]>
- Loading branch information
1 parent
bd99591
commit b5a0fb5
Showing
19 changed files
with
2,223 additions
and
3,724 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,26 @@ | ||
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
ignorePatterns: ['.eslintrc.js', '**/dist/**'], | ||
plugins: ['@typescript-eslint/eslint-plugin'], | ||
extends: ['plugin:@typescript-eslint/recommended'], | ||
root: true, | ||
env: { | ||
node: true, | ||
jest: true, | ||
}, | ||
rules: { | ||
'@typescript-eslint/interface-name-prefix': 'off', | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'@typescript-eslint/explicit-module-boundary-types': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'no-extra-semi': 'off', | ||
"dot-notation": "off", | ||
"import/order": "off", | ||
"max-len": [2, { "code": 150 }], | ||
"no-useless-constructor": "off", | ||
"@typescript-eslint/no-empty-interface": "off", | ||
"arrow-parens": "off", | ||
"sort-keys": "off", | ||
"comma-dangle": "off" | ||
} | ||
} |
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 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 @@ | ||
/** @type {import('prettier').Config} */ | ||
module.exports = { | ||
"singleQuote": true, | ||
} |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export const AUTHZ_MODULE_OPTIONS = 'AUTHZ_MODULE_OPTIONS'; | ||
export const AUTHZ_ENFORCER = 'AUTHZ_ENFORCER'; | ||
export const PERMISSIONS_METADATA = '__PERMISSIONS__'; | ||
export const AUTHZ_MODULE_OPTIONS = Symbol('AUTHZ_MODULE_OPTIONS'); | ||
export const AUTHZ_ENFORCER = Symbol('AUTHZ_ENFORCER'); | ||
export const PERMISSIONS_METADATA = Symbol('__PERMISSIONS__'); |
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.