-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '43b57817cc040da564f71024363d63467fd10d6c' into release
- Loading branch information
Showing
76 changed files
with
9,092 additions
and
23,000 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,36 +1,36 @@ | ||
{ | ||
"name": "Node.js & TypeScript", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
// Update 'VARIANT' to pick a Node version: 10, 12, 14 | ||
"args": { "VARIANT": "14" } | ||
}, | ||
"name": "Node.js & TypeScript", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
// Update 'VARIANT' to pick a Node version: 10, 12, 14 | ||
"args": { "VARIANT": "14" } | ||
}, | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash" | ||
}, | ||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash" | ||
}, | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"dbaeumer.vscode-eslint", | ||
"ms-vscode.vscode-typescript-tslint-plugin", | ||
"coenraads.bracket-pair-colorizer", | ||
"rokoroku.vscode-theme-darcula", | ||
"salbert.comment-ts", | ||
"mhutchie.git-graph", | ||
"eamodio.gitlens", | ||
"orta.vscode-jest", | ||
"rbbit.typescript-hero", | ||
"visualstudioexptteam.vscodeintellicode" | ||
], | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"dbaeumer.vscode-eslint", | ||
"ms-vscode.vscode-typescript-tslint-plugin", | ||
"coenraads.bracket-pair-colorizer", | ||
"rokoroku.vscode-theme-darcula", | ||
"salbert.comment-ts", | ||
"mhutchie.git-graph", | ||
"eamodio.gitlens", | ||
"orta.vscode-jest", | ||
"rbbit.typescript-hero", | ||
"visualstudioexptteam.vscodeintellicode" | ||
], | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "yarn install", | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "yarn install", | ||
|
||
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "node" | ||
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "node" | ||
} |
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,125 @@ | ||
module.exports = { | ||
env: { | ||
node: true, | ||
}, | ||
ignorePatterns: ['dist/**/*.*', 'docs/**/*.*', '.eslintrc.cjs', 'webpack.config.js', 'setupJest.ts'], | ||
root: true, | ||
parserOptions: { | ||
project: 'tsconfig.eslint.json', | ||
sourceType: 'module', | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:import/typescript', | ||
'plugin:import/recommended', | ||
'prettier', | ||
], | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint'], | ||
rules: { | ||
'@typescript-eslint/consistent-type-definitions': 'error', | ||
'@typescript-eslint/dot-notation': 'off', | ||
'@typescript-eslint/indent': 'off', | ||
'@typescript-eslint/no-shadow': 'warn', | ||
'@typescript-eslint/explicit-member-accessibility': [ | ||
'off', | ||
{ | ||
accessibility: 'explicit', | ||
}, | ||
], | ||
'@typescript-eslint/member-delimiter-style': [ | ||
'error', | ||
{ | ||
multiline: { | ||
delimiter: 'semi', | ||
requireLast: true, | ||
}, | ||
singleline: { | ||
delimiter: 'semi', | ||
requireLast: false, | ||
}, | ||
}, | ||
], | ||
'@typescript-eslint/member-ordering': 'error', | ||
'@typescript-eslint/no-empty-function': 'off', | ||
'@typescript-eslint/no-empty-interface': 'error', | ||
'@typescript-eslint/no-inferrable-types': [ | ||
'error', | ||
{ | ||
ignoreParameters: true, | ||
}, | ||
], | ||
'@typescript-eslint/no-misused-new': 'error', | ||
'@typescript-eslint/no-non-null-assertion': 'off', | ||
'@typescript-eslint/no-unused-expressions': 'off', | ||
'@typescript-eslint/prefer-function-type': 'error', | ||
'@typescript-eslint/quotes': ['error', 'single'], | ||
'@typescript-eslint/semi': ['error', 'always'], | ||
'@typescript-eslint/type-annotation-spacing': 'error', | ||
'@typescript-eslint/explicit-function-return-type': ['error', { allowExpressions: true }], | ||
'@typescript-eslint/unified-signatures': 'error', | ||
'arrow-body-style': 'error', | ||
'brace-style': ['off', 'off'], | ||
'constructor-super': 'error', | ||
curly: 'warn', | ||
'eol-last': 'error', | ||
eqeqeq: ['error', 'smart'], | ||
'guard-for-in': 'off', | ||
'id-blacklist': 'off', | ||
'id-match': 'off', | ||
'import/no-deprecated': 'warn', | ||
'max-len': 'off', | ||
'no-bitwise': 'error', | ||
'no-caller': 'error', | ||
'no-console': [ | ||
'error', | ||
{ | ||
allow: [ | ||
'log', | ||
'warn', | ||
'dir', | ||
'timeLog', | ||
'assert', | ||
'clear', | ||
'count', | ||
'countReset', | ||
'group', | ||
'groupEnd', | ||
'table', | ||
'dirxml', | ||
'error', | ||
'groupCollapsed', | ||
'Console', | ||
'profile', | ||
'profileEnd', | ||
'timeStamp', | ||
'context', | ||
], | ||
}, | ||
], | ||
'no-debugger': 'error', | ||
'no-empty': 'off', | ||
'no-eval': 'error', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'no-fallthrough': 'error', | ||
'no-new-wrappers': 'error', | ||
'no-restricted-imports': ['error', 'rxjs', 'rxjs/Rx'], | ||
'no-shadow': 'off', | ||
'no-throw-literal': 'error', | ||
'no-trailing-spaces': 'error', | ||
'no-undef-init': 'error', | ||
'no-underscore-dangle': 'off', | ||
'no-unused-labels': 'error', | ||
'no-var': 'error', | ||
'prefer-const': 'error', | ||
radix: 'error', | ||
'spaced-comment': [ | ||
'error', | ||
'always', | ||
{ | ||
markers: ['/'], | ||
}, | ||
], | ||
}, | ||
}; |
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,30 +1,30 @@ | ||
name: Deploy | ||
|
||
on: | ||
push: | ||
branches: [ release ] | ||
push: | ||
branches: [release] | ||
|
||
workflow_dispatch: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
environment: NPM | ||
steps: | ||
- uses: actions/checkout@v2 | ||
id: checkout-repo | ||
name: Checkout Repository | ||
|
||
- uses: actions/setup-node@v2 | ||
name: Setup node | ||
with: | ||
node-version: '16.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
build: | ||
runs-on: ubuntu-latest | ||
environment: NPM | ||
steps: | ||
- uses: actions/checkout@v4 | ||
id: checkout-repo | ||
name: Checkout Repository | ||
|
||
- run: npm install | ||
name: Install dependencies | ||
- uses: actions/setup-node@v3 | ||
name: Setup node | ||
with: | ||
node-version: '18.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- run: npm publish --access public --verbose | ||
name: Deploy | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
- run: yarn | ||
name: Install dependencies | ||
|
||
- run: npm publish --access public --verbose | ||
name: Deploy | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
Oops, something went wrong.