Skip to content

Commit

Permalink
WIP cleanup dependencies, remove webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheeo committed Sep 10, 2024
1 parent 8b0f745 commit 9089d64
Show file tree
Hide file tree
Showing 9 changed files with 300 additions and 347 deletions.
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
nmHoistingLimits: workspaces

nodeLinker: node-modules
nodeLinker: pnpm
checksumBehavior: update

plugins:
Expand Down
15 changes: 3 additions & 12 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,11 @@
]
},
"dependencies": {
"@babel/core": "^7.17.10",
"@babel/plugin-transform-runtime": "^7.18.0",
"@babel/preset-env": "^7.17.10",
"@ckitching/typescript-is": "^0.1.21",
"babel-loader": "^8.2.5",
"es-abstract": "^1.21.2",
"is-typed-array": "^1.1.10",
"live-video-streamer-common": "workspace:^",
"ts-loader": "^9.3.0",
"ts-patch": "^2.0.1",
"typescript": "=4.7.3",
"typescript-declaration-webpack-plugin": "^0.2.2",
"util": "^0.12.5",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
"util": "^0.12.5"
},
"devDependencies": {
"@types/jest": "^27.5.1",
Expand All @@ -49,6 +39,7 @@
"eslint": "^8.15.0",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"ts-jest": "^28.0.2"
"ts-jest": "^28.0.2",
"typescript": "^5.6.2"
}
}
5 changes: 2 additions & 3 deletions common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"test": "yarn jest --clearCache && jest --config test/jest.config.js \"$@\""
},
"dependencies": {
"@types/node": "^17.0.34",
"typescript": "^4.6.4"
"@types/node": "^17.0.34"
},
"devDependencies": {
"@types/jest": "^27.5.1",
Expand All @@ -23,6 +22,6 @@
"eslint": "^8.15.0",
"jest": "^28.1.0",
"ts-jest": "^28.0.2",
"typescript": "=4.7.3"
"typescript": "^5.6.2"
}
}
26 changes: 0 additions & 26 deletions cra-build-helper.sh

This file was deleted.

14 changes: 7 additions & 7 deletions demo-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"private": true,
"version": "0.0.0",
"scripts": {
"bundle": "GENERATE_SOURCEMAP=false ../cra-build-helper.sh build \"$@\"",
"bundle-dev": "../cra-build-helper.sh build \"$@\"",
"bundle": "",
"bundle-dev": "",
"clean": "rm -rf build node_modules",
"lint": "",
"start": "../cra-build-helper.sh start \"$@\""
"start": ""
},
"browserslist": {
"production": [
Expand All @@ -37,13 +37,13 @@
"react-dom": "^18.2.0",
"react-router-dom": "^6.10.0",
"react-scripts": "5.0.1",
"react-syntax-highlighter": "^15.5.0",
"ts-patch": "^2.1.0",
"typescript": "=4.7.3"
"react-syntax-highlighter": "^15.5.0"
},
"devDependencies": {
"@types/react-syntax-highlighter": "^15.5.6",
"sass": "^1.60.0"
"sass": "^1.60.0",
"ts-patch": "^2.1.0",
"typescript": "^5.6.2"
},
"homepage": "/"
}
12 changes: 3 additions & 9 deletions dev-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,13 @@
]
},
"dependencies": {
"@babel/core": "^7.17.10",
"babel-loader": "^8.2.5",
"chart.js": "^4.2.1",
"copy-webpack-plugin": "^10.2.4",
"live-video-streamer-client": "workspace:^",
"ts-loader": "^9.3.0",
"typescript": "=4.7.3",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
"live-video-streamer-client": "workspace:^"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"eslint": "^8.15.0"
"eslint": "^8.15.0",
"typescript": "^5.6.2"
}
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"settings-ui"
],
"scripts": {
"tsc": "yarn workspaces foreach run tsc --noEmit",
"bundle": "yarn workspaces foreach run bundle",
"bundle-dev": "yarn workspaces foreach run bundle-dev",
"lint": "yarn workspaces foreach -p run lint",
Expand All @@ -22,9 +23,10 @@
},
"packageManager": "[email protected]",
"devDependencies": {
"esbuild": "^0.23.1",
"ts-patch": "^2.0.1",
"typedoc": "^0.23.28",
"typedoc-plugin-markdown": "^3.14.0",
"typescript": "=4.7.3"
"typescript": "^5.6.2"
}
}
7 changes: 3 additions & 4 deletions settings-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"homepage": ".",
"private": true,
"dependencies": {
"@ckitching/typescript-is": "^0.1.21",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
Expand All @@ -27,11 +26,11 @@
"react-i18next": "^12.2.0",
"react-scripts": "5.0.1",
"sass": "^1.59.3",
"ts-loader": "^9.4.2",
"ts-patch": "^2.1.0",
"typescript": "=4.7.3",
"util": "^0.12.5"
},
"devDependencies": {
"typescript": "^5.6.2"
},
"scripts": {
"clean": "rm -rf build node_modules",
"start": "../cra-build-helper.sh start \"$@\"",
Expand Down
Loading

0 comments on commit 9089d64

Please sign in to comment.