1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

add webpack-env types to core

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2023-01-11 15:30:47 +02:00
parent 8023d0f79f
commit b8befde2f4
2 changed files with 7 additions and 0 deletions

View File

@ -47,6 +47,7 @@
"author": "OpenLens Authors <info@k8slens.dev>", "author": "OpenLens Authors <info@k8slens.dev>",
"scripts": { "scripts": {
"build": "env NODE_ENV=production yarn run webpack --config webpack/library-bundle.ts", "build": "env NODE_ENV=production yarn run webpack --config webpack/library-bundle.ts",
"clean": "rm -rf dist webpack/build/ static/build",
"compile:node-fetch": "yarn run webpack --config webpack/node-fetch.ts", "compile:node-fetch": "yarn run webpack --config webpack/node-fetch.ts",
"prepare": "yarn run compile:node-fetch", "prepare": "yarn run compile:node-fetch",
"build:linux": "yarn run compile && electron-builder --linux --dir", "build:linux": "yarn run compile && electron-builder --linux --dir",
@ -246,6 +247,7 @@
"@types/uuid": "^8.3.4", "@types/uuid": "^8.3.4",
"@types/webpack": "^5.28.0", "@types/webpack": "^5.28.0",
"@types/webpack-dev-server": "^4.7.2", "@types/webpack-dev-server": "^4.7.2",
"@types/webpack-env": "^1.18.0",
"@types/webpack-node-externals": "^2.5.3", "@types/webpack-node-externals": "^2.5.3",
"@typescript-eslint/eslint-plugin": "^5.48.1", "@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1", "@typescript-eslint/parser": "^5.48.1",

View File

@ -2685,6 +2685,11 @@
dependencies: dependencies:
webpack-dev-server "*" webpack-dev-server "*"
"@types/webpack-env@^1.18.0":
version "1.18.0"
resolved "https://registry.yarnpkg.com/@types/webpack-env/-/webpack-env-1.18.0.tgz#ed6ecaa8e5ed5dfe8b2b3d00181702c9925f13fb"
integrity sha512-56/MAlX5WMsPVbOg7tAxnYvNYMMWr/QJiIp6BxVSW3JJXUVzzOn64qW8TzQyMSqSUFM2+PVI4aUHcHOzIz/1tg==
"@types/webpack-node-externals@^2.5.3": "@types/webpack-node-externals@^2.5.3":
version "2.5.3" version "2.5.3"
resolved "https://registry.yarnpkg.com/@types/webpack-node-externals/-/webpack-node-externals-2.5.3.tgz#921783aadda1fe686db0a70e20e4b9548b5a3cef" resolved "https://registry.yarnpkg.com/@types/webpack-node-externals/-/webpack-node-externals-2.5.3.tgz#921783aadda1fe686db0a70e20e4b9548b5a3cef"