Skip to content

Commit

Permalink
Move the @types/node dependency to an optional peerDependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
iclanton committed Jan 30, 2023
1 parent be9637e commit f722905
Show file tree
Hide file tree
Showing 20 changed files with 194 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Move the @types/node dependency to an optional peerDependency.",
"type": "minor",
"packageName": "@rushstack/module-minifier"
}
],
"packageName": "@rushstack/module-minifier",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Move the @types/node dependency to an optional peerDependency.",
"type": "minor",
"packageName": "@rushstack/node-core-library"
}
],
"packageName": "@rushstack/node-core-library",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Move the @types/node dependency to an optional peerDependency.",
"type": "minor",
"packageName": "@rushstack/terminal"
}
],
"packageName": "@rushstack/terminal",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Move the @types/node dependency to an optional peerDependency.",
"type": "minor",
"packageName": "@rushstack/typings-generator"
}
],
"packageName": "@rushstack/typings-generator",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Move the @types/node dependency to an optional peerDependency.",
"type": "minor",
"packageName": "@rushstack/webpack-preserve-dynamic-require-plugin"
}
],
"packageName": "@rushstack/webpack-preserve-dynamic-require-plugin",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Move the @types/node dependency to an optional peerDependency.",
"type": "minor",
"packageName": "@rushstack/webpack4-localization-plugin"
}
],
"packageName": "@rushstack/webpack4-localization-plugin",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Move the @types/node dependency to an optional peerDependency.",
"type": "minor",
"packageName": "@rushstack/webpack4-module-minifier-plugin"
}
],
"packageName": "@rushstack/webpack4-module-minifier-plugin",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Move the @types/node dependency to an optional peerDependency.",
"type": "minor",
"packageName": "@rushstack/webpack5-localization-plugin"
}
],
"packageName": "@rushstack/webpack5-localization-plugin",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Move the @types/node dependency to an optional peerDependency.",
"type": "minor",
"packageName": "@rushstack/webpack5-module-minifier-plugin"
}
],
"packageName": "@rushstack/webpack5-module-minifier-plugin",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Move the @types/node dependency to an optional peerDependency.",
"type": "minor",
"packageName": "@rushstack/worker-pool"
}
],
"packageName": "@rushstack/worker-pool",
"email": "iclanton@users.noreply.github.com"
}
12 changes: 10 additions & 2 deletions libraries/module-minifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"_phase:test": "heft test --no-build"
},
"dependencies": {
"@types/node": "12.20.24",
"@rushstack/worker-pool": "workspace:*",
"serialize-javascript": "6.0.0",
"source-map": "~0.7.3",
Expand All @@ -27,6 +26,15 @@
"@rushstack/heft": "workspace:*",
"@rushstack/heft-node-rig": "workspace:*",
"@types/heft-jest": "1.0.1",
"@types/serialize-javascript": "5.0.2"
"@types/serialize-javascript": "5.0.2",
"@types/node": "12.20.24"
},
"peerDependencies": {
"@types/node": "^12.20.24"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
}
}
}
12 changes: 10 additions & 2 deletions libraries/node-core-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"_phase:test": "heft test --no-build"
},
"dependencies": {
"@types/node": "12.20.24",
"colors": "~1.2.1",
"fs-extra": "~7.0.1",
"import-lazy": "~4.0.0",
Expand All @@ -33,6 +32,15 @@
"@types/heft-jest": "1.0.1",
"@types/jju": "1.4.1",
"@types/resolve": "1.20.2",
"@types/semver": "7.3.5"
"@types/semver": "7.3.5",
"@types/node": "12.20.24"
},
"peerDependencies": {
"@types/node": "^12.20.24"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
}
}
}
12 changes: 10 additions & 2 deletions libraries/terminal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
},
"dependencies": {
"@rushstack/node-core-library": "workspace:*",
"@types/node": "12.20.24",
"wordwrap": "~1.0.0"
},
"devDependencies": {
Expand All @@ -26,6 +25,15 @@
"@rushstack/heft-node-rig": "workspace:*",
"@types/heft-jest": "1.0.1",
"@types/wordwrap": "~1.0.0",
"colors": "~1.2.1"
"colors": "~1.2.1",
"@types/node": "12.20.24"
},
"peerDependencies": {
"@types/node": "^12.20.24"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
}
}
}
12 changes: 10 additions & 2 deletions libraries/typings-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,22 @@
},
"dependencies": {
"@rushstack/node-core-library": "workspace:*",
"@types/node": "12.20.24",
"chokidar": "~3.4.0",
"glob": "~7.0.5"
},
"devDependencies": {
"@rushstack/eslint-config": "workspace:*",
"@rushstack/heft": "workspace:*",
"@rushstack/heft-node-rig": "workspace:*",
"@types/glob": "7.1.1"
"@types/glob": "7.1.1",
"@types/node": "12.20.24"
},
"peerDependencies": {
"@types/node": "^12.20.24"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
}
}
}
14 changes: 10 additions & 4 deletions libraries/worker-pool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@
"_phase:build": "heft build --clean",
"_phase:test": "heft test --no-build"
},
"dependencies": {
"@types/node": "12.20.24"
},
"devDependencies": {
"@rushstack/eslint-config": "workspace:*",
"@rushstack/heft": "workspace:*",
"@rushstack/heft-node-rig": "workspace:*",
"@types/heft-jest": "1.0.1"
"@types/heft-jest": "1.0.1",
"@types/node": "12.20.24"
},
"peerDependencies": {
"@types/node": "^12.20.24"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
}
}
}
1 change: 0 additions & 1 deletion webpack/preserve-dynamic-require-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"_phase:build": "heft build --clean",
"_phase:test": "heft test --no-build"
},
"dependencies": {},
"devDependencies": {
"@rushstack/eslint-config": "workspace:*",
"@rushstack/heft": "workspace:*",
Expand Down
10 changes: 7 additions & 3 deletions webpack/webpack4-localization-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,23 @@
"peerDependencies": {
"@rushstack/set-webpack-public-path-plugin": "^3.3.86",
"@types/webpack": "^4.39.0",
"webpack": "^4.31.0"
"webpack": "^4.31.0",
"@types/node": "^12.20.24"
},
"peerDependenciesMeta": {
"@rushstack/set-webpack-public-path-plugin": {
"optional": true
},
"@types/webpack": {
"optional": true
},
"@types/node": {
"optional": true
}
},
"dependencies": {
"@rushstack/localization-utilities": "workspace:*",
"@rushstack/node-core-library": "workspace:*",
"@types/node": "12.20.24",
"@types/tapable": "1.0.6",
"loader-utils": "1.4.2",
"lodash": "~4.17.15",
Expand All @@ -45,6 +48,7 @@
"@types/lodash": "4.14.116",
"@types/minimatch": "3.0.5",
"@types/webpack": "4.41.32",
"webpack": "~4.44.2"
"webpack": "~4.44.2",
"@types/node": "12.20.24"
}
}
10 changes: 7 additions & 3 deletions webpack/webpack4-module-minifier-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,23 @@
"@types/webpack": "*",
"@types/webpack-sources": "*",
"webpack": "^4.31.0",
"webpack-sources": "~1.4.3"
"webpack-sources": "~1.4.3",
"@types/node": "^12.20.24"
},
"peerDependenciesMeta": {
"@types/webpack": {
"optional": true
},
"@types/webpack-sources": {
"optional": true
},
"@types/node": {
"optional": true
}
},
"dependencies": {
"@rushstack/module-minifier": "workspace:*",
"@rushstack/worker-pool": "workspace:*",
"@types/node": "12.20.24",
"@types/tapable": "1.0.6",
"tapable": "1.1.3"
},
Expand All @@ -47,7 +50,8 @@
"@types/webpack": "4.41.32",
"@types/webpack-sources": "1.4.2",
"webpack": "~4.44.2",
"webpack-sources": "~1.4.3"
"webpack-sources": "~1.4.3",
"@types/node": "12.20.24"
},
"sideEffects": [
"./lib/OverrideWebpackIdentifierAllocation"
Expand Down
14 changes: 10 additions & 4 deletions webpack/webpack5-localization-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,25 @@
"_phase:test": "heft test --no-build"
},
"peerDependencies": {
"webpack": "^5.68.0"
"webpack": "^5.68.0",
"@types/node": "^12.20.24"
},
"dependencies": {
"@rushstack/localization-utilities": "workspace:*",
"@rushstack/node-core-library": "workspace:*",
"@types/node": "12.20.24"
"@rushstack/node-core-library": "workspace:*"
},
"devDependencies": {
"@rushstack/eslint-config": "workspace:*",
"@rushstack/heft": "workspace:*",
"@rushstack/heft-node-rig": "workspace:*",
"@types/heft-jest": "1.0.1",
"memfs": "3.4.3",
"webpack": "~5.75.0"
"webpack": "~5.75.0",
"@types/node": "12.20.24"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
}
}
}
14 changes: 10 additions & 4 deletions webpack/webpack5-module-minifier-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
},
"peerDependencies": {
"@rushstack/module-minifier": "*",
"webpack": "^5.68.0"
"webpack": "^5.68.0",
"@types/node": "^12.20.24"
},
"dependencies": {
"@rushstack/worker-pool": "workspace:*",
"@types/node": "12.20.24",
"@types/tapable": "1.0.6",
"@types/estree": "0.0.50",
"tapable": "2.2.1"
Expand All @@ -36,7 +36,13 @@
"@rushstack/module-minifier": "workspace:*",
"@types/heft-jest": "1.0.1",
"memfs": "3.4.3",
"webpack": "~5.75.0"
"webpack": "~5.75.0",
"@types/node": "12.20.24"
},
"sideEffects": false
"sideEffects": false,
"peerDependenciesMeta": {
"@types/node": {
"optional": true
}
}
}

0 comments on commit f722905

Please sign in to comment.