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

chore: Consolidate build scripts to the new shared script

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-turso 2023-04-27 15:15:06 +03:00
parent 98fe1a38bf
commit 79db1fed26
23 changed files with 46 additions and 23 deletions

View File

@ -24,7 +24,7 @@
"license": "MIT",
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"build": "webpack",
"build": "lens-webpack-build",
"clean": "rimraf dist/",
"test:unit": "jest --coverage --runInBand",
"lint": "lens-lint",
@ -41,6 +41,7 @@
"react": "^17"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "^6.5.0-alpha.2",
"@k8slens/react-testing-library-discovery": "^1.0.0-alpha.3"

View File

@ -16,9 +16,10 @@
],
"scripts": {
"clean": "rimraf dist/",
"build": "webpack"
"build": "lens-webpack-build"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"rimraf": "^4.4.1"
},
"peerDependencies": {

View File

@ -22,7 +22,7 @@
"precompute-versions": "swc ./build/compute-versions.ts -o ./build/compute-versions.mjs",
"compute-versions": "node ./build/compute-versions.mjs",
"prebuild": "npm run compute-versions",
"build": "webpack",
"build": "lens-webpack-build",
"dev": "webpack --mode=development --watch",
"test": "jest --coverage --runInBand"
},
@ -30,6 +30,7 @@
"@ogre-tools/injectable": "^15.1.1"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.53",
"fast-xml-parser": "^4.2.2",

View File

@ -24,7 +24,7 @@
"license": "MIT",
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"build": "webpack",
"build": "lens-webpack-build",
"clean": "rimraf dist/",
"dev": "webpack --mode=development --watch",
"test": "jest --coverage --runInBand",
@ -37,6 +37,7 @@
"react": "^17.0.2"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@k8slens/eslint-config": "^6.5.0-alpha.2",
"@k8slens/jest": "^6.5.0-alpha.4",
"@k8slens/typescript": "^6.5.0-alpha.2"

View File

@ -24,7 +24,7 @@
"license": "MIT",
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"build": "webpack",
"build": "lens-webpack-build",
"clean": "rimraf dist/",
"dev": "webpack --mode=development --watch",
"test": "jest --coverage --runInBand",
@ -37,6 +37,7 @@
"react": "^17.0.2"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@k8slens/eslint-config": "^6.5.0-alpha.2",
"@k8slens/jest": "^6.5.0-alpha.4",
"@k8slens/typescript": "^6.5.0-alpha.2"

View File

@ -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"
},
@ -45,6 +45,7 @@
"react-dom": "^17.0.2"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "6.5.0-alpha.1",
"@k8slens/react-testing-library-discovery": "^1.0.0-alpha.3",

View File

@ -25,7 +25,7 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack",
"build": "lens-webpack-build",
"test:unit": "jest --coverage --runInBand",
"lint": "lens-lint",
"lint:fix": "lens-lint --fix"
@ -39,6 +39,7 @@
"lodash": "^4.17.15"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "^6.5.0-alpha.2"
}

View File

@ -25,7 +25,7 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack",
"build": "lens-webpack-build",
"test:unit": "jest --coverage --runInBand",
"lint": "lens-lint",
"lint:fix": "lens-lint --fix"
@ -40,6 +40,7 @@
"lodash": "^4.17.21"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "^6.5.0-alpha.2",
"@ogre-tools/test-utils": "^15.7.0"

View File

@ -25,7 +25,7 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack",
"build": "lens-webpack-build",
"lint": "lens-lint",
"lint:fix": "lens-lint --fix"
},
@ -33,6 +33,7 @@
"@ogre-tools/injectable": "^15.3.1"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@k8slens/eslint-config": "^6.5.0-alpha.2"
}
}

View File

@ -25,7 +25,7 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack",
"build": "lens-webpack-build",
"test:unit": "jest --coverage --runInBand",
"lint": "lens-lint",
"lint:fix": "lens-lint --fix"
@ -34,6 +34,7 @@
"@ogre-tools/injectable": "^15.3.1"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@k8slens/eslint-config": "^6.5.0-alpha.2"
}
}

View File

@ -25,7 +25,7 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack",
"build": "lens-webpack-build",
"test:unit": "jest --coverage --runInBand",
"lint:fix": "lens-lint --fix",
"lint": "lens-lint"
@ -41,6 +41,7 @@
"mobx": "^6.7.0"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@k8slens/eslint-config": "^6.5.0-alpha.2"
}
}

View File

@ -25,7 +25,7 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack",
"build": "lens-webpack-build",
"test:unit": "jest --coverage --runInBand",
"lint": "lens-lint",
"lint:fix": "lens-lint --fix"
@ -42,6 +42,7 @@
"mobx": "^6.8.0"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@k8slens/eslint-config": "^6.5.0-alpha.2",
"@k8slens/messaging-fake-bridge": "^1.0.0-alpha.3",
"type-fest": "^2.14.0"

View File

@ -25,7 +25,7 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack",
"build": "lens-webpack-build",
"test:unit": "jest --coverage --runInBand",
"lint": "lens-lint",
"lint:fix": "lens-lint --fix"
@ -41,6 +41,7 @@
"lodash": "^4.17.21"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@k8slens/eslint-config": "^6.5.0-alpha.2"
}
}

View File

@ -25,7 +25,7 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack",
"build": "lens-webpack-build",
"test:unit": "jest --coverage --runInBand",
"lint": "lens-lint",
"lint:fix": "lens-lint --fix"
@ -42,6 +42,7 @@
"lodash": "^4.17.21"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@k8slens/eslint-config": "^6.5.0-alpha.2"
}
}

View File

@ -25,7 +25,7 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack",
"build": "lens-webpack-build",
"test:unit": "jest --coverage --runInBand",
"lint:fix": "lens-lint --fix",
"lint": "lens-lint"
@ -41,6 +41,7 @@
"mobx": "^6.9.0"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@k8slens/eslint-config": "^6.5.0-alpha.2"
}
}

View File

@ -25,7 +25,7 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack",
"build": "lens-webpack-build",
"test:unit": "jest --coverage --runInBand",
"lint": "lens-lint",
"lint:fix": "lens-lint --fix"
@ -45,6 +45,7 @@
"react-dom": "^17.0.2"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "^6.5.0-alpha.2",
"@k8slens/react-testing-library-discovery": "^1.0.0-alpha.3",

View File

@ -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"
},
@ -39,6 +39,7 @@
"react-dom": "^17.0.2"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "6.5.0-alpha.1",
"@k8slens/react-testing-library-discovery": "^1.0.0-alpha.0",

View File

@ -24,7 +24,7 @@
"license": "MIT",
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"build": "webpack",
"build": "lens-webpack-build",
"test:unit": "jest --coverage --runInBand",
"lint": "lens-lint",
"lint:fix": "lens-lint --fix"
@ -39,6 +39,7 @@
"react-dom": "^17.0.2"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@async-fn/jest": "^1.6.4",
"@k8slens/eslint-config": "6.5.0-alpha.1",
"@k8slens/react-testing-library-discovery": "^1.0.0-alpha.0",

View File

@ -25,11 +25,12 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack",
"build": "lens-webpack-build",
"lint": "lens-lint",
"lint:fix": "lens-lint --fix"
},
"peerDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@testing-library/dom": "^8.19.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5"

View File

@ -21,7 +21,7 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack",
"build": "lens-webpack-build",
"test:unit": "jest --coverage --runInBand"
},
"peerDependencies": {
@ -34,6 +34,7 @@
"uuid": "^8.3.2"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@types/uuid": "^9.0.1"
}
}

View File

@ -22,12 +22,13 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack",
"build": "lens-webpack-build",
"test:unit": "jest --coverage --runInBand",
"lint": "lens-lint",
"lint:fix": "lens-lint --fix"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@k8slens/eslint-config": "^6.5.0-alpha.2"
}
}

View File

@ -21,7 +21,7 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack"
"build": "lens-webpack-build"
},
"peerDependencies": {
"@ogre-tools/injectable": "^15.3.1",
@ -33,6 +33,7 @@
"react-dom": "^17.0.2"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@types/lodash": "^4.14.191"
}
}

View File

@ -21,7 +21,7 @@
"homepage": "https://github.com/lensapp/lens",
"scripts": {
"clean": "rimraf dist/",
"build": "webpack",
"build": "lens-webpack-build",
"test:unit": "jest --coverage --runInBand"
},
"peerDependencies": {
@ -41,6 +41,7 @@
"typed-regex": "^0.0.8"
},
"devDependencies": {
"@k8slens/webpack": "^6.5.0-alpha.4",
"@types/crypto-js": "^4.1.1",
"@types/lodash": "^4.14.191",
"@types/react": "^17.0.2",