@rancher/shell 0.3.16 → 0.3.17
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/assets/images/wechat-qr-code.jpg +0 -0
- package/assets/translations/en-us.yaml +69 -14
- package/assets/translations/zh-hans.yaml +87 -7
- package/chart/__tests__/S3.test.ts +50 -0
- package/chart/rancher-backup/S3.vue +21 -0
- package/chart/rancher-backup/index.vue +4 -0
- package/components/CommunityLinks.vue +1 -0
- package/components/FileDiff.vue +92 -85
- package/components/ResourceDetail/index.vue +4 -12
- package/components/ResourceList/index.vue +1 -1
- package/components/ResourceTable.vue +50 -2
- package/components/YamlEditor.vue +1 -0
- package/components/auth/RoleDetailEdit.vue +1 -0
- package/components/form/NameNsDescription.vue +28 -12
- package/components/form/NodeAffinity.vue +2 -2
- package/components/form/PodAffinity.vue +2 -2
- package/components/form/ResourceTabs/index.vue +8 -2
- package/components/form/Select.vue +16 -0
- package/components/form/__tests__/NodeAffinity.test.ts +38 -0
- package/components/form/__tests__/PodAffinity.test.ts +46 -0
- package/components/formatter/ClusterLink.vue +8 -4
- package/components/formatter/ImageName.vue +23 -0
- package/components/formatter/PodImages.vue +7 -1
- package/components/formatter/__tests__/ClusterLink.test.ts +101 -0
- package/components/nav/Header.vue +2 -2
- package/config/__test__/home-links.test.ts +62 -0
- package/config/home-links.js +15 -3
- package/config/labels-annotations.js +5 -1
- package/config/router.js +0 -4
- package/config/settings.ts +4 -0
- package/config/table-headers.js +6 -5
- package/config/uiplugins.js +50 -5
- package/core/plugin-helpers.js +20 -12
- package/core/plugin.ts +9 -0
- package/core/plugins.js +1 -1
- package/core/types-provisioning.ts +253 -0
- package/core/types.ts +17 -3
- package/detail/autoscaling.horizontalpodautoscaler/index.vue +50 -1
- package/detail/node.vue +6 -6
- package/detail/pod.vue +2 -6
- package/detail/provisioning.cattle.io.cluster.vue +46 -7
- package/detail/workload/index.vue +9 -9
- package/edit/__tests__/fleet.cattle.io.gitrepo.test.ts +62 -0
- package/edit/auth/github.vue +1 -0
- package/edit/autoscaling.horizontalpodautoscaler/hpa-scaling-rule.vue +130 -0
- package/edit/autoscaling.horizontalpodautoscaler/index.vue +79 -0
- package/edit/fleet.cattle.io.gitrepo.vue +18 -1
- package/edit/namespace.vue +9 -1
- package/edit/networking.k8s.io.ingress/RulePath.vue +0 -2
- package/edit/provisioning.cattle.io.cluster/AgentConfiguration.vue +1 -30
- package/edit/provisioning.cattle.io.cluster/__tests__/rke2.test.ts +79 -1
- package/edit/provisioning.cattle.io.cluster/index.vue +52 -0
- package/edit/provisioning.cattle.io.cluster/rke2.vue +330 -150
- package/edit/ui.cattle.io.navlink.vue +2 -1
- package/initialize/App.js +3 -13
- package/initialize/layouts.ts +26 -0
- package/list/provisioning.cattle.io.cluster.vue +8 -1
- package/middleware/authenticated.js +93 -5
- package/mixins/brand.js +39 -3
- package/mixins/child-hook.js +2 -2
- package/mixins/create-edit-view/impl.js +2 -2
- package/models/fleet.cattle.io.gitrepo.js +1 -0
- package/models/provisioning.cattle.io.cluster.js +9 -1
- package/package.json +2 -2
- package/pages/about.vue +8 -2
- package/pages/auth/login.vue +1 -1
- package/pages/auth/logout.vue +11 -3
- package/pages/c/_cluster/apps/charts/index.vue +5 -2
- package/pages/c/_cluster/apps/charts/install.vue +5 -0
- package/pages/c/_cluster/explorer/index.vue +1 -10
- package/pages/c/_cluster/uiplugins/AddExtensionRepos.vue +177 -0
- package/pages/c/_cluster/uiplugins/PluginInfoPanel.vue +19 -3
- package/pages/c/_cluster/uiplugins/RemoveUIPlugins.vue +90 -21
- package/pages/c/_cluster/uiplugins/SetupUIPlugins.vue +107 -37
- package/pages/c/_cluster/uiplugins/index.vue +155 -44
- package/pages/docs/_doc.vue +9 -3
- package/pages/home.vue +5 -5
- package/pages/support/index.vue +10 -4
- package/pkg/auto-import.js +1 -1
- package/plugins/clean-tooltip-directive.js +1 -1
- package/plugins/dashboard-store/resource-class.js +35 -2
- package/plugins/plugin.js +9 -1
- package/rancher-components/BadgeState/BadgeState.vue +5 -1
- package/rancher-components/Banner/Banner.test.ts +51 -1
- package/rancher-components/Banner/Banner.vue +134 -53
- package/rancher-components/Card/Card.vue +24 -7
- package/rancher-components/Form/Checkbox/Checkbox.test.ts +20 -29
- package/rancher-components/Form/Checkbox/Checkbox.vue +45 -20
- package/rancher-components/Form/LabeledInput/LabeledInput.test.ts +2 -8
- package/rancher-components/Form/LabeledInput/LabeledInput.vue +22 -10
- package/rancher-components/Form/Radio/RadioButton.vue +30 -13
- package/rancher-components/Form/Radio/RadioGroup.vue +26 -7
- package/rancher-components/Form/TextArea/TextAreaAutoGrow.vue +7 -6
- package/rancher-components/Form/ToggleSwitch/ToggleSwitch.test.ts +25 -38
- package/rancher-components/Form/ToggleSwitch/ToggleSwitch.vue +23 -11
- package/rancher-components/LabeledTooltip/LabeledTooltip.vue +19 -5
- package/rancher-components/StringList/StringList.test.ts +453 -49
- package/rancher-components/StringList/StringList.vue +44 -26
- package/scripts/extension/publish +2 -2
- package/scripts/typegen.sh +1 -0
- package/server/server-middleware.js +4 -12
- package/store/index.js +13 -0
- package/store/prefs.js +0 -3
- package/store/type-map.js +17 -29
- package/types/shell/index.d.ts +236 -83
- package/utils/kube.js +9 -0
- package/utils/object.js +27 -0
- package/utils/settings.ts +2 -2
- package/vue.config.js +3 -2
- package/components/.DS_Store +0 -0
- package/components/__tests__/.DS_Store +0 -0
- package/creators/pkg/package-lock.json +0 -37
- package/pages/safeMode.vue +0 -17
- package/rancher-components/components/BadgeState/BadgeState.spec.ts +0 -12
- package/rancher-components/components/BadgeState/BadgeState.vue +0 -111
- package/rancher-components/components/BadgeState/index.ts +0 -1
- package/rancher-components/components/Banner/Banner.test.ts +0 -63
- package/rancher-components/components/Banner/Banner.vue +0 -244
- package/rancher-components/components/Banner/index.ts +0 -1
- package/rancher-components/components/Card/Card.vue +0 -167
- package/rancher-components/components/Card/index.ts +0 -1
- package/rancher-components/components/Form/Checkbox/Checkbox.test.ts +0 -68
- package/rancher-components/components/Form/Checkbox/Checkbox.vue +0 -420
- package/rancher-components/components/Form/Checkbox/index.ts +0 -1
- package/rancher-components/components/Form/LabeledInput/LabeledInput.test.ts +0 -23
- package/rancher-components/components/Form/LabeledInput/LabeledInput.vue +0 -355
- package/rancher-components/components/Form/LabeledInput/index.ts +0 -1
- package/rancher-components/components/Form/Radio/RadioButton.vue +0 -287
- package/rancher-components/components/Form/Radio/RadioGroup.vue +0 -254
- package/rancher-components/components/Form/Radio/index.ts +0 -2
- package/rancher-components/components/Form/TextArea/TextAreaAutoGrow.vue +0 -170
- package/rancher-components/components/Form/TextArea/index.ts +0 -1
- package/rancher-components/components/Form/ToggleSwitch/ToggleSwitch.test.ts +0 -94
- package/rancher-components/components/Form/ToggleSwitch/ToggleSwitch.vue +0 -149
- package/rancher-components/components/Form/ToggleSwitch/index.ts +0 -1
- package/rancher-components/components/Form/index.ts +0 -5
- package/rancher-components/components/LabeledTooltip/LabeledTooltip.vue +0 -151
- package/rancher-components/components/LabeledTooltip/index.ts +0 -1
- package/rancher-components/components/StringList/StringList.test.ts +0 -484
- package/rancher-components/components/StringList/StringList.vue +0 -611
- package/rancher-components/components/StringList/index.ts +0 -1
- package/yarn-error.log +0 -196
- /package/rancher-components/{components/Card → Card}/Card.test.ts +0 -0
- /package/rancher-components/{components/Form → Form}/Radio/RadioButton.test.ts +0 -0
package/yarn-error.log
DELETED
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
Arguments:
|
|
2
|
-
/Users/aalves/.nvm/versions/node/v16.16.0/bin/node /Users/aalves/.nvm/versions/node/v16.16.0/bin/yarn publish . --new-version 0.3.3 --no-git-tag-version --access public
|
|
3
|
-
|
|
4
|
-
PATH:
|
|
5
|
-
/Users/aalves/.nvm/versions/node/v16.16.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
|
|
6
|
-
|
|
7
|
-
Yarn version:
|
|
8
|
-
1.22.19
|
|
9
|
-
|
|
10
|
-
Node version:
|
|
11
|
-
16.16.0
|
|
12
|
-
|
|
13
|
-
Platform:
|
|
14
|
-
darwin arm64
|
|
15
|
-
|
|
16
|
-
Trace:
|
|
17
|
-
Error: https://registry.yarnpkg.com/-/user/org.couchdb.user:aalves08: failed to authenticate: Could not authenticate aalves08: bad password
|
|
18
|
-
at Request.params.callback [as _callback] (/Users/aalves/.nvm/versions/node/v16.16.0/lib/node_modules/yarn/lib/cli.js:66145:18)
|
|
19
|
-
at Request.self.callback (/Users/aalves/.nvm/versions/node/v16.16.0/lib/node_modules/yarn/lib/cli.js:140890:22)
|
|
20
|
-
at Request.emit (node:events:527:28)
|
|
21
|
-
at Request.<anonymous> (/Users/aalves/.nvm/versions/node/v16.16.0/lib/node_modules/yarn/lib/cli.js:141862:10)
|
|
22
|
-
at Request.emit (node:events:527:28)
|
|
23
|
-
at IncomingMessage.<anonymous> (/Users/aalves/.nvm/versions/node/v16.16.0/lib/node_modules/yarn/lib/cli.js:141784:12)
|
|
24
|
-
at Object.onceWrapper (node:events:641:28)
|
|
25
|
-
at IncomingMessage.emit (node:events:539:35)
|
|
26
|
-
at endReadableNT (node:internal/streams/readable:1345:12)
|
|
27
|
-
at processTicksAndRejections (node:internal/process/task_queues:83:21)
|
|
28
|
-
|
|
29
|
-
npm manifest:
|
|
30
|
-
{
|
|
31
|
-
"name": "@rancher/shell",
|
|
32
|
-
"version": "0.3.3",
|
|
33
|
-
"description": "Rancher Dashboard Shell",
|
|
34
|
-
"repository": "https://github.com/rancherlabs/dashboard",
|
|
35
|
-
"license": "Apache-2.0",
|
|
36
|
-
"author": "SUSE",
|
|
37
|
-
"private": false,
|
|
38
|
-
"engines": {
|
|
39
|
-
"node": ">=12"
|
|
40
|
-
},
|
|
41
|
-
"files": [
|
|
42
|
-
"**/*"
|
|
43
|
-
],
|
|
44
|
-
"scripts": {
|
|
45
|
-
"clean": "./scripts/clean",
|
|
46
|
-
"lint": "./node_modules/.bin/eslint --max-warnings 0 --ext .ts,.js,.vue .",
|
|
47
|
-
"test": "./node_modules/.bin/nyc ava --serial --verbose",
|
|
48
|
-
"nuxt": "./node_modules/.bin/nuxt",
|
|
49
|
-
"dev": "./node_modules/.bin/nuxt dev",
|
|
50
|
-
"mem-dev": "node --max-old-space-size=8192 ./node_modules/.bin/nuxt dev",
|
|
51
|
-
"docker-dev": "docker run --rm --name dashboard-dev -p 8005:8005 -e API=$API -v $(pwd):/src -v dashboard_node:/src/node_modules rancher/dashboard:dev",
|
|
52
|
-
"build": "./node_modules/.bin/nuxt build --devtools",
|
|
53
|
-
"analyze": "./node_modules/.bin/nuxt build --analyze",
|
|
54
|
-
"start": "./node_modules/.bin/nuxt start",
|
|
55
|
-
"generate": "./node_modules/.bin/nuxt generate",
|
|
56
|
-
"dev-debug": "node --inspect ./node_modules/.bin/nuxt",
|
|
57
|
-
"cy:run": "cypress run",
|
|
58
|
-
"cy:open": "cypress open",
|
|
59
|
-
"e2e:pre": "NODE_ENV=dev yarn build",
|
|
60
|
-
"e2e:run": "NODE_ENV=dev START_SERVER_AND_TEST_INSECURE=1 start-server-and-test start https://localhost:8005/ cy:run",
|
|
61
|
-
"e2e:dev": "start-server-and-test dev https://localhost:8005 cy:open"
|
|
62
|
-
},
|
|
63
|
-
"dependencies": {
|
|
64
|
-
"@aws-sdk/client-ec2": "3.1.0",
|
|
65
|
-
"@aws-sdk/client-eks": "3.1.0",
|
|
66
|
-
"@aws-sdk/client-kms": "3.8.1",
|
|
67
|
-
"@babel/plugin-proposal-optional-chaining": "7.14.5",
|
|
68
|
-
"@babel/plugin-proposal-private-property-in-object": "7.14.5",
|
|
69
|
-
"@babel/preset-typescript": "7.16.7",
|
|
70
|
-
"@innologica/vue-dropdown-menu": "0.1.3",
|
|
71
|
-
"@novnc/novnc": "1.2.0",
|
|
72
|
-
"@nuxt/types": "2.14.6",
|
|
73
|
-
"@nuxt/typescript-build": "2.1.0",
|
|
74
|
-
"@nuxtjs/axios": "5.12.0",
|
|
75
|
-
"@nuxtjs/eslint-config-typescript": "6.0.1",
|
|
76
|
-
"@nuxtjs/eslint-module": "1.2.0",
|
|
77
|
-
"@nuxtjs/proxy": "1.3.3",
|
|
78
|
-
"@nuxtjs/style-resources": "1.2.1",
|
|
79
|
-
"@nuxtjs/webpack-profile": "0.1.0",
|
|
80
|
-
"@popperjs/core": "2.4.4",
|
|
81
|
-
"@types/node": "16.4.3",
|
|
82
|
-
"@typescript-eslint/eslint-plugin": "4.33.0",
|
|
83
|
-
"@typescript-eslint/parser": "4.33.0",
|
|
84
|
-
"@vue/cli-plugin-babel": "4.5.15",
|
|
85
|
-
"@vue/cli-plugin-typescript": "4.5.15",
|
|
86
|
-
"@vue/cli-service": "4.5.15",
|
|
87
|
-
"@vue/test-utils": "1.2.1",
|
|
88
|
-
"@vue/vue2-jest": "27.0.0",
|
|
89
|
-
"add": "2.0.6",
|
|
90
|
-
"ansi_up": "5.0.0",
|
|
91
|
-
"babel-eslint": "10.1.0",
|
|
92
|
-
"babel-plugin-module-resolver": "4.0.0",
|
|
93
|
-
"babel-preset-vue": "2.0.2",
|
|
94
|
-
"browser-env": "3.3.0",
|
|
95
|
-
"cookie": "0.5.0",
|
|
96
|
-
"cookie-universal-nuxt": "2.1.4",
|
|
97
|
-
"core-js": "3.21.1",
|
|
98
|
-
"cron-validator": "1.2.0",
|
|
99
|
-
"cronstrue": "1.95.0",
|
|
100
|
-
"cross-env": "6.0.3",
|
|
101
|
-
"css-loader": "4.3.0",
|
|
102
|
-
"csv-loader": "3.0.3",
|
|
103
|
-
"cypress": "10.3.1",
|
|
104
|
-
"d3": "7.3.0",
|
|
105
|
-
"d3-selection": "1.4.1",
|
|
106
|
-
"dagre-d3": "0.6.4",
|
|
107
|
-
"dayjs": "1.8.29",
|
|
108
|
-
"diff2html": "2.11.2",
|
|
109
|
-
"dompurify": "2.0.12",
|
|
110
|
-
"eslint": "7.32.0",
|
|
111
|
-
"eslint-config-standard": "16.0.3",
|
|
112
|
-
"eslint-import-resolver-node": "0.3.4",
|
|
113
|
-
"eslint-module-utils": "2.6.1",
|
|
114
|
-
"eslint-plugin-cypress": "2.12.1",
|
|
115
|
-
"eslint-plugin-import": "2.23.4",
|
|
116
|
-
"eslint-plugin-jest": "24.4.0",
|
|
117
|
-
"eslint-plugin-n": "15.2.0",
|
|
118
|
-
"eslint-plugin-vue": "7.14.0",
|
|
119
|
-
"event-target-shim": "5.0.1",
|
|
120
|
-
"express": "4.17.1",
|
|
121
|
-
"file-saver": "2.0.2",
|
|
122
|
-
"frontmatter-markdown-loader": "3.7.0",
|
|
123
|
-
"identicon.js": "2.3.3",
|
|
124
|
-
"intl-messageformat": "7.8.4",
|
|
125
|
-
"is-url": "1.2.4",
|
|
126
|
-
"jest": "27.5.1",
|
|
127
|
-
"jest-serializer-vue": "2.0.2",
|
|
128
|
-
"jexl": "2.2.2",
|
|
129
|
-
"jquery": "3.5.1",
|
|
130
|
-
"js-cookie": "2.2.1",
|
|
131
|
-
"js-yaml": "4.1.0",
|
|
132
|
-
"js-yaml-loader": "1.2.2",
|
|
133
|
-
"jsdiff": "1.1.1",
|
|
134
|
-
"jsdom-global": "3.0.2",
|
|
135
|
-
"jsonpath-plus": "6.0.1",
|
|
136
|
-
"jsrsasign": "10.2.0",
|
|
137
|
-
"jszip": "3.7.0",
|
|
138
|
-
"lodash": "4.17.21",
|
|
139
|
-
"marked": "4.0.17",
|
|
140
|
-
"nodemon": "2.0.4",
|
|
141
|
-
"nuxt": "2.15.8",
|
|
142
|
-
"nyc": "15.1.0",
|
|
143
|
-
"papaparse": "5.3.0",
|
|
144
|
-
"portal-vue": "2.1.7",
|
|
145
|
-
"rancher-icons": "rancher/icons#v2.0.13",
|
|
146
|
-
"require-extension-hooks": "0.3.3",
|
|
147
|
-
"require-extension-hooks-babel": "1.0.0",
|
|
148
|
-
"require-extension-hooks-vue": "3.0.0",
|
|
149
|
-
"sass": "1.51.0",
|
|
150
|
-
"sass-loader": "10.2.1",
|
|
151
|
-
"serve-static": "1.14.1",
|
|
152
|
-
"set-cookie-parser": "2.4.6",
|
|
153
|
-
"shell-quote": "1.7.3",
|
|
154
|
-
"sinon": "8.1.1",
|
|
155
|
-
"start-server-and-test": "1.13.1",
|
|
156
|
-
"style-loader": "1.2.1",
|
|
157
|
-
"ts-node": "8.10.2",
|
|
158
|
-
"typescript": "4.1.6",
|
|
159
|
-
"url-parse": "1.5.10",
|
|
160
|
-
"v-tooltip": "2.0.3",
|
|
161
|
-
"vue": "2.6.14",
|
|
162
|
-
"vue-clipboard2": "0.3.1",
|
|
163
|
-
"vue-codemirror": "4.0.6",
|
|
164
|
-
"vue-js-modal": "1.3.35",
|
|
165
|
-
"vue-resize": "0.4.5",
|
|
166
|
-
"vue-select": "3.18.3",
|
|
167
|
-
"vue-server-renderer": "2.6.14",
|
|
168
|
-
"vue-shortkey": "3.1.7",
|
|
169
|
-
"vue-template-compiler": "2.6.14",
|
|
170
|
-
"vue-virtual-scroll-list": "^2.3.4",
|
|
171
|
-
"vue2-transitions": "0.3.0",
|
|
172
|
-
"vuedraggable": "2.24.3",
|
|
173
|
-
"vuex": "3.6.2",
|
|
174
|
-
"webpack-bundle-analyzer": "4.5.0",
|
|
175
|
-
"webpack-virtual-modules": "0.4.3",
|
|
176
|
-
"xterm": "5.0.0",
|
|
177
|
-
"xterm-addon-fit": "0.6.0",
|
|
178
|
-
"xterm-addon-search": "0.10.0",
|
|
179
|
-
"xterm-addon-web-links": "0.7.0",
|
|
180
|
-
"xterm-addon-webgl": "0.13.0",
|
|
181
|
-
"worker-loader": "3.0.8",
|
|
182
|
-
"yarn": "1.22.18"
|
|
183
|
-
},
|
|
184
|
-
"nyc": {
|
|
185
|
-
"extension": [
|
|
186
|
-
".js",
|
|
187
|
-
".vue"
|
|
188
|
-
]
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
yarn manifest:
|
|
193
|
-
No manifest
|
|
194
|
-
|
|
195
|
-
Lockfile:
|
|
196
|
-
No lockfile
|
|
File without changes
|
|
File without changes
|