@microtronics/studio-cli 0.29.1 → 0.29.3

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,10 +1,19 @@
1
1
 
2
2
 
3
- ## 0.29.1 (2025-04-03)
3
+ ## 0.29.3 (2025-04-25)
4
4
 
5
5
 
6
6
  ### Bug Fixes
7
7
 
8
+ * **studio-cli:** use current dde version as reference to ([b07ab04](https://bitbucket.org/microtronics-core/vscode-studio/commits/b07ab04f97d560d8b51935b673088dc7b7c21ed4))
9
+
10
+ ## 0.29.2 (2025-04-04)
11
+
12
+ ## 0.29.1 (2025-04-03)
13
+
14
+
15
+ ### Bug Fixes
16
+
8
17
  * **studio-core:** improve container name matching and update warning format ([049c236](https://bitbucket.org/microtronics-core/vscode-studio/commits/049c236ad3c8697d3ca319f960a9ef58a752c9aa))
9
18
 
10
19
  ## 0.29.0 (2025-04-03)
@@ -2349,7 +2349,7 @@ export declare namespace Package {
2349
2349
  * @param allowedBackends
2350
2350
  * @param env
2351
2351
  */
2352
- export function release(cwd: URI, fs: LocalFS, logger: Log.Logger, token: Registry.AuthToken, releasePhase: APM.TagPhase, allowedBackends: Registry.ApiNewApplication['allowedBackends'], env: Globals.ENV): Promise<void>;
2352
+ export function release(cwd: URI, fs: LocalFS, logger: Log.Logger, env: Globals.ENV, token: Registry.AuthToken, releasePhase?: APM.TagPhase, allowedBackends?: Registry.ApiNewApplication['allowedBackends']): Promise<void>;
2353
2353
  /**
2354
2354
  * Publish an application model tag
2355
2355
  * @param cwd
@@ -4616,7 +4616,7 @@ declare interface paths {
4616
4616
  * @param {APM.TagPhase} optsPhase - The release phase tag associated with the package publishing.
4617
4617
  * @return {Promise<void>} A promise that resolves when the package has been successfully published or rejects with an error if the process fails.
4618
4618
  */
4619
- export declare function publish(cwd: URI, fs: LocalFS, logger: Log.Logger, env: Globals.ENV, apiToken: string | null, optsAllowedBackends: string | undefined, optsPhase: APM.TagPhase): Promise<void>;
4619
+ export declare function publish(cwd: URI, fs: LocalFS, logger: Log.Logger, env: Globals.ENV, apiToken: string | null, optsAllowedBackends: string | undefined, optsPhase?: APM.TagPhase): Promise<void>;
4620
4620
 
4621
4621
  export declare namespace Registry {
4622
4622
  export type AuthToken = string | null;
package/out/api.js CHANGED
@@ -101,6 +101,6 @@ async function publish(cwd, fs, logger, env, apiToken, optsAllowedBackends, opts
101
101
  throw new Error(errorMessage);
102
102
  }
103
103
  }
104
- return package_1.Package.release(cwd, fs, logger, apiToken, optsPhase, allowedBackends, env);
104
+ return package_1.Package.release(cwd, fs, logger, env, apiToken, optsPhase, allowedBackends);
105
105
  }
106
106
  //# sourceMappingURL=api.js.map
package/out/dde/dde.js CHANGED
@@ -198,7 +198,7 @@ var DDE;
198
198
  // find the previous version
199
199
  const previousVersion = appVersions.find(version => {
200
200
  // the appProfile is fetched with semver header true, therefore is the version.version a valid semver string.
201
- return !semver.prerelease(version.version) && semver.lt(version.version, currentVersion);
201
+ return !semver.prerelease(version.version) && semver.lte(version.version, currentVersion);
202
202
  });
203
203
  const versionFile = previousVersion?.files.find(file => file.name === 'dde.json');
204
204
  if (!versionFile) {
@@ -102,7 +102,7 @@ var Package;
102
102
  * @param allowedBackends
103
103
  * @param env
104
104
  */
105
- async function release(cwd, fs, logger, token, releasePhase, allowedBackends, env) {
105
+ async function release(cwd, fs, logger, env, token, releasePhase, allowedBackends) {
106
106
  const manifest = await manifest_1.Manifest.read(cwd, fs);
107
107
  if (manifest_1.Manifest.isLibrary(manifest)) {
108
108
  logger.info('Library project detected. Publishing library...');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microtronics/studio-cli",
3
- "version": "0.29.1",
3
+ "version": "0.29.3",
4
4
  "description": "Microtronics Studio CLI Tool",
5
5
  "main": "./out/api.js",
6
6
  "typings": "./dist/studio-cli.d.ts",