mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Only rebuild the package that changes
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
d3f28c7b5f
commit
faf807f435
@ -17,13 +17,12 @@
|
|||||||
"build:docs": "lerna run --stream build:docs",
|
"build:docs": "lerna run --stream build:docs",
|
||||||
"clean": "lerna run clean --stream",
|
"clean": "lerna run clean --stream",
|
||||||
"clean:node_modules": "lerna clean -y && rimraf node_modules",
|
"clean:node_modules": "lerna clean -y && rimraf node_modules",
|
||||||
"build-pre-dev-packages": "lerna run build --scope @k8slens/ensure-binaries --scope @k8slens/generate-tray-icons",
|
|
||||||
"before-dev-actions": "cd packages/open-lens && rimraf static/build/ && npm run build:tray-icons && npm run download:binaries",
|
"before-dev-actions": "cd packages/open-lens && rimraf static/build/ && npm run build:tray-icons && npm run download:binaries",
|
||||||
"predev": "npm run build-pre-dev-packages && npm run before-dev-actions",
|
|
||||||
"predev-package": "echo package=$LERNA_PACKAGE_NAME files=$LERNA_FILE_CHANGES",
|
"predev-package": "echo package=$LERNA_PACKAGE_NAME files=$LERNA_FILE_CHANGES",
|
||||||
"dev-package": "lerna run dev --verbose --stream --scope $LERNA_PACKAGE_NAME",
|
"dev-package": "lerna run watch-dev --verbose --stream --scope $LERNA_PACKAGE_NAME",
|
||||||
"predev:library": "lerna run dev --stream",
|
"predev:library": "lerna run dev --stream && npm run before-dev-actions",
|
||||||
"dev:library": "lerna watch -- LERNA_PACKAGE_NAME=\\$LERNA_PACKAGE_NAME npm run dev-package",
|
"dev:library-impl": "lerna watch -- LERNA_PACKAGE_NAME=\\$LERNA_PACKAGE_NAME npm run dev-package",
|
||||||
|
"dev:library": "npm run dev:library-impl",
|
||||||
"lint": "lerna run lint --stream",
|
"lint": "lerna run lint --stream",
|
||||||
"lint:fix": "lerna run lint:fix --stream",
|
"lint:fix": "lerna run lint:fix --stream",
|
||||||
"mkdocs:serve-local": "docker build -t mkdocs-serve-local:latest mkdocs/ && docker run --rm -it -p 8000:8000 -v ${PWD}:/docs mkdocs-serve-local:latest",
|
"mkdocs:serve-local": "docker build -t mkdocs-serve-local:latest mkdocs/ && docker run --rm -it -p 8000:8000 -v ${PWD}:/docs mkdocs-serve-local:latest",
|
||||||
|
|||||||
@ -20,6 +20,7 @@
|
|||||||
"build": "npm run generate-types && swc ./src/index.ts -d ./dist",
|
"build": "npm run generate-types && swc ./src/index.ts -d ./dist",
|
||||||
"prepare": "npm run build",
|
"prepare": "npm run build",
|
||||||
"dev": "npm run build",
|
"dev": "npm run build",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"prepare:test": "npm run build"
|
"prepare:test": "npm run build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@ -49,6 +49,7 @@
|
|||||||
"build": "cross-env NODE_ENV=production webpack --config webpack/library-bundle.ts --progress",
|
"build": "cross-env NODE_ENV=production webpack --config webpack/library-bundle.ts --progress",
|
||||||
"clean": "rimraf dist static/build",
|
"clean": "rimraf dist static/build",
|
||||||
"dev": "cross-env NODE_ENV=development webpack --config webpack/library-bundle.ts --progress",
|
"dev": "cross-env NODE_ENV=development webpack --config webpack/library-bundle.ts --progress",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"test:unit": "jest --testPathIgnorePatterns integration",
|
"test:unit": "jest --testPathIgnorePatterns integration",
|
||||||
"test:watch": "func() { jest ${1} --watch --testPathIgnorePatterns integration; }; func",
|
"test:watch": "func() { jest ${1} --watch --testPathIgnorePatterns integration; }; func",
|
||||||
"lint": "PROD=true eslint --ext js,ts,tsx --max-warnings=0 .",
|
"lint": "PROD=true eslint --ext js,ts,tsx --max-warnings=0 .",
|
||||||
|
|||||||
@ -10,6 +10,7 @@
|
|||||||
"postbuild": "run-script-os",
|
"postbuild": "run-script-os",
|
||||||
"postbuild:nix": "chmod u+x ./dist/index.js",
|
"postbuild:nix": "chmod u+x ./dist/index.js",
|
||||||
"dev": "npm run build",
|
"dev": "npm run build",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"prepare": "npm run build"
|
"prepare": "npm run build"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
"postbuild": "run-script-os",
|
"postbuild": "run-script-os",
|
||||||
"postbuild:nix": "chmod u+x ./dist/index.js",
|
"postbuild:nix": "chmod u+x ./dist/index.js",
|
||||||
"dev": "npm run build",
|
"dev": "npm run build",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"prepare": "npm run build"
|
"prepare": "npm run build"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@ -33,6 +33,7 @@
|
|||||||
"clean": "rimraf dist/",
|
"clean": "rimraf dist/",
|
||||||
"build": "webpack --config webpack.ts --progress",
|
"build": "webpack --config webpack.ts --progress",
|
||||||
"dev": "webpack --mode=development --config webpack.ts",
|
"dev": "webpack --mode=development --config webpack.ts",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"lint": "lens-lint",
|
"lint": "lens-lint",
|
||||||
"lint:fix": "lens-lint --fix"
|
"lint:fix": "lens-lint --fix"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rimraf dist/",
|
"clean": "rimraf dist/",
|
||||||
"dev": "webpack --mode=development --config webpack.ts --progress",
|
"dev": "webpack --mode=development --config webpack.ts --progress",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"build": "webpack --config webpack.ts --progress",
|
"build": "webpack --config webpack.ts --progress",
|
||||||
"lint": "exit 0",
|
"lint": "exit 0",
|
||||||
"prepare:test": "npm run build"
|
"prepare:test": "npm run build"
|
||||||
|
|||||||
@ -29,6 +29,7 @@
|
|||||||
"compile": "cross-env NODE_ENV=production webpack --config webpack/webpack.ts --progress",
|
"compile": "cross-env NODE_ENV=production webpack --config webpack/webpack.ts --progress",
|
||||||
"postcompile": "npm run build:tray-icons && npm run download:binaries",
|
"postcompile": "npm run build:tray-icons && npm run download:binaries",
|
||||||
"dev": "npm run dev:main && npm run dev:renderer",
|
"dev": "npm run dev:main && npm run dev:renderer",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"dev-run": "nodemon --watch ./static/build/main.js --exec \"electron --remote-debugging-port=9223 --inspect .\"",
|
"dev-run": "nodemon --watch ./static/build/main.js --exec \"electron --remote-debugging-port=9223 --inspect .\"",
|
||||||
"dev:main": "cross-env NODE_ENV=development webpack --config webpack/main.ts --progress",
|
"dev:main": "cross-env NODE_ENV=development webpack --config webpack/main.ts --progress",
|
||||||
"dev:renderer": "cross-env NODE_ENV=development webpack --config webpack/renderer.ts --progress",
|
"dev:renderer": "cross-env NODE_ENV=development webpack --config webpack/renderer.ts --progress",
|
||||||
|
|||||||
@ -26,6 +26,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress",
|
"build": "webpack --progress",
|
||||||
"dev": "webpack --mode=development --progress",
|
"dev": "webpack --mode=development --progress",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"test:unit": "jest --coverage --runInBand",
|
"test:unit": "jest --coverage --runInBand",
|
||||||
"lint": "lens-lint",
|
"lint": "lens-lint",
|
||||||
"lint:fix": "lens-lint --fix"
|
"lint:fix": "lens-lint --fix"
|
||||||
|
|||||||
@ -26,6 +26,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress",
|
"build": "webpack --progress",
|
||||||
"dev": "webpack --mode=development --progress",
|
"dev": "webpack --mode=development --progress",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"test:unit": "jest --coverage --runInBand",
|
"test:unit": "jest --coverage --runInBand",
|
||||||
"lint": "lens-lint",
|
"lint": "lens-lint",
|
||||||
"lint:fix": "lens-lint --fix"
|
"lint:fix": "lens-lint --fix"
|
||||||
|
|||||||
@ -26,6 +26,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress",
|
"build": "webpack --progress",
|
||||||
"dev": "webpack --mode=development --progress",
|
"dev": "webpack --mode=development --progress",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"lint": "lens-lint",
|
"lint": "lens-lint",
|
||||||
"lint:fix": "lens-lint --fix"
|
"lint:fix": "lens-lint --fix"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -26,6 +26,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress",
|
"build": "webpack --progress",
|
||||||
"dev": "webpack --mode=development --progress",
|
"dev": "webpack --mode=development --progress",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"test:unit": "jest --coverage --runInBand",
|
"test:unit": "jest --coverage --runInBand",
|
||||||
"lint": "lens-lint",
|
"lint": "lens-lint",
|
||||||
"lint:fix": "lens-lint --fix"
|
"lint:fix": "lens-lint --fix"
|
||||||
|
|||||||
@ -28,6 +28,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress",
|
"build": "webpack --progress",
|
||||||
"dev": "webpack --mode=development --progress",
|
"dev": "webpack --mode=development --progress",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"test:unit": "jest --coverage --runInBand",
|
"test:unit": "jest --coverage --runInBand",
|
||||||
"lint:fix": "lens-lint --fix",
|
"lint:fix": "lens-lint --fix",
|
||||||
"lint": "lens-lint"
|
"lint": "lens-lint"
|
||||||
|
|||||||
@ -28,6 +28,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress",
|
"build": "webpack --progress",
|
||||||
"dev": "webpack --mode=development --progress",
|
"dev": "webpack --mode=development --progress",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"test:unit": "jest --coverage --runInBand",
|
"test:unit": "jest --coverage --runInBand",
|
||||||
"lint": "lens-lint",
|
"lint": "lens-lint",
|
||||||
"lint:fix": "lens-lint --fix"
|
"lint:fix": "lens-lint --fix"
|
||||||
|
|||||||
@ -28,6 +28,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress",
|
"build": "webpack --progress",
|
||||||
"dev": "webpack --mode=development --progress",
|
"dev": "webpack --mode=development --progress",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"test:unit": "jest --coverage --runInBand",
|
"test:unit": "jest --coverage --runInBand",
|
||||||
"lint": "lens-lint",
|
"lint": "lens-lint",
|
||||||
"lint:fix": "lens-lint --fix"
|
"lint:fix": "lens-lint --fix"
|
||||||
|
|||||||
@ -28,6 +28,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress",
|
"build": "webpack --progress",
|
||||||
"dev": "webpack --mode=development --progress",
|
"dev": "webpack --mode=development --progress",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"test:unit": "jest --coverage --runInBand",
|
"test:unit": "jest --coverage --runInBand",
|
||||||
"lint": "lens-lint",
|
"lint": "lens-lint",
|
||||||
"lint:fix": "lens-lint --fix"
|
"lint:fix": "lens-lint --fix"
|
||||||
|
|||||||
@ -28,6 +28,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress",
|
"build": "webpack --progress",
|
||||||
"dev": "webpack --mode=development --progress",
|
"dev": "webpack --mode=development --progress",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"test:unit": "jest --coverage --runInBand",
|
"test:unit": "jest --coverage --runInBand",
|
||||||
"lint:fix": "lens-lint --fix",
|
"lint:fix": "lens-lint --fix",
|
||||||
"lint": "lens-lint"
|
"lint": "lens-lint"
|
||||||
|
|||||||
@ -22,6 +22,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress",
|
"build": "webpack --progress",
|
||||||
"dev": "webpack --mode=development --progress",
|
"dev": "webpack --mode=development --progress",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"test:unit": "jest --coverage --runInBand"
|
"test:unit": "jest --coverage --runInBand"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|||||||
@ -28,6 +28,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress",
|
"build": "webpack --progress",
|
||||||
"dev": "webpack --mode=development --progress",
|
"dev": "webpack --mode=development --progress",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"test:unit": "jest --coverage --runInBand",
|
"test:unit": "jest --coverage --runInBand",
|
||||||
"lint": "lens-lint",
|
"lint": "lens-lint",
|
||||||
"lint:fix": "lens-lint --fix"
|
"lint:fix": "lens-lint --fix"
|
||||||
|
|||||||
@ -22,6 +22,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack --progress",
|
"build": "webpack --progress",
|
||||||
"dev": "webpack --mode=development --progress",
|
"dev": "webpack --mode=development --progress",
|
||||||
|
"watch-dev": "npm run dev",
|
||||||
"test:unit": "jest --coverage --runInBand"
|
"test:unit": "jest --coverage --runInBand"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user