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

Create cluster-settings package

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2023-03-21 15:43:53 +03:00
parent 6ed1188456
commit df327dc109
6 changed files with 81 additions and 0 deletions

21
package-lock.json generated
View File

@ -4685,6 +4685,10 @@
"resolved": "packages/bump-version-for-cron",
"link": true
},
"node_modules/@k8slens/cluster-settings": {
"resolved": "packages/cluster-settings",
"link": true
},
"node_modules/@k8slens/computed-channel": {
"resolved": "packages/technical-features/messaging/computed-channel",
"link": true
@ -34366,6 +34370,23 @@
"integrity": "sha512-ZOzvDRWp8dCVBmgnkIqYCArgdFOO9YzocZp8Ra25N/RStKiWvMOXHMz+GjSeVNe5TstaTmTWPucGJkDw0XXJWA==",
"dev": true
},
"packages/cluster-settings": {
"version": "6.5.0-alpha.",
"license": "MIT",
"devDependencies": {
"@swc/cli": "^0.1.61",
"@swc/core": "^1.3.37",
"@types/node": "^16.18.11",
"@types/semver": "^7.3.13",
"rimraf": "^4.1.2"
}
},
"packages/cluster-settings/node_modules/@types/node": {
"version": "16.18.18",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.18.tgz",
"integrity": "sha512-fwGw1uvQAzabxL1pyoknPlJIF2t7+K90uTqynleKRx24n3lYcxWa3+KByLhgkF8GEAK2c7hC8Ki0RkNM5H15jQ==",
"dev": true
},
"packages/core": {
"name": "@k8slens/core",
"version": "6.5.0-alpha.3",

View File

@ -0,0 +1,9 @@
{
"$schema": "https://json.schemastore.org/swcrc",
"jsc": {
"parser": {
"syntax": "typescript"
},
"target": "es2022"
}
}

View File

@ -0,0 +1,3 @@
# Description
The package exports tokens needed for external configuration of Cluster Settings page.

View File

@ -0,0 +1,28 @@
{
"name": "@k8slens/cluster-settings",
"version": "6.5.0-alpha.",
"description": "Injection tokens exporter for cluster settings configuration",
"license": "MIT",
"private": false,
"mode": "production",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"clean": "rimraf dist/",
"build": "swc ./src/index.ts -d ./dist"
},
"devDependencies": {
"@swc/cli": "^0.1.61",
"@swc/core": "^1.3.37",
"@types/node": "^16.18.11",
"@types/semver": "^7.3.13",
"rimraf": "^4.1.2"
}
}

View File

@ -0,0 +1,2 @@
export * from "../../core/src/renderer/components/cluster-settings/cluster-settings-menu-injection-token";
export * from "../../core/src/renderer/components/cluster-settings/cluster-settings-component-injection-token";

View File

@ -0,0 +1,18 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist/",
"paths": {
"*": [
"node_modules/*",
"types/*"
]
},
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules",
]
}