@spinnaker/pluginsdk 0.3.2 → 2025.0.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
@@ -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.3.2",
4
+ "version": "2025.0.0",
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": "20d6ca89f39a5f44a802a1ccaffd669587450d76"
51
+ "gitHead": "5b197da8614979a51dc24b0a6f92e19c3162e874"
51
52
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spinnaker-deck-plugin-scaffold",
3
- "version": "1.0.0",
3
+ "version": "2025.0.0",
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(9000);
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(9443);
113
+ .listen(DEV_PROXY_HTTPS_PORT);
109
114
 
110
- console.log(`Server started on http://localhost:9000/`);
111
- console.log(`Server started on https://localhost:9443/`);
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
@@ -1,2 +0,0 @@
1
- export { Overrides } from '@spinnaker/core';
2
- //# sourceMappingURL=index.d.ts.map
@@ -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
@@ -1,2 +0,0 @@
1
- export{Overrides}from"@spinnaker/core";
2
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}