From 2204a4f18d2bd0a878b63fd4ff4af0098633a409 Mon Sep 17 00:00:00 2001 From: Janne Savolainen Date: Tue, 2 May 2023 11:50:55 +0300 Subject: [PATCH] chore: Consolidate more packages to use shared build script Signed-off-by: Janne Savolainen --- package-lock.json | 8 ++++++-- packages/ui-components/error-boundary/package.json | 5 +++-- packages/ui-components/resizing-anchor/package.json | 5 +++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 461027fb92..e0bf02dcac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37415,6 +37415,7 @@ "@async-fn/jest": "^1.6.4", "@k8slens/eslint-config": "^6.5.0-alpha.2", "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.0", + "@k8slens/webpack": "^6.5.0-alpha.4", "@testing-library/react": "^12.1.5", "@testing-library/user-event": "^13.5.0" }, @@ -37441,7 +37442,8 @@ "devDependencies": { "@async-fn/jest": "^1.6.4", "@k8slens/eslint-config": "^6.5.0-alpha.2", - "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.0" + "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.0", + "@k8slens/webpack": "^6.5.0-alpha.4" }, "peerDependencies": { "@k8slens/feature-core": "^6.5.0-alpha.0", @@ -40688,6 +40690,7 @@ "@async-fn/jest": "^1.6.4", "@k8slens/eslint-config": "^6.5.0-alpha.2", "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.0", + "@k8slens/webpack": "^6.5.0-alpha.4", "@testing-library/react": "^12.1.5", "@testing-library/user-event": "^13.5.0" } @@ -41257,7 +41260,8 @@ "requires": { "@async-fn/jest": "^1.6.4", "@k8slens/eslint-config": "^6.5.0-alpha.2", - "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.0" + "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.0", + "@k8slens/webpack": "^6.5.0-alpha.4" } }, "@k8slens/resource-templates": { diff --git a/packages/ui-components/error-boundary/package.json b/packages/ui-components/error-boundary/package.json index ff88f6be45..42669cbca1 100644 --- a/packages/ui-components/error-boundary/package.json +++ b/packages/ui-components/error-boundary/package.json @@ -24,7 +24,7 @@ "license": "MIT", "homepage": "https://github.com/lensapp/lens", "scripts": { - "build": "webpack", + "build": "lens-webpack-build", "lint": "lens-lint", "lint:fix": "lens-lint --fix" }, @@ -48,6 +48,7 @@ "@k8slens/eslint-config": "^6.5.0-alpha.2", "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.0", "@testing-library/react": "^12.1.5", - "@testing-library/user-event": "^13.5.0" + "@testing-library/user-event": "^13.5.0", + "@k8slens/webpack": "^6.5.0-alpha.4" } } diff --git a/packages/ui-components/resizing-anchor/package.json b/packages/ui-components/resizing-anchor/package.json index cd0e102edd..0b64fd1929 100644 --- a/packages/ui-components/resizing-anchor/package.json +++ b/packages/ui-components/resizing-anchor/package.json @@ -24,7 +24,7 @@ "license": "MIT", "homepage": "https://github.com/lensapp/lens", "scripts": { - "build": "webpack", + "build": "lens-webpack-build", "lint": "lens-lint", "lint:fix": "lens-lint --fix" }, @@ -44,6 +44,7 @@ "devDependencies": { "@async-fn/jest": "^1.6.4", "@k8slens/eslint-config": "^6.5.0-alpha.2", - "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.0" + "@k8slens/react-testing-library-discovery": "^1.0.0-alpha.0", + "@k8slens/webpack": "^6.5.0-alpha.4" } }