chore: bump @rancher/shell to 3.0.12-rc.1 (#810)

* chore: bump @rancher/shell to 3.0.12-rc.1

Signed-off-by: Andy Lee <andy.lee@suse.com>

* ci: update node version to 24

Signed-off-by: Andy Lee <andy.lee@suse.com>

* ci: update build catalog yaml

Signed-off-by: Andy Lee <andy.lee@suse.com>

* fix: nav items order

Signed-off-by: Andy Lee <andy.lee@suse.com>

* refactor: remove unneeded weightType

Signed-off-by: Andy Lee <andy.lee@suse.com>

---------

Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
Andy Lee 2026-04-20 16:29:57 +08:00 committed by GitHub
parent e941cc9a90
commit afc0e0f531
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 2331 additions and 2116 deletions

View File

@ -4,7 +4,8 @@ description: Setup node and install dependencies
runs: runs:
using: 'composite' using: 'composite'
steps: steps:
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 - name: Setup Nodejs with yarn caching
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
cache: 'yarn' cache: 'yarn'

View File

@ -55,14 +55,8 @@ jobs:
with: with:
version: v3.8.0 version: v3.8.0
- name: Setup Nodejs with yarn caching - name: Setup Nodejs with yarn install
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 uses: ./.github/actions/setup
with:
node-version: '20'
cache: yarn
- name: Install dependencies
run: yarn
- name: Build and push UI image - name: Build and push UI image
run: | run: |

2
.nvmrc
View File

@ -1 +1 @@
20 24

View File

@ -3,11 +3,11 @@
"version": "1.9.0-dev", "version": "1.9.0-dev",
"private": false, "private": false,
"engines": { "engines": {
"node": ">=20.0.0" "node": ">=24.0.0"
}, },
"dependencies": { "dependencies": {
"@babel/plugin-transform-class-static-block": "7.28.6", "@babel/plugin-transform-class-static-block": "7.28.6",
"@rancher/shell": "3.0.9-rc.6", "@rancher/shell": "3.0.12-rc.1",
"@vue-flow/background": "^1.3.0", "@vue-flow/background": "^1.3.0",
"@vue-flow/controls": "^1.1.1", "@vue-flow/controls": "^1.1.1",
"@vue-flow/core": "^1.33.5", "@vue-flow/core": "^1.33.5",
@ -21,7 +21,7 @@
"yaml": "^2.5.1" "yaml": "^2.5.1"
}, },
"resolutions": { "resolutions": {
"@types/node": "~20.19.0", "@types/node": "25.3.3",
"cronstrue": "2.59.0", "cronstrue": "2.59.0",
"d3-color": "3.1.0", "d3-color": "3.1.0",
"ejs": "3.1.10", "ejs": "3.1.10",

View File

@ -81,7 +81,6 @@ export function init($plugin, store) {
configureType, configureType,
virtualType, virtualType,
weightGroup, weightGroup,
weightType,
} = $plugin.DSL(store, PRODUCT_NAME); } = $plugin.DSL(store, PRODUCT_NAME);
const isSingleVirtualCluster = process.env.rancherEnv === PRODUCT_NAME; const isSingleVirtualCluster = process.env.rancherEnv === PRODUCT_NAME;
@ -168,7 +167,7 @@ export function init($plugin, store) {
group: 'Root', group: 'Root',
name: HCI.HOST, name: HCI.HOST,
namespaced: true, namespaced: true,
weight: 399, weight: 499,
route: { route: {
name: `${ PRODUCT_NAME }-c-cluster-resource`, name: `${ PRODUCT_NAME }-c-cluster-resource`,
params: { resource: HCI.HOST } params: { resource: HCI.HOST }
@ -200,7 +199,7 @@ export function init($plugin, store) {
group: 'root', group: 'root',
name: HCI.VM, name: HCI.VM,
namespaced: true, namespaced: true,
weight: 299, weight: 498,
route: { route: {
name: `${ PRODUCT_NAME }-c-cluster-resource`, name: `${ PRODUCT_NAME }-c-cluster-resource`,
params: { resource: HCI.VM } params: { resource: HCI.VM }
@ -361,7 +360,7 @@ export function init($plugin, store) {
ifHaveType: PVC, ifHaveType: PVC,
name: HCI.VOLUME, name: HCI.VOLUME,
namespaced: true, namespaced: true,
weight: 199, weight: 497,
route: { route: {
name: `${ PRODUCT_NAME }-c-cluster-resource`, name: `${ PRODUCT_NAME }-c-cluster-resource`,
params: { resource: HCI.VOLUME } params: { resource: HCI.VOLUME }
@ -387,7 +386,7 @@ export function init($plugin, store) {
group: 'root', group: 'root',
name: HCI.IMAGE, name: HCI.IMAGE,
namespaced: true, namespaced: true,
weight: 198, weight: 496,
route: { route: {
name: `${ PRODUCT_NAME }-c-cluster-resource`, name: `${ PRODUCT_NAME }-c-cluster-resource`,
params: { resource: HCI.IMAGE } params: { resource: HCI.IMAGE }
@ -402,7 +401,7 @@ export function init($plugin, store) {
group: 'root', group: 'root',
namespaced: true, namespaced: true,
name: 'projects-namespaces', name: 'projects-namespaces',
weight: 98, weight: 495,
route: { name: `${ PRODUCT_NAME }-c-cluster-projectsnamespaces` }, route: { name: `${ PRODUCT_NAME }-c-cluster-projectsnamespaces` },
exact: true, exact: true,
}); });
@ -414,7 +413,7 @@ export function init($plugin, store) {
labelKey: 'harvester.namespace.label', labelKey: 'harvester.namespace.label',
name: NAMESPACE, name: NAMESPACE,
namespaced: true, namespaced: true,
weight: 89, weight: 495,
route: { route: {
name: `${ PRODUCT_NAME }-c-cluster-resource`, name: `${ PRODUCT_NAME }-c-cluster-resource`,
params: { resource: NAMESPACE } params: { resource: NAMESPACE }
@ -592,9 +591,8 @@ export function init($plugin, store) {
'backupAndSnapshot' 'backupAndSnapshot'
); );
weightGroup('networks', 300, true); weightGroup('networks', 494, true);
weightType(NAMESPACE, 299, true); weightGroup('backupAndSnapshot', 493, true);
weightGroup('backupAndSnapshot', 289, true);
basicType( basicType(
[ [

View File

@ -17,12 +17,12 @@
"nuxt": "./node_modules/.bin/nuxt" "nuxt": "./node_modules/.bin/nuxt"
}, },
"engines": { "engines": {
"node": ">=20.0.0" "node": ">=24.0.0"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "~5.0.0", "@vue/cli-plugin-babel": "~5.0.9",
"@vue/cli-service": "~5.0.0", "@vue/cli-service": "~5.0.9",
"@vue/cli-plugin-typescript": "~5.0.0" "@vue/cli-plugin-typescript": "~5.0.9"
}, },
"browserslist": [ "browserslist": [
"> 1%", "> 1%",

4400
yarn.lock

File diff suppressed because it is too large Load Diff