mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
use rimraf
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
970ed9e34d
commit
717272526a
@ -25,6 +25,7 @@
|
||||
"devDependencies": {
|
||||
"adr": "^1.4.3",
|
||||
"cross-env": "^7.0.3",
|
||||
"lerna": "^6.4.1"
|
||||
"lerna": "^6.4.1",
|
||||
"rimraf": "^4.1.2"
|
||||
}
|
||||
}
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
"author": "OpenLens Authors <info@k8slens.dev>",
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production yarn run webpack --config webpack/library-bundle.ts",
|
||||
"clean": "rm -rf dist static/build",
|
||||
"clean": "rimraf dist static/build",
|
||||
"prepare:dev": "cross-env NODE_ENV=development yarn run webpack --config webpack/library-bundle.ts --progress",
|
||||
"dev": "cross-env NODE_ENV=development yarn run webpack --config webpack/library-bundle.ts --watch",
|
||||
"test:unit": "jest --testPathIgnorePatterns integration",
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
"main": "dist/index.mjs",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"clean": "rm -rf dist/",
|
||||
"clean": "rimraf dist/",
|
||||
"build": "swc ./src/index.ts -o ./dist/index.mjs",
|
||||
"prepare:dev": "npm run build"
|
||||
},
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
"scripts": {
|
||||
"build": "yarn run webpack --config webpack/extensions.ts",
|
||||
"build:docs": "yarn run typedoc",
|
||||
"clean": "rm -rf dist/",
|
||||
"clean": "rimraf dist/",
|
||||
"prepare:dev": "yarn run build"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"clean": "rm -rf dist/",
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack --config webpack.ts",
|
||||
"lint": "exit 0",
|
||||
"prepare": "npm run build",
|
||||
|
||||
@ -18,17 +18,17 @@
|
||||
"license": "MIT",
|
||||
"author": "OpenLens Authors <info@k8slens.dev>",
|
||||
"scripts": {
|
||||
"clean": "rm -rf binaries/ dist/ static/build",
|
||||
"clean": "rimraf binaries/ dist/ static/build",
|
||||
"build": "npm run compile",
|
||||
"postbuild": "npm run build:tray-icons && npm run download:binaries",
|
||||
"build:app": "electron-builder --publish onTag",
|
||||
"prebuild:app": "run-script-os",
|
||||
"prebuild:app:default": "exit 0",
|
||||
"prebuild:app:win32": "rm -rf node_modules/win-ca/pem",
|
||||
"prebuild:app:win32": "rimraf node_modules/win-ca/pem",
|
||||
"build:dir": "npm run compile && electron-builder --dir",
|
||||
"compile": "cross-env NODE_ENV=production webpack --config webpack/webpack.ts --progress",
|
||||
"postcompile": "npm run build:tray-icons && npm run download:binaries",
|
||||
"predev": "rm -rf static/build/ && npm run build:tray-icons && npm run download:binaries",
|
||||
"predev": "rimraf static/build/ && npm run build:tray-icons && npm run download:binaries",
|
||||
"dev": "concurrently -i -k \"yarn run dev-run -C\" yarn:dev:*",
|
||||
"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 --watch",
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"clean": "rm -rf dist/",
|
||||
"clean": "rimraf dist/",
|
||||
"build": "swc ./src/index.ts -o ./dist/index.mjs",
|
||||
"create-release-pr": "node ./dist/index.mjs"
|
||||
},
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"clean": "rm -rf dist/",
|
||||
"clean": "rimraf dist/",
|
||||
"build": "swc ./src/index.ts -o ./dist/index.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@ -4348,6 +4348,11 @@ rimraf@^3.0.0, rimraf@^3.0.2:
|
||||
dependencies:
|
||||
glob "^7.1.3"
|
||||
|
||||
rimraf@^4.1.2:
|
||||
version "4.1.2"
|
||||
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-4.1.2.tgz#20dfbc98083bdfaa28b01183162885ef213dbf7c"
|
||||
integrity sha512-BlIbgFryTbw3Dz6hyoWFhKk+unCcHMSkZGrTFVAx2WmttdBSonsdtRlwiuTbDqTKr+UlXIUqJVS4QT5tUzGENQ==
|
||||
|
||||
run-async@^2.4.0:
|
||||
version "2.4.1"
|
||||
resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user