Skip to content

Commit

Permalink
chore: update dependency jest to v26 (#1933)
Browse files Browse the repository at this point in the history
* chore: update dependency jest to v26

* fix(test): changed variable declaration to fix jest testrunner

Changed packageDir declaration from const to var to avoid babel parsing throwing an error.

* chore: switch to engine node v10 and remove fastAsync

* chore: apply aramanos feedback

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Scott Cabot <[email protected]>
Co-authored-by: escapedcat <[email protected]>
  • Loading branch information
4 people authored Jan 6, 2021
1 parent 21b719d commit 289a265
Show file tree
Hide file tree
Showing 36 changed files with 852 additions and 778 deletions.
2 changes: 1 addition & 1 deletion @alias/commitlint-config-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"dependencies": {
"@commitlint/config-angular": "^11.0.0"
Expand Down
2 changes: 1 addition & 1 deletion @alias/commitlint-config-lerna-scopes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"dependencies": {
"@commitlint/config-lerna-scopes": "^11.0.0"
Expand Down
2 changes: 1 addition & 1 deletion @alias/commitlint-config-patternplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"dependencies": {
"@commitlint/config-patternplate": "^11.0.0"
Expand Down
2 changes: 1 addition & 1 deletion @alias/commitlint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"pkg": "pkg-check --skip-main"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-angular-type-enum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"devDependencies": {
"@commitlint/utils": "^11.0.0"
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"devDependencies": {
"@commitlint/utils": "^11.0.0"
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-conventional/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"devDependencies": {
"@commitlint/lint": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-lerna-scopes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"lerna": "^3.22.1"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"dependencies": {
"import-from": "3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/config-patternplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"dependencies": {
"@commitlint/config-angular": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/ensure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/execute-rule/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/format/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/is-ignored/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/load/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/message/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/parse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/prompt-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"devDependencies": {
"@commitlint/test": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/prompt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"homepage": "https://github.com/conventional-changelog/commitlint#readme",
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"devDependencies": {
"@commitlint/utils": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/read/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check --skip-import"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/resolve-extends/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/rules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/to-lines/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/top-level/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
Empty file modified @commitlint/travis-cli/cli.js
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion @commitlint/travis-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"pkg": "pkg-check --skip-main"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @commitlint/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"pkg": "pkg-check"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
5 changes: 1 addition & 4 deletions @packages/babel-preset-commitlint/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const fastAsync = require('fast-async');
const env = require('@babel/preset-env');
const jsx = require('@babel/plugin-transform-react-jsx');
const commonjs = require('@babel/plugin-transform-modules-commonjs');
Expand All @@ -10,7 +9,6 @@ function preset() {
const plugins = [
commonjs,
[jsx, {pragma: 'h'}],
[fastAsync, {spec: true}],
[transformRuntime, {regenerator: false}],
];

Expand All @@ -26,8 +24,7 @@ function preset() {
env,
{
debug: process.env.DEBUG === 'true',
exclude: ['transform-regenerator', 'transform-async-to-generator'],
targets: {node: '6'},
targets: {node: '10'},
modules: false,
},
],
Expand Down
5 changes: 2 additions & 3 deletions @packages/babel-preset-commitlint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"index.js"
],
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -36,8 +36,7 @@
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"@babel/plugin-transform-react-jsx": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"fast-async": "^7.0.6"
"@babel/preset-env": "^7.11.5"
},
"gitHead": "71f0194f33943954a8dac1c458be47e5049717cd"
}
2 changes: 1 addition & 1 deletion @packages/test-environment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lib/"
],
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lib/"
],
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion @packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"pkg": "node pkg-check.js --skip-main"
},
"engines": {
"node": ">=v10.22.1"
"node": ">=v10"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@packages/*"
],
"engines": {
"node": ">=10.22.1"
"node": ">=10"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -88,7 +88,7 @@
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^24.0.0",
"husky": "4.3.6",
"jest": "25.1.0",
"jest": "26.4.2",
"lerna": "^3.22.1",
"lerna-v3": "npm:lerna@3",
"lint-staged": "10.5.3",
Expand Down
Loading

0 comments on commit 289a265

Please sign in to comment.