@spinnaker/pluginsdk 0.3.2 → 2025.0.1
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 +4 -3
- package/scaffold/package.json +5 -2
- package/scripts/dev-proxy/server.js +9 -4
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spinnaker/pluginsdk",
|
|
3
3
|
"description": "Provides blessed opinions (rollup, code format, lint) and packages (react, etc) to plugin developers",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "2025.0.1",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"publishConfig": {
|
|
9
|
-
"access": "public"
|
|
9
|
+
"access": "public",
|
|
10
|
+
"registry": "https://registry.npmjs.org"
|
|
10
11
|
},
|
|
11
12
|
"scripts": {
|
|
12
13
|
"clean": "shx rm -rf dist",
|
|
@@ -47,5 +48,5 @@
|
|
|
47
48
|
"scripts",
|
|
48
49
|
"pluginconfig"
|
|
49
50
|
],
|
|
50
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "ad8bab4aea2c6174eeb6c5e20614f15d26313a7a"
|
|
51
52
|
}
|
package/scaffold/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spinnaker-deck-plugin-scaffold",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2025.0.1",
|
|
4
4
|
"private": true,
|
|
5
5
|
"module": "build/dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,5 +17,8 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@spinnaker/pluginsdk": "latest"
|
|
19
19
|
},
|
|
20
|
-
"devDependencies": {}
|
|
20
|
+
"devDependencies": {},
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"registry": "https://registry.npmjs.org"
|
|
23
|
+
}
|
|
21
24
|
}
|
|
@@ -26,6 +26,11 @@ const packageJson = JSON.parse(fs.readFileSync('package.json', 'UTF-8'));
|
|
|
26
26
|
|
|
27
27
|
const DEV_PROXY_HOST = process.env.DEV_PROXY_HOST || (packageJson.devProxy && packageJson.devProxy.host);
|
|
28
28
|
|
|
29
|
+
const DEV_PROXY_HTTP_PORT =
|
|
30
|
+
parseInt(process.env.DEV_PROXY_HTTP_PORT || (packageJson.devProxy && packageJson.devProxy.httpPort)) || 9000;
|
|
31
|
+
const DEV_PROXY_HTTPS_PORT =
|
|
32
|
+
parseInt(process.env.DEV_PROXY_HTTPS_PORT || (packageJson.devProxy && packageJson.devProxy.httpsPort)) || 9443;
|
|
33
|
+
|
|
29
34
|
if (!DEV_PROXY_HOST) {
|
|
30
35
|
console.error();
|
|
31
36
|
console.error();
|
|
@@ -94,7 +99,7 @@ app.use('/livereload.js', require('./livereload'));
|
|
|
94
99
|
app.use('/', createProxyMiddleware({ target: DEV_PROXY_HOST, changeOrigin: true }));
|
|
95
100
|
|
|
96
101
|
// http
|
|
97
|
-
http.createServer(app).listen(
|
|
102
|
+
http.createServer(app).listen(DEV_PROXY_HTTP_PORT);
|
|
98
103
|
|
|
99
104
|
// https
|
|
100
105
|
https
|
|
@@ -105,7 +110,7 @@ https
|
|
|
105
110
|
},
|
|
106
111
|
app,
|
|
107
112
|
)
|
|
108
|
-
.listen(
|
|
113
|
+
.listen(DEV_PROXY_HTTPS_PORT);
|
|
109
114
|
|
|
110
|
-
console.log(`Server started on http://localhost
|
|
111
|
-
console.log(`Server started on https://localhost
|
|
115
|
+
console.log(`Server started on http://localhost:${DEV_PROXY_HTTP_PORT}/`);
|
|
116
|
+
console.log(`Server started on https://localhost:${DEV_PROXY_HTTPS_PORT}/`);
|
package/dist/index.d.ts
DELETED
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC"}
|
package/dist/index.js
DELETED
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|