diff --git a/@alias/commitlint-config-angular/package.json b/@alias/commitlint-config-angular/package.json index 13eff8ab7b..4c7e3a4de5 100644 --- a/@alias/commitlint-config-angular/package.json +++ b/@alias/commitlint-config-angular/package.json @@ -25,6 +25,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "dependencies": { "@commitlint/config-angular": "^8.3.4" }, diff --git a/@alias/commitlint-config-lerna-scopes/package.json b/@alias/commitlint-config-lerna-scopes/package.json index 2c9a95054c..9fb506eb8c 100644 --- a/@alias/commitlint-config-lerna-scopes/package.json +++ b/@alias/commitlint-config-lerna-scopes/package.json @@ -25,6 +25,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "dependencies": { "@commitlint/config-lerna-scopes": "^8.3.4" }, diff --git a/@alias/commitlint-config-patternplate/package.json b/@alias/commitlint-config-patternplate/package.json index 2790b34a6a..ff4b2f6d50 100644 --- a/@alias/commitlint-config-patternplate/package.json +++ b/@alias/commitlint-config-patternplate/package.json @@ -25,6 +25,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "dependencies": { "@commitlint/config-patternplate": "^8.3.4", "@commitlint/utils": "^8.3.4" diff --git a/@alias/commitlint/package.json b/@alias/commitlint/package.json index 959d93da7e..e605120c04 100644 --- a/@alias/commitlint/package.json +++ b/@alias/commitlint/package.json @@ -13,7 +13,7 @@ "pkg": "pkg-check --skip-main" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/cli/package.json b/@commitlint/cli/package.json index 51b6ef6f28..3b24c8e877 100644 --- a/@commitlint/cli/package.json +++ b/@commitlint/cli/package.json @@ -23,7 +23,7 @@ ] }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/config-angular-type-enum/package.json b/@commitlint/config-angular-type-enum/package.json index 5485a90a44..5f26b5dde7 100644 --- a/@commitlint/config-angular-type-enum/package.json +++ b/@commitlint/config-angular-type-enum/package.json @@ -25,6 +25,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "devDependencies": { "@commitlint/utils": "^8.3.4" } diff --git a/@commitlint/config-angular/package.json b/@commitlint/config-angular/package.json index f008abebf5..eef237bf34 100644 --- a/@commitlint/config-angular/package.json +++ b/@commitlint/config-angular/package.json @@ -25,6 +25,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "devDependencies": { "@commitlint/utils": "^8.3.4" }, diff --git a/@commitlint/config-conventional/package.json b/@commitlint/config-conventional/package.json index 7693571f52..75832c49e8 100644 --- a/@commitlint/config-conventional/package.json +++ b/@commitlint/config-conventional/package.json @@ -28,6 +28,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "devDependencies": { "@commitlint/utils": "^8.3.4" }, diff --git a/@commitlint/config-lerna-scopes/package.json b/@commitlint/config-lerna-scopes/package.json index cea5d9003d..d4c660f1ba 100644 --- a/@commitlint/config-lerna-scopes/package.json +++ b/@commitlint/config-lerna-scopes/package.json @@ -28,6 +28,9 @@ "peerDependencies": { "lerna": "^3.20.2" }, + "engines": { + "node": ">=8" + }, "dependencies": { "import-from": "3.0.0", "resolve-pkg": "2.0.0", diff --git a/@commitlint/config-patternplate/package.json b/@commitlint/config-patternplate/package.json index 57e9029d47..2f2fcbc36f 100644 --- a/@commitlint/config-patternplate/package.json +++ b/@commitlint/config-patternplate/package.json @@ -25,6 +25,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "dependencies": { "@commitlint/config-angular": "^8.3.4", "globby": "^11.0.0", diff --git a/@commitlint/core/package.json b/@commitlint/core/package.json index f009181724..bb45ed41a3 100644 --- a/@commitlint/core/package.json +++ b/@commitlint/core/package.json @@ -10,7 +10,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/ensure/package.json b/@commitlint/ensure/package.json index 6338a403d9..0ad403e3eb 100644 --- a/@commitlint/ensure/package.json +++ b/@commitlint/ensure/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/execute-rule/package.json b/@commitlint/execute-rule/package.json index a775c28083..0ddee8a14f 100644 --- a/@commitlint/execute-rule/package.json +++ b/@commitlint/execute-rule/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/format/package.json b/@commitlint/format/package.json index 56488ee01a..d8d8201f69 100644 --- a/@commitlint/format/package.json +++ b/@commitlint/format/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/is-ignored/package.json b/@commitlint/is-ignored/package.json index 5662e358dd..fcaa632965 100644 --- a/@commitlint/is-ignored/package.json +++ b/@commitlint/is-ignored/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/lint/package.json b/@commitlint/lint/package.json index 02b44482f2..4b7b230e3a 100644 --- a/@commitlint/lint/package.json +++ b/@commitlint/lint/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index b96658fc62..67b7fb7674 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check --skip-import" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/message/package.json b/@commitlint/message/package.json index df9545284b..7bbb92e8fe 100644 --- a/@commitlint/message/package.json +++ b/@commitlint/message/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/parse/package.json b/@commitlint/parse/package.json index c28639ba83..8fc6cd9472 100644 --- a/@commitlint/parse/package.json +++ b/@commitlint/parse/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/prompt-cli/package.json b/@commitlint/prompt-cli/package.json index 7c3bb148bf..7ff2ed2775 100644 --- a/@commitlint/prompt-cli/package.json +++ b/@commitlint/prompt-cli/package.json @@ -27,6 +27,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "devDependencies": { "@commitlint/test": "8.2.0", "@commitlint/utils": "^8.3.4", diff --git a/@commitlint/prompt/package.json b/@commitlint/prompt/package.json index f9ea4cdf3d..b267f5841d 100644 --- a/@commitlint/prompt/package.json +++ b/@commitlint/prompt/package.json @@ -41,6 +41,9 @@ "url": "https://github.com/conventional-changelog/commitlint/issues" }, "homepage": "https://github.com/conventional-changelog/commitlint#readme", + "engines": { + "node": ">=8" + }, "devDependencies": { "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", diff --git a/@commitlint/read/package.json b/@commitlint/read/package.json index 27ee2730c7..7a5b38f748 100644 --- a/@commitlint/read/package.json +++ b/@commitlint/read/package.json @@ -17,7 +17,7 @@ ] }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/resolve-extends/package.json b/@commitlint/resolve-extends/package.json index c2260d53a6..b1328b8642 100644 --- a/@commitlint/resolve-extends/package.json +++ b/@commitlint/resolve-extends/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/rules/package.json b/@commitlint/rules/package.json index e2dd806fcb..a95fc8bf49 100644 --- a/@commitlint/rules/package.json +++ b/@commitlint/rules/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/to-lines/package.json b/@commitlint/to-lines/package.json index 6cb71c172a..1863f19e10 100644 --- a/@commitlint/to-lines/package.json +++ b/@commitlint/to-lines/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/top-level/package.json b/@commitlint/top-level/package.json index beaec1f4f9..194716fab2 100644 --- a/@commitlint/top-level/package.json +++ b/@commitlint/top-level/package.json @@ -12,7 +12,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/travis-cli/package.json b/@commitlint/travis-cli/package.json index e8d6e0bbf1..830de1b615 100644 --- a/@commitlint/travis-cli/package.json +++ b/@commitlint/travis-cli/package.json @@ -21,7 +21,7 @@ ] }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@commitlint/types/package.json b/@commitlint/types/package.json index 12b349b704..412cc10620 100644 --- a/@commitlint/types/package.json +++ b/@commitlint/types/package.json @@ -11,7 +11,7 @@ "pkg": "pkg-check" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@packages/babel-preset-commitlint/package.json b/@packages/babel-preset-commitlint/package.json index cce7f975a0..5e22fe433c 100644 --- a/@packages/babel-preset-commitlint/package.json +++ b/@packages/babel-preset-commitlint/package.json @@ -7,7 +7,7 @@ "index.js" ], "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@packages/test/package.json b/@packages/test/package.json index 5563b4ba9e..1dfacc6b26 100644 --- a/@packages/test/package.json +++ b/@packages/test/package.json @@ -8,7 +8,7 @@ "lib/" ], "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/@packages/utils/package.json b/@packages/utils/package.json index b6e753ce46..c04d775bfb 100644 --- a/@packages/utils/package.json +++ b/@packages/utils/package.json @@ -15,7 +15,7 @@ "pkg": "node pkg-check.js --skip-main" }, "engines": { - "node": ">=4" + "node": ">=8" }, "repository": { "type": "git", diff --git a/package.json b/package.json index 39d61f8d5f..a7f6daf8bb 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@packages/*" ], "engines": { - "node": ">=6" + "node": ">=8" }, "repository": { "type": "git", diff --git a/tsconfig.shared.json b/tsconfig.shared.json index d86bf1bb65..9567130005 100644 --- a/tsconfig.shared.json +++ b/tsconfig.shared.json @@ -1,8 +1,7 @@ { "compilerOptions": { - "lib": [ - "es2015" - ], + "target": "ES2017", + "lib": ["es2017"], "declaration": true, "declarationMap": true, "sourceMap": true,