@spinnaker/pluginsdk 2026.1.1 → 2026.2.0
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/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"url": "https://github.com/spinnaker/spinnaker.git"
|
|
6
6
|
},
|
|
7
7
|
"description": "Provides blessed opinions (rollup, code format, lint) and packages (react, etc) to plugin developers",
|
|
8
|
-
"version": "2026.
|
|
8
|
+
"version": "2026.2.0",
|
|
9
9
|
"module": "dist/index.js",
|
|
10
10
|
"typings": "dist/index.d.ts",
|
|
11
11
|
"license": "Apache-2.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"check-peer-dependencies": "^4.0.0",
|
|
32
32
|
"chokidar": "^3.5.1",
|
|
33
33
|
"express": "^4.17.1",
|
|
34
|
-
"http-proxy-middleware": "^
|
|
34
|
+
"http-proxy-middleware": "^2.0.0",
|
|
35
35
|
"husky": "^6.0.0",
|
|
36
36
|
"lint-staged": "^10.5.4",
|
|
37
37
|
"lodash": "^4.17.20",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"scripts",
|
|
53
53
|
"pluginconfig"
|
|
54
54
|
],
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "a9155eb5c4e40b9db5aa9741af28fc2412f7c7d8"
|
|
56
56
|
}
|
package/scaffold/package.json
CHANGED
|
@@ -29,7 +29,7 @@ function checkPackageJson(report) {
|
|
|
29
29
|
installedSdkVersion === latestSdkVersion,
|
|
30
30
|
{
|
|
31
31
|
description: `Install ${PLUGIN_SDK}@${latestSdkVersion}`,
|
|
32
|
-
command: `
|
|
32
|
+
command: `pnpm add ${PLUGIN_SDK}@${latestSdkVersion}`,
|
|
33
33
|
},
|
|
34
34
|
);
|
|
35
35
|
|
|
@@ -43,7 +43,7 @@ function checkPackageJson(report) {
|
|
|
43
43
|
installedPeerDepsVersion === latestPeerDepsVersion,
|
|
44
44
|
{
|
|
45
45
|
description: `Install ${PEER_DEPS}@${latestPeerDepsVersion}`,
|
|
46
|
-
command: `
|
|
46
|
+
command: `pnpm add ${PEER_DEPS}@${latestPeerDepsVersion}`,
|
|
47
47
|
},
|
|
48
48
|
);
|
|
49
49
|
|
|
@@ -42,7 +42,7 @@ if (!DEV_PROXY_HOST) {
|
|
|
42
42
|
console.error();
|
|
43
43
|
console.error('Or, to specify the proxy host on the command line:');
|
|
44
44
|
console.error();
|
|
45
|
-
console.error('DEV_PROXY_HOST=https://existing.spinnaker.deck.url/
|
|
45
|
+
console.error('DEV_PROXY_HOST=https://existing.spinnaker.deck.url/ pnpm proxy');
|
|
46
46
|
console.error();
|
|
47
47
|
console.error();
|
|
48
48
|
process.exit(1);
|
package/scripts/scaffold.js
CHANGED
|
@@ -69,11 +69,11 @@ recursiveCopy(path.resolve(__dirname, '..', 'scaffold'), scaffoldTargetDir);
|
|
|
69
69
|
updatePackageJson(path.resolve(scaffoldTargetDir, 'package.json'), basename);
|
|
70
70
|
|
|
71
71
|
console.log(`Deck plugin scaffolded into ${scaffoldTargetDir}`);
|
|
72
|
-
console.log(`Installing dependencies using '
|
|
72
|
+
console.log(`Installing dependencies using 'pnpm' and 'npx check-peer-dependencies --install' ...`);
|
|
73
73
|
|
|
74
74
|
process.chdir(scaffoldTargetDir);
|
|
75
|
-
console.log(`
|
|
76
|
-
execSync(`
|
|
75
|
+
console.log(`pnpm`);
|
|
76
|
+
execSync(`pnpm install`, { stdio: 'inherit' });
|
|
77
77
|
|
|
78
78
|
console.log(`npx check-peer-dependencies --install`);
|
|
79
79
|
execSync(`npx check-peer-dependencies --install`, { stdio: 'inherit' });
|