@microtronics/studio-cli 0.32.0 → 0.32.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/CHANGELOG.md CHANGED
@@ -1,10 +1,18 @@
1
1
 
2
2
 
3
- ## 0.32.0 (2025-05-23)
3
+ ## 0.32.1 (2025-06-02)
4
4
 
5
5
 
6
- ### Features
6
+ ### Bug Fixes
7
7
 
8
+ * **studio-cli:** enable prerelease handling in semver range checks ([77f6720](https://bitbucket.org/microtronics-core/vscode-studio/commits/77f6720f643c0ad491fca1d0ac0ae37bae1fbbd4))
9
+ * **studio-cli:** improve validation for project properties ([1cc8749](https://bitbucket.org/microtronics-core/vscode-studio/commits/1cc8749d2fa8bcea39605477fdc53480791f6c35))
10
+
11
+ ## 0.32.0 (2025-05-23)
12
+
13
+
14
+ ### Features
15
+
8
16
  * **studio-cli:** support dde write `flags` support based on dlo-core version ([039ba9b](https://bitbucket.org/microtronics-core/vscode-studio/commits/039ba9b85841bbe7fb6c5606f83438cc080e7016))
9
17
 
10
18
  ## 0.31.1 (2025-05-12)
@@ -92,7 +92,7 @@ var Dependencies;
92
92
  * @private
93
93
  */
94
94
  function satisfiesSemverRange(libName, v1, range) {
95
- const satisfies = semver.satisfies(v1, range);
95
+ const satisfies = semver.satisfies(v1, range, { includePrerelease: true });
96
96
  if (!satisfies) {
97
97
  throw new Error(`${libName}, version ${v1} does not satisfy required constraint ${range}`);
98
98
  }
package/out/manifest.js CHANGED
@@ -218,11 +218,14 @@ var Manifest;
218
218
  const errorMessage = `Publisher can only contain 'A' through 'Z', 'a' through 'z', '0' through '9' and '-'. The Publisher start with an alphabetic or numeric character.`;
219
219
  const valid = publisher.match(/^[a-zA-Z0-9-]+$/);
220
220
  if (valid) {
221
- const invalidChars = ['-'];
221
+ const invalidChars = ['_'];
222
222
  if (invalidChars.includes(publisher[0]) || invalidChars.includes(publisher[publisher.length - 1])) {
223
223
  return errorMessage;
224
224
  }
225
225
  }
226
+ else {
227
+ return errorMessage;
228
+ }
226
229
  return null;
227
230
  }
228
231
  Manifest.validatePublisherId = validatePublisherId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microtronics/studio-cli",
3
- "version": "0.32.0",
3
+ "version": "0.32.1",
4
4
  "description": "Microtronics Studio CLI Tool",
5
5
  "main": "./out/api.js",
6
6
  "typings": "./dist/studio-cli.d.ts",
@@ -40,7 +40,7 @@
40
40
  "minimatch": "^10.0.1",
41
41
  "openapi-fetch": "^0.13.0",
42
42
  "pako": "^2.1.0",
43
- "semver": "^7.6.3",
43
+ "semver": "^7.7.2",
44
44
  "@gera2ld/tarjs": "^0.3.1",
45
45
  "tinytar-fix": "^0.1.1",
46
46
  "update-notifier": "^7.3.1",