@microtronics/studio-cli 0.19.2 → 0.20.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
 
2
2
 
3
+ ## 0.20.0 (2025-02-25)
4
+
5
+
6
+ ### Features
7
+
8
+ * **studio-cli:** add wynni env to cli ([6864b8b](https://bitbucket.org/microtronics-core/vscode-studio/commits/6864b8ba5877efe577af799253e6c26ab71053d9))
9
+ * **studio-cli:** manifest support for `pov.details.lowLevel:boolean` ([9ae0dab](https://bitbucket.org/microtronics-core/vscode-studio/commits/9ae0dabe1dbacb4af3fe549ba767e712fc70be07))
10
+
3
11
  ## 0.19.2 (2025-02-21)
4
12
 
5
13
  ## 0.19.1 (2025-02-20)
@@ -2101,7 +2101,7 @@ export declare namespace Manifest {
2101
2101
  target?: Registry.ApiNewApplication['targetSystem'];
2102
2102
  };
2103
2103
  pov?: {
2104
- details?: ApmPartScripts;
2104
+ details?: PovDetails;
2105
2105
  };
2106
2106
  blo?: BloSettings;
2107
2107
  }
@@ -2112,6 +2112,9 @@ export declare namespace Manifest {
2112
2112
  buildCommand: string;
2113
2113
  workingPath: string;
2114
2114
  }
2115
+ export interface PovDetails extends ApmPartScripts {
2116
+ lowLevel?: boolean;
2117
+ }
2115
2118
  export enum BloAccessLevel {
2116
2119
  restricted = "restricted",
2117
2120
  global = "global"
@@ -48,6 +48,7 @@ var APM;
48
48
  };
49
49
  if (pov && pov.details) {
50
50
  tagHeader.pov_location = manifest_1.Manifest.PovLocation.pure;
51
+ tagHeader.pov_details_lowlevel = !!pov.details.lowLevel;
51
52
  }
52
53
  if (projectType === 'addon') {
53
54
  tagHeader.required_hwfw = undefined;
@@ -21,9 +21,14 @@ var Registry;
21
21
  * Get the actual api url based on the STUDIO_ENV
22
22
  */
23
23
  Registry.getAPIUrl = () => {
24
- const isLucky = process.env.STUDIO_ENV === 'lucky';
25
- const url = isLucky ? 'https://api.registry.stage.microtronics.com/v1' : 'https://api.registry.microtronics.com/v1';
26
- return { baseUrl: url };
24
+ let url = 'https://api.registry.microtronics.com';
25
+ if (process.env.STUDIO_ENV === 'lucky') {
26
+ url = 'https://api.registry.lucky.ci.microtronics.com';
27
+ }
28
+ else if (process.env.STUDIO_ENV === 'wynni') {
29
+ url = 'https://api.registry.wynni.ci.microtronics.com';
30
+ }
31
+ return { baseUrl: url + '/v1' };
27
32
  };
28
33
  /**
29
34
  * Fetch the library profile of the given library
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microtronics/studio-cli",
3
- "version": "0.19.2",
3
+ "version": "0.20.0",
4
4
  "description": "Microtronics Studio CLI Tool",
5
5
  "main": "./out/api.js",
6
6
  "typings": "./dist/studio-cli.d.ts",