Move @k8slens/generate-tray-icons to seperate package (#7057)

* Move @k8slens/generate-tray-icons to seperate package

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Rename very long folder name to fix issue on windows

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Make it possible to build on windows using powershell

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix integration tests on windows

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Don't error on close directly

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Switch to type: module for generate-tray-icons

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Make more packages type:module

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix scripts needing node

Signed-off-by: Sebastian Malton <sebastian@malton.name>

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2023-02-01 11:41:44 -08:00
1 parent 89b2aab75d
commit b19e355e0e
90 files changed
+2872 -8119

No files matched your search

+8 -2
View File
@@ -7,9 +7,12 @@
"private": true,
"scripts": {
"clean": "rimraf dist/",
"build": "swc ./src/index.ts -o ./dist/index.mjs",
"create-release-pr": "node ./dist/index.mjs"
"build": "swc ./src/index.ts -d ./dist"
},
"bin": {
"create-release-pr": "./dist/index.js"
},
"type": "module",
"devDependencies": {
"@swc/cli": "^0.1.59",
"@swc/core": "^1.3.31",
@@ -20,5 +23,8 @@
"command-line-args": "^5.2.1",
"fs-extra": "^11.1.0",
"semver": "^7.3.8"
},
"dependencies": {
"rimraf": "^4.1.2"
}
}