@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.
- package/app/app.package.json +2 -2
- package/app/files/.github/workflows/build-extensions-test.yml +19 -0
- package/app/files/.nvmrc +1 -1
- package/app/init +2 -1
- package/app/package.json +1 -1
- package/migrate/package.json +1 -1
- package/package.json +6 -5
- package/pkg/package.json +1 -1
- package/pkg/pkg.package.json +1 -1
- package/pkg/vue-shim.ts +14 -3
- package/update/package.json +1 -1
package/app/app.package.json
CHANGED
|
@@ -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
|
-
|
|
1
|
+
24
|
package/app/init
CHANGED
package/app/package.json
CHANGED
package/migrate/package.json
CHANGED
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.
|
|
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": ">=
|
|
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.
|
|
27
|
-
"css-loader": "
|
|
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.
|
|
30
|
+
"@rancher/components": "0.3.0-alpha.4"
|
|
30
31
|
}
|
|
31
32
|
}
|
package/pkg/package.json
CHANGED
package/pkg/pkg.package.json
CHANGED
package/pkg/vue-shim.ts
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
}
|