mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Get dev mode fixed (#7447)
* Get dev mode fixed Signed-off-by: Sebastian Malton <sebastian@malton.name> * Add empty scripts for windows to satisfy run-script-os Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
fe2fd4c1fd
commit
b5a085b55c
4
.nxignore
Normal file
4
.nxignore
Normal file
@ -0,0 +1,4 @@
|
||||
packages/**/dist
|
||||
packages/**/static/build
|
||||
packages/**/build/webpack
|
||||
packages/**/binaries
|
||||
12
package-lock.json
generated
12
package-lock.json
generated
@ -37600,7 +37600,8 @@
|
||||
"@swc/core": "^1.3.44",
|
||||
"@types/node": "^16.18.11",
|
||||
"@types/semver": "^7.3.13",
|
||||
"rimraf": "^4.4.1"
|
||||
"rimraf": "^4.4.1",
|
||||
"run-script-os": "^1.1.6"
|
||||
}
|
||||
},
|
||||
"packages/bump-version-for-cron/node_modules/@swc/core": {
|
||||
@ -39514,7 +39515,8 @@
|
||||
"@types/node": "^16.18.11",
|
||||
"@types/semver": "^7.3.13",
|
||||
"@types/tar-stream": "^2.2.2",
|
||||
"rimraf": "^4.4.1"
|
||||
"rimraf": "^4.4.1",
|
||||
"run-script-os": "^1.1.6"
|
||||
}
|
||||
},
|
||||
"packages/ensure-binaries/node_modules/@swc/core": {
|
||||
@ -40043,7 +40045,8 @@
|
||||
"@types/jsdom": "^20.0.1",
|
||||
"@types/node": "^18.11.18",
|
||||
"@types/sharp": "^0.31.1",
|
||||
"rimraf": "^4.4.1"
|
||||
"rimraf": "^4.4.1",
|
||||
"run-script-os": "^1.1.6"
|
||||
}
|
||||
},
|
||||
"packages/generate-tray-icons/node_modules/@swc/core": {
|
||||
@ -43704,7 +43707,8 @@
|
||||
"@types/inquirer": "^9.0.3",
|
||||
"@types/node": "^16.18.11",
|
||||
"@types/semver": "^7.3.13",
|
||||
"rimraf": "^4.4.1"
|
||||
"rimraf": "^4.4.1",
|
||||
"run-script-os": "^1.1.6"
|
||||
}
|
||||
},
|
||||
"packages/release-tool/node_modules/@swc/core": {
|
||||
|
||||
@ -17,7 +17,10 @@
|
||||
"build:docs": "lerna run --stream build:docs",
|
||||
"clean": "lerna run clean --stream",
|
||||
"clean:node_modules": "lerna clean -y && rimraf node_modules",
|
||||
"dev": "lerna run dev --stream --skip-nx-cache",
|
||||
"dev": "cross-env NODE_ENV=development lerna run build --stream --skip-nx-cache",
|
||||
"postdev": "lerna watch -- lerna run build --stream --scope \\$LERNA_PACKAGE_NAME",
|
||||
"prestart-dev": "cd packages/open-lens && rimraf static/build/ && npm run build:tray-icons && npm run download:binaries",
|
||||
"start-dev": "lerna run start",
|
||||
"lint": "lerna run lint --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",
|
||||
|
||||
@ -5,7 +5,10 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "swc ./src/index.ts -d ./dist"
|
||||
"build": "swc ./src/index.ts -d ./dist",
|
||||
"postbuild": "run-script-os",
|
||||
"postbuild:windows": "",
|
||||
"postbuild:nix": "chmod u+x ./dist/index.js"
|
||||
},
|
||||
"type": "module",
|
||||
"bin": "./dist/index.js",
|
||||
@ -26,6 +29,7 @@
|
||||
"@swc/core": "^1.3.44",
|
||||
"@types/node": "^16.18.11",
|
||||
"@types/semver": "^7.3.13",
|
||||
"rimraf": "^4.4.1"
|
||||
"rimraf": "^4.4.1",
|
||||
"run-script-os": "^1.1.6"
|
||||
}
|
||||
}
|
||||
|
||||
@ -48,8 +48,6 @@
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --config webpack/library-bundle.ts --progress",
|
||||
"clean": "rimraf dist static/build",
|
||||
"prepare: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 --watch",
|
||||
"test:unit": "jest --testPathIgnorePatterns integration",
|
||||
"test:watch": "func() { jest ${1} --watch --testPathIgnorePatterns integration; }; func",
|
||||
"lint": "PROD=true eslint --ext js,ts,tsx --max-warnings=0 .",
|
||||
@ -98,7 +96,6 @@
|
||||
],
|
||||
"runtime": "@side/jest-runtime"
|
||||
},
|
||||
"build": {},
|
||||
"nx": {
|
||||
"targets": {
|
||||
"build": {
|
||||
@ -108,11 +105,6 @@
|
||||
"outputs": [
|
||||
"{workspaceRoot}/static/build/"
|
||||
]
|
||||
},
|
||||
"dev": {
|
||||
"outputs": [
|
||||
"{workspaceRoot}/static/build/"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -7,6 +7,9 @@
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "swc ./src/index.ts -d ./dist/",
|
||||
"postbuild": "run-script-os",
|
||||
"postbuild:windows": "",
|
||||
"postbuild:nix": "chmod u+x ./dist/index.js",
|
||||
"prepare:dev": "npm run build",
|
||||
"prepare": "npm run build"
|
||||
},
|
||||
@ -38,6 +41,7 @@
|
||||
"@types/node": "^16.18.11",
|
||||
"@types/semver": "^7.3.13",
|
||||
"@types/tar-stream": "^2.2.2",
|
||||
"rimraf": "^4.4.1"
|
||||
"rimraf": "^4.4.1",
|
||||
"run-script-os": "^1.1.6"
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,6 +6,9 @@
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "swc ./src/index.ts -d ./dist/",
|
||||
"postbuild": "run-script-os",
|
||||
"postbuild:windows": "",
|
||||
"postbuild:nix": "chmod u+x ./dist/index.js",
|
||||
"prepare:dev": "npm run build",
|
||||
"prepare": "npm run build"
|
||||
},
|
||||
@ -27,7 +30,8 @@
|
||||
"@types/jsdom": "^20.0.1",
|
||||
"@types/node": "^18.11.18",
|
||||
"@types/sharp": "^0.31.1",
|
||||
"rimraf": "^4.4.1"
|
||||
"rimraf": "^4.4.1",
|
||||
"run-script-os": "^1.1.6"
|
||||
},
|
||||
"dependencies": {
|
||||
"arg": "^5.0.2",
|
||||
|
||||
@ -32,7 +32,6 @@
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack --config webpack.ts",
|
||||
"dev": "webpack --mode=development --watch --config webpack.ts",
|
||||
"lint": "lens-lint",
|
||||
"lint:fix": "lens-lint --fix"
|
||||
},
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
"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": "rimraf static/build/ && npm run build:tray-icons && npm run download:binaries",
|
||||
"dev": "concurrently -i -k \"npm run dev-run -C\" npm:dev:*",
|
||||
"start": "concurrently -i -k \"npm run dev-run -C\" npm: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",
|
||||
"dev:renderer": "cross-env NODE_ENV=development ts-node ./webpack/dev-server.ts",
|
||||
@ -70,15 +69,6 @@
|
||||
"{workspaceRoot}/static/build/"
|
||||
]
|
||||
},
|
||||
"dev": {
|
||||
"dependsOn": [
|
||||
"^prepare:dev"
|
||||
],
|
||||
"outputs": [
|
||||
"{workspaceRoot}/binaries/",
|
||||
"{workspaceRoot}/static/build/"
|
||||
]
|
||||
},
|
||||
"build:app": {
|
||||
"dependsOn": [
|
||||
"build"
|
||||
|
||||
@ -7,7 +7,10 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "swc ./src/index.ts -d ./dist"
|
||||
"build": "swc ./src/index.ts -d ./dist",
|
||||
"postbuild": "run-script-os",
|
||||
"postbuild:windows": "",
|
||||
"postbuild:nix": "chmod u+x ./dist/index.js"
|
||||
},
|
||||
"bin": {
|
||||
"create-release-pr": "./dist/index.js"
|
||||
@ -19,7 +22,8 @@
|
||||
"@types/inquirer": "^9.0.3",
|
||||
"@types/node": "^16.18.11",
|
||||
"@types/semver": "^7.3.13",
|
||||
"rimraf": "^4.4.1"
|
||||
"rimraf": "^4.4.1",
|
||||
"run-script-os": "^1.1.6"
|
||||
},
|
||||
"dependencies": {
|
||||
"chalk": "^5.2.0",
|
||||
|
||||
@ -24,8 +24,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"test:unit": "jest --coverage --runInBand",
|
||||
"lint": "lens-lint",
|
||||
"lint:fix": "lens-lint --fix"
|
||||
|
||||
@ -24,8 +24,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"test:unit": "jest --coverage --runInBand",
|
||||
"lint": "lens-lint",
|
||||
"lint:fix": "lens-lint --fix"
|
||||
|
||||
@ -24,8 +24,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"lint": "lens-lint",
|
||||
"lint:fix": "lens-lint --fix"
|
||||
},
|
||||
|
||||
@ -24,8 +24,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"test:unit": "jest --coverage --runInBand",
|
||||
"lint": "lens-lint",
|
||||
"lint:fix": "lens-lint --fix"
|
||||
|
||||
@ -26,8 +26,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"test:unit": "jest --coverage --runInBand",
|
||||
"lint:fix": "lens-lint --fix",
|
||||
"lint": "lens-lint"
|
||||
|
||||
@ -26,8 +26,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"test:unit": "jest --coverage --runInBand",
|
||||
"lint": "lens-lint",
|
||||
"lint:fix": "lens-lint --fix"
|
||||
|
||||
@ -26,8 +26,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"test:unit": "jest --coverage --runInBand",
|
||||
"lint": "lens-lint",
|
||||
"lint:fix": "lens-lint --fix"
|
||||
|
||||
@ -26,8 +26,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"test:unit": "jest --coverage --runInBand",
|
||||
"lint": "lens-lint",
|
||||
"lint:fix": "lens-lint --fix"
|
||||
|
||||
@ -26,8 +26,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"test:unit": "jest --coverage --runInBand",
|
||||
"lint:fix": "lens-lint --fix",
|
||||
"lint": "lens-lint"
|
||||
|
||||
@ -24,8 +24,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"test:unit": "jest --coverage --runInBand",
|
||||
"lint": "lens-lint",
|
||||
"lint:fix": "lens-lint --fix"
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"lint": "lens-lint",
|
||||
"lint:fix": "lens-lint --fix"
|
||||
},
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"test:unit": "jest --coverage --runInBand"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@ -4,15 +4,10 @@
|
||||
"version": "1.0.0-alpha.1",
|
||||
"description": "TBD",
|
||||
"type": "commonjs",
|
||||
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"registry": "https://registry.npmjs.org/"
|
||||
},
|
||||
|
||||
"files": [
|
||||
"build"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/lensapp/lens.git"
|
||||
@ -26,8 +21,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"test:unit": "jest --coverage --runInBand",
|
||||
"lint": "lens-lint",
|
||||
"lint:fix": "lens-lint --fix"
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch"
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@ogre-tools/injectable": "^15.1.2",
|
||||
|
||||
@ -20,8 +20,8 @@
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/lensapp/lens",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack",
|
||||
"dev": "webpack --mode=development --watch",
|
||||
"test:unit": "jest --coverage --runInBand"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user