@spinnaker/huaweicloud 2026.2.3 → 2026.3.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.
@@ -1 +1 @@
1
- export declare const HUAWEICLOUD_MODULE = "spinnaker.huaweicloud";
1
+ export {};
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { HUAWEICLOUD_MODULE } from './huaweicloud.module';
1
+ import './huaweicloud.module';
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{module as r}from"angular";import{CloudProviderRegistry as e,DeploymentStrategyRegistry as o}from"@spinnaker/core";const i="spinnaker.huaweicloud";r(i,[]).config(()=>{e.registerProvider("huaweicloud",{name:"huaweicloud"})}),o.registerProvider("huaweicloud",["redblack"]);export{i as HUAWEICLOUD_MODULE};
1
+ import{CloudProviderRegistry as e,DeploymentStrategyRegistry as r}from"@spinnaker/core";e.registerProvider("huaweicloud",{name:"huaweicloud"}),r.registerProvider("huaweicloud",["redblack"]);
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/huaweicloud.module.ts"],"sourcesContent":["'use strict';\n\nimport { module } from 'angular';\n\nimport { CloudProviderRegistry, DeploymentStrategyRegistry } from '@spinnaker/core';\n\nexport const HUAWEICLOUD_MODULE = 'spinnaker.huaweicloud';\nmodule(HUAWEICLOUD_MODULE, []).config(() => {\n CloudProviderRegistry.registerProvider('huaweicloud', {\n name: 'huaweicloud',\n });\n});\n\nDeploymentStrategyRegistry.registerProvider('huaweicloud', ['redblack']);\n"],"names":["HUAWEICLOUD_MODULE","module","config","CloudProviderRegistry","registerProvider","name","DeploymentStrategyRegistry"],"mappings":"yHAMO,MAAMA,EAAqB,wBAClCC,EAAOD,EAAoB,IAAIE,OAAO,KACpCC,EAAsBC,iBAAiB,cAAe,CACpDC,KAAM,kBAIVC,EAA2BF,iBAAiB,cAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sources":["../src/huaweicloud.module.ts"],"sourcesContent":["import { CloudProviderRegistry, DeploymentStrategyRegistry } from '@spinnaker/core';\n\nCloudProviderRegistry.registerProvider('huaweicloud', {\n name: 'huaweicloud',\n});\n\nDeploymentStrategyRegistry.registerProvider('huaweicloud', ['redblack']);\n"],"names":["CloudProviderRegistry","registerProvider","name","DeploymentStrategyRegistry"],"mappings":"wFAEAA,EAAsBC,iBAAiB,cAAe,CACpDC,KAAM,gBAGRC,EAA2BF,iBAAiB,cAAe,CAAC"}
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "https://github.com/spinnaker/spinnaker.git"
6
6
  },
7
7
  "license": "Apache-2.0",
8
- "version": "2026.2.3",
8
+ "version": "2026.3.0",
9
9
  "module": "dist/index.js",
10
10
  "typings": "dist/index.d.ts",
11
11
  "publishConfig": {
@@ -21,15 +21,13 @@
21
21
  "lib": "npm run build"
22
22
  },
23
23
  "dependencies": {
24
- "@spinnaker/core": "^0.29.1",
25
- "angular": "1.8.3"
24
+ "@spinnaker/core": "^0.29.1"
26
25
  },
27
26
  "devDependencies": {
28
27
  "@spinnaker/eslint-plugin": "^3.0.2",
29
28
  "@spinnaker/scripts": "^0.4.0",
30
- "@types/angular": "1.6.26",
31
29
  "shx": "0.3.3",
32
- "typescript": "4.3.5"
30
+ "typescript": "5.0.4"
33
31
  },
34
- "gitHead": "a4e60ac0d767ffea0a41057a8bd9b0df110dfaa4"
32
+ "gitHead": "0f7d75f5d4b42c1675e2ecc69a53f8eb73090eb9"
35
33
  }
@@ -1,14 +1,7 @@
1
- 'use strict';
2
-
3
- import { module } from 'angular';
4
-
5
1
  import { CloudProviderRegistry, DeploymentStrategyRegistry } from '@spinnaker/core';
6
2
 
7
- export const HUAWEICLOUD_MODULE = 'spinnaker.huaweicloud';
8
- module(HUAWEICLOUD_MODULE, []).config(() => {
9
- CloudProviderRegistry.registerProvider('huaweicloud', {
10
- name: 'huaweicloud',
11
- });
3
+ CloudProviderRegistry.registerProvider('huaweicloud', {
4
+ name: 'huaweicloud',
12
5
  });
13
6
 
14
7
  DeploymentStrategyRegistry.registerProvider('huaweicloud', ['redblack']);
@@ -0,0 +1,17 @@
1
+ import { CloudProviderRegistry, SETTINGS } from '@spinnaker/core';
2
+
3
+ describe('HuaweiCloud package entrypoint', () => {
4
+ beforeAll(() => {
5
+ SETTINGS.providers.huaweicloud = { defaults: {} };
6
+ });
7
+
8
+ it('loads successfully', () => {
9
+ expect(() => require('./index')).not.toThrow();
10
+ });
11
+
12
+ it('registers the provider configuration', () => {
13
+ require('./index');
14
+
15
+ expect(CloudProviderRegistry.getProvider('huaweicloud')).toEqual({ name: 'huaweicloud' });
16
+ });
17
+ });
package/src/index.ts CHANGED
@@ -1 +1 @@
1
- export { HUAWEICLOUD_MODULE } from './huaweicloud.module';
1
+ import './huaweicloud.module';