@rancher/create-extension 3.0.7 → 3.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,11 +3,11 @@
3
3
  "version": "0.1.0",
4
4
  "private": false,
5
5
  "engines": {
6
- "node": ">=20"
6
+ "node": ">=24"
7
7
  },
8
8
  "dependencies": {},
9
9
  "resolutions": {
10
- "@types/node": "~20.10.0",
10
+ "@types/node": "~25.3.0",
11
11
  "@types/lodash": "4.17.5"
12
12
  }
13
13
  }
@@ -0,0 +1,19 @@
1
+ name: Test extensions build
2
+
3
+ #
4
+ on:
5
+ pull_request:
6
+
7
+ defaults:
8
+ run:
9
+ shell: bash
10
+ working-directory: ./
11
+
12
+ jobs:
13
+ build-extension-charts:
14
+ uses: rancher/dashboard/.github/workflows/build-extensions-test.yml@master
15
+ # with this input you can disable this test for any given extension
16
+ # if an exceptional case occurs. Example:
17
+ # with:
18
+ # disable_exts_build: elemental,elemental-v2
19
+ # where elemental,elemental-v2 are subfolder names under /pkg
package/app/files/.nvmrc CHANGED
@@ -1 +1 @@
1
- 20
1
+ 24
package/app/init CHANGED
@@ -123,7 +123,8 @@ if ( addWorkflowFolder ) {
123
123
 
124
124
  const workflowFiles = [
125
125
  'build-extension-catalog.yml',
126
- 'build-extension-charts.yml'
126
+ 'build-extension-charts.yml',
127
+ 'build-extensions-test.yml'
127
128
  ];
128
129
 
129
130
  workflowFiles.forEach((fileName) => {
package/app/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "init"
12
12
  ],
13
13
  "engines": {
14
- "node": ">=20.0.0"
14
+ "node": ">=24.0.0"
15
15
  },
16
16
  "_requires": [
17
17
  "core-js",
@@ -11,7 +11,7 @@
11
11
  "init"
12
12
  ],
13
13
  "engines": {
14
- "node": ">=20.0.0"
14
+ "node": ">=24.0.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "diff": "^7.0.0",
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@rancher/create-extension",
3
3
  "description": "Rancher UI Extension generator",
4
- "version": "3.0.7",
4
+ "version": "3.0.10",
5
5
  "license": "Apache-2.0",
6
6
  "author": "SUSE",
7
+ "repository": "https://github.com/rancher/dashboard",
7
8
  "packageManager": "yarn@4.5.0",
8
9
  "bin": {
9
10
  "create-extension": "init"
@@ -13,7 +14,7 @@
13
14
  "init"
14
15
  ],
15
16
  "engines": {
16
- "node": ">=20"
17
+ "node": ">=24"
17
18
  },
18
19
  "dependencies": {
19
20
  "diff": "^7.0.0",
@@ -23,9 +24,9 @@
23
24
  "semver": "^7.6.3"
24
25
  },
25
26
  "_pkgs": {
26
- "core-js": "3.25.3",
27
- "css-loader": "6.7.3",
27
+ "core-js": "3.48.0",
28
+ "css-loader": "7.1.2",
28
29
  "@types/lodash": "4.14.184",
29
- "@rancher/components": "0.3.0-alpha.1"
30
+ "@rancher/components": "0.3.0-alpha.4"
30
31
  }
31
32
  }
package/pkg/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "init"
12
12
  ],
13
13
  "engines": {
14
- "node": ">=20.0.0"
14
+ "node": ">=24.0.0"
15
15
  },
16
16
  "dependencies": {
17
17
  "fs-extra": "^10.0.0"
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "scripts": {},
13
13
  "engines": {
14
- "node": ">=16"
14
+ "node": ">=24"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@vue/cli-plugin-babel": "~5.0.0",
package/pkg/vue-shim.ts CHANGED
@@ -1,4 +1,15 @@
1
- declare module '*.vue' {
2
- import Vue from 'vue';
3
- export default Vue;
1
+ /* eslint-disable */
2
+ export { };
3
+
4
+ declare module 'vue' {
5
+ interface ComponentCustomProperties {
6
+ /**
7
+ * Lookup a given string with the given arguments
8
+ * @param raw if set, do not do HTML escaping.
9
+ */
10
+ t: {
11
+ (key: string, args?: Record<string, any>, raw?: boolean): string;
12
+ (options: { k: string; raw?: boolean; tag?: string | Record<string, any>; escapehtml?: boolean }): string;
13
+ }
14
+ }
4
15
  }
@@ -12,7 +12,7 @@
12
12
  "upgrade"
13
13
  ],
14
14
  "engines": {
15
- "node": ">=20.0.0"
15
+ "node": ">=24.0.0"
16
16
  },
17
17
  "dependencies": {
18
18
  "fs-extra": "^10.0.0"