chore: Consolidate infrastructure of webpack to ts to make it scriptable

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Iku-tursoandJanne Savolainen committed 2023-05-03 09:31:24 +03:00
1 parent f2f6cc500c
commit 9a4b02becb
24 files changed
+230 -190

No files matched your search

+15 -1
View File
@@ -12,7 +12,7 @@
"type": "git",
"url": "git+https://github.com/lensapp/lens.git"
},
"main": "index.js",
"main": "dist/index.js",
"author": {
"name": "OpenLens Authors",
"email": "info@k8slens.dev"
@@ -20,12 +20,14 @@
"license": "MIT",
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"build": "webpack",
"test:unit": "jest --coverage --runInBand"
},
"dependencies": {
"@types/webpack-env": "^1.18.0",
"css-loader": "^6.7.2",
"fork-ts-checker-webpack-plugin": "^7.3.0",
"fs-extra": "^9.0.1",
"mini-css-extract-plugin": "^2.7.3",
"sass": "^1.62.1",
"sass-loader": "^13.2.0",
@@ -34,5 +36,17 @@
"ts-loader": "^9.4.1",
"webpack": "^5.81.0",
"webpack-cli": "^4.10.0"
},
"peerDependencies": {
"@ogre-tools/fp": "^15.6",
"@ogre-tools/injectable": "^15.6.1",
"lodash": "^4.17.21"
},
"devDependencies": {
"@async-fn/jest": "^1.6.4",
"@k8slens/test-utils": "^1.0.0-alpha.1",
"@k8slens/typescript": "^6.5.0-alpha.2",
"ts-node": "^10.9.1",
"webpack-node-externals": "^3.0.0"
}
}