Skip to content

Commit fcaee8b

Browse files
committed
refactor: remove unused dependencies and targets
Remove `serve` webpack script from client and server packages. Remove dev dependencies: "merge-options": "^3.0.4", "rimraf": "^3.0.2", "webpack": "^5.75.0", "webpack-cli": "^5.0.1"
1 parent 622cad7 commit fcaee8b

File tree

4 files changed

+2
-193
lines changed

4 files changed

+2
-193
lines changed

package-lock.json

Lines changed: 1 addition & 166 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,13 @@
113113
"jest": "28.1.1",
114114
"jest-environment-jsdom": "28.1.1",
115115
"js-yaml": "^4.1.0",
116-
"merge-options": "^3.0.4",
117116
"nx": "15.5.3",
118117
"prettier": "^2.8.3",
119-
"rimraf": "^3.0.2",
120118
"semantic-release": "^20.1.0",
121119
"ts-jest": "28.0.5",
122120
"ts-loader": "^9.4.2",
123121
"ts-node": "10.9.1",
124-
"typescript": "^4.9.4",
125-
"webpack": "^5.75.0",
126-
"webpack-cli": "^5.0.1"
122+
"typescript": "^4.9.4"
127123
},
128124
"scripts": {
129125
"prepare": "husky install"

packages/client/project.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@
2222
"production": {}
2323
}
2424
},
25-
"serve": {
26-
"executor": "@nrwl/webpack:dev-server",
27-
"options": {
28-
"buildTarget": "client:build"
29-
},
30-
"configurations": {
31-
"production": {
32-
"buildTarget": "client:build:production"
33-
}
34-
}
35-
},
3625
"watch": {
3726
"executor": "@nrwl/js:tsc",
3827
"outputs": ["{options.outputPath}"],

packages/server/project.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@
2222
"production": {}
2323
}
2424
},
25-
"serve": {
26-
"executor": "@nrwl/webpack:dev-server",
27-
"options": {
28-
"buildTarget": "server:build"
29-
},
30-
"configurations": {
31-
"production": {
32-
"buildTarget": "server:build:production"
33-
}
34-
}
35-
},
3625
"watch": {
3726
"executor": "@nrwl/js:tsc",
3827
"outputs": ["{options.outputPath}"],

0 commit comments

Comments
 (0)