-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: bump all upgradable (dev)Dependencies except pure ESM (#437)
- Loading branch information
Showing
24 changed files
with
180 additions
and
117 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
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 @@ | ||
{ | ||
"node": "16", | ||
"sandboxes": [] | ||
} |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ node_modules | |
.nyc_output | ||
coverage | ||
dist | ||
cli-test/fixtures | ||
test/fixtures |
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
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,31 +1,34 @@ | ||
name: CI | ||
|
||
on: [push] | ||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [10.x, 12.x, 14.x] | ||
node-version: | ||
- 12 | ||
- 14 | ||
- 16 | ||
- 18 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: Install dependencies | ||
run: npm i | ||
- name: Install dependencies | ||
run: npm i | ||
|
||
- name: Lint, test, and build | ||
run: npm start validate | ||
|
||
- name: Check test coverage | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos | ||
- name: Lint, test, and build | ||
run: npm start validate | ||
|
||
- name: Check test coverage | ||
uses: codecov/codecov-action@v3 |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
>=12.22 |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ node_modules | |
.nyc_output | ||
coverage | ||
dist | ||
cli-test/fixtures | ||
test/fixtures |
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 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
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 |
---|---|---|
|
@@ -10,69 +10,73 @@ | |
"prettier-eslint": "dist/index.js" | ||
}, | ||
"scripts": { | ||
"build": "nps build", | ||
"lint": "nps lint", | ||
"prepare": "patch-package && simple-git-hooks", | ||
"start": "nps", | ||
"test": "nps test", | ||
"precommit": "lint-staged && opt --in pre-commit --exec \"npm start validate\"" | ||
"test": "nps test" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"keywords": [], | ||
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)", | ||
"maintainers": [ | ||
"Simon Fridlund <[email protected]>" | ||
"Simon Fridlund <[email protected]>", | ||
"JounQin (https://www.1stG.me) <[email protected]>" | ||
], | ||
"license": "MIT", | ||
"dependencies": { | ||
"arrify": "^2.0.1", | ||
"boolify": "^1.0.0", | ||
"camelcase-keys": "^6.0.0", | ||
"chalk": "^2.4.2", | ||
"common-tags": "^1.8.0", | ||
"core-js": "^3.1.4", | ||
"eslint": "^8.14.0", | ||
"find-up": "^4.1.0", | ||
"get-stdin": "^7.0.0", | ||
"glob": "^7.1.4", | ||
"ignore": "^5.1.2", | ||
"boolify": "^1.0.1", | ||
"camelcase-keys": "^7.0.2", | ||
"chalk": "^4.1.2", | ||
"common-tags": "^1.8.2", | ||
"core-js": "^3.24.1", | ||
"eslint": "^8.21.0", | ||
"find-up": "^5.0.0", | ||
"get-stdin": "^8.0.0", | ||
"glob": "^7.2.3", | ||
"ignore": "^5.2.0", | ||
"indent-string": "^4.0.0", | ||
"lodash.memoize": "^4.1.2", | ||
"loglevel-colored-level-prefix": "^1.0.0", | ||
"messageformat": "^2.2.1", | ||
"prettier-eslint": "^14.0.3", | ||
"rxjs": "^6.5.2", | ||
"yargs": "^13.2.4" | ||
"messageformat": "^2.3.0", | ||
"prettier-eslint": "^15.0.1", | ||
"rxjs": "^7.5.6", | ||
"yargs": "^13.1.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.4.4", | ||
"@babel/core": "^7.4.5", | ||
"@babel/node": "^7.4.5", | ||
"@babel/preset-env": "^7.4.5", | ||
"@babel/register": "^7.4.4", | ||
"acorn": "^6.1.1", | ||
"ajv": "^6.10.0", | ||
"all-contributors-cli": "^6.7.0", | ||
"babel-jest": "^24.8.0", | ||
"eslint-config-kentcdodds": "^20.2.0", | ||
"husky": "^2.4.1", | ||
"jest": "^24.8.0", | ||
"jest-cli": "^24.8.0", | ||
"lint-staged": "^8.2.1", | ||
"nps": "^5.9.5", | ||
"@babel/cli": "^7.18.10", | ||
"@babel/core": "^7.18.10", | ||
"@babel/node": "^7.18.10", | ||
"@babel/preset-env": "^7.18.10", | ||
"all-contributors-cli": "^6.20.0", | ||
"eslint-config-kentcdodds": "^20.3.1", | ||
"eslint-plugin-node-dependencies": "^0.8.0", | ||
"jest": "^28.1.3", | ||
"lint-staged": "^12.5.0", | ||
"nps": "^5.10.0", | ||
"nps-utils": "^1.7.0", | ||
"opt-cli": "^1.5.1", | ||
"pify": "^4.0.1", | ||
"rimraf": "^2.6.3", | ||
"semantic-release": "^15.13.16", | ||
"opt-cli": "^1.6.0", | ||
"patch-package": "^6.4.7", | ||
"pify": "^5.0.0", | ||
"rimraf": "^3.0.2", | ||
"semantic-release": "^17.4.7", | ||
"simple-git-hooks": "^2.8.0", | ||
"spawn-command": "0.0.2-1", | ||
"strip-indent": "^3.0.0", | ||
"yargs-parser": "^13.1.1" | ||
"yargs-parser": "^21.1.1" | ||
}, | ||
"lint-staged": { | ||
"*.+(js|json|md)": [ | ||
"node ./dist/index --write", | ||
"git add" | ||
] | ||
"*.+(js|json|md|yml)": "node ./dist/index --write" | ||
}, | ||
"prettier": { | ||
"arrowParens": "avoid", | ||
"singleQuote": true | ||
}, | ||
"simple-git-hooks": { | ||
"pre-commit": "npx lint-staged && npx opt --in pre-commit --exec \"npm start validate\"" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|
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 @@ | ||
diff --git a/node_modules/@rushstack/eslint-patch/lib/modern-module-resolution.js b/node_modules/@rushstack/eslint-patch/lib/modern-module-resolution.js | ||
index 6d665b7..888509d 100644 | ||
--- a/node_modules/@rushstack/eslint-patch/lib/modern-module-resolution.js | ||
+++ b/node_modules/@rushstack/eslint-patch/lib/modern-module-resolution.js | ||
@@ -198,7 +198,7 @@ if (!ConfigArrayFactory.__patched) { | ||
try { | ||
ModuleResolver.resolve = function (moduleName, relativeToPath) { | ||
// resolve using ctx.filePath instead of relativeToPath | ||
- return originalResolve.call(this, moduleName, ctx.filePath); | ||
+ return originalResolve.call(this, moduleName, ctx.filePath || relativeToPath); | ||
}; | ||
return originalLoadPlugin.apply(this, arguments); | ||
} |
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 @@ | ||
diff --git a/node_modules/eslint-config-kentcdodds/jest.js b/node_modules/eslint-config-kentcdodds/jest.js | ||
index a13e618..81bbc4b 100644 | ||
--- a/node_modules/eslint-config-kentcdodds/jest.js | ||
+++ b/node_modules/eslint-config-kentcdodds/jest.js | ||
@@ -30,7 +30,7 @@ try { | ||
|
||
module.exports = { | ||
env: { | ||
- 'jest/globals': true, | ||
+ jest: true, | ||
}, | ||
plugins: [ | ||
'jest', |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.