-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dep): upgrade vuln framework dep (#416)
- Loading branch information
Showing
15 changed files
with
3,239 additions
and
4,600 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,33 @@ | ||
{ | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"extends": ["plugin:@typescript-eslint/recommended"], | ||
"ignorePatterns": [ | ||
"node_modules", | ||
"dist", | ||
"build", | ||
".vscode", | ||
"*.config.js", | ||
".webpack", | ||
"_warmup", | ||
"**/*.js" | ||
], | ||
"plugins": [], | ||
"parserOptions": { | ||
"ecmaVersion": 2019, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"@typescript-eslint/no-namespace": "off", | ||
"@typescript-eslint/camelcase": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/no-empty-function": "off", | ||
"@typescript-eslint/consistent-type-assertions": "off", | ||
"@typescript-eslint/ban-ts-ignore": "off", | ||
"@typescript-eslint/no-var-requires": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"prefer-const": "off", | ||
"@typescript-eslint/ban-types": "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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Workflow releasing a new version | ||
|
||
1. Update: pull latest master with `git pull` | ||
2. Cut release: Run `npm run cut-release {version-type}`. Example: | ||
|
||
```shell | ||
# with minor | ||
npm run cut-release minor | ||
``` | ||
3. Commit: `git add .` and then `git commit chore(release): prepare release vXXX` where `XXX` is the new version | ||
4. Tag: `git tag -a XXX` where `XXX` is the version | ||
5. Push to remote repo: `git push --follow-tags` | ||
6. Publish: Run `npm publish` to release the new version |
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,7 @@ | ||
// @ts-check | ||
const path = require('path').resolve(__dirname, '../bower.json'); | ||
const npmVersion = require('../package.json').version; | ||
const bowerContent = require('../bower.json'); | ||
bowerContent.version = npmVersion; | ||
|
||
require('fs').writeFileSync(path, JSON.stringify(bowerContent, undefined, 2), { encoding: 'utf-8' }); |
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 @@ | ||
const path = require('path').resolve(__dirname, 'api.json'); | ||
const content = JSON.stringify(require('./api.json')); | ||
|
||
require('fs').writeFileSync(path, content, { encoding: 'utf-8' }); |
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.