@microtronics/studio-cli 0.15.0 → 0.15.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,5 +1,12 @@
1
1
 
2
2
 
3
+ ## 0.15.1 (2025-01-31)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **studio-cli:** didn't allow that allowedBackends are null ([6335dab](https://bitbucket.org/microtronics-core/vscode-studio/commits/6335dab9eb7e783faa4354da304989f3adc79be0))
9
+
3
10
  ## 0.15.0 (2025-01-31)
4
11
 
5
12
 
package/out/manifest.js CHANGED
@@ -194,6 +194,9 @@ var Manifest;
194
194
  if (allowedBackends === undefined) {
195
195
  return 'Allowed backends not specified yet';
196
196
  }
197
+ if (allowedBackends === null) {
198
+ return null;
199
+ }
197
200
  if (Array.isArray(allowedBackends) || allowedBackends?.includes(';')) {
198
201
  const validationArray = allowedBackends?.includes(';') ? allowedBackends.split(';') : allowedBackends;
199
202
  for (const domain of validationArray) {
package/package.json CHANGED
@@ -1,76 +1,76 @@
1
- {
2
- "name": "@microtronics/studio-cli",
3
- "version": "0.15.0",
4
- "description": "Microtronics Studio CLI Tool",
5
- "main": "./out/api.js",
6
- "typings": "./dist/studio-cli.d.ts",
7
- "bin": {
8
- "studio-cli": "studio-cli"
9
- },
10
- "publishConfig": {
11
- "access": "public"
12
- },
13
- "scripts": {
14
- "release": "release-it --ci",
15
- "compile": "npm run build:registryApiTypings && tsc",
16
- "api": "api-extractor run --local --verbose",
17
- "build": "npm run compile && npm run api",
18
- "watch:build": "npm run compile -- --watch",
19
- "test": "cross-env STUDIO_ENV=lucky mocha",
20
- "test-ci": "cross-env STUDIO_ENV=lucky mocha --reporter mocha-junit-reporter",
21
- "watch:test": "npm run test -- --watch",
22
- "prepublishOnly": "npm run build",
23
- "build:registryApiTypings": "npx openapi-typescript https://api.registry.stage.microtronics.com/v1/openapi.yaml -o ./src/typings/registry.ts"
24
- },
25
- "author": "Microtronics",
26
- "license": "ISC",
27
- "dependencies": {
28
- "ajv": "^8.17.1",
29
- "ajv-formats": "^3.0.1",
30
- "ajv-keywords": "^5.1.0",
31
- "commander": "^12.1.0",
32
- "cross-fetch": "^4.0.0",
33
- "glob": "^11.0.1",
34
- "iconv-lite": "^0.6.3",
35
- "minimatch": "^10.0.1",
36
- "ini": "^5.0.0",
37
- "openapi-fetch": "^0.13.0",
38
- "pako": "^2.1.0",
39
- "semver": "^7.6.3",
40
- "tarballjs": "github:ankitrohatgi/tarballjs",
41
- "tinytar-fix": "^0.1.1",
42
- "vscode-uri": "^3.0.8",
43
- "yaml": "^2.6.1",
44
- "image-dimensions": "^2.3.0",
45
- "file-type-checker": "^1.1.2"
46
- },
47
- "engines": {
48
- "node": ">= 22"
49
- },
50
- "devDependencies": {
51
- "@microsoft/api-extractor": "^7.47.11",
52
- "@types/chai": "^4.3.6",
53
- "@types/chai-as-promised": "^7.1.5",
54
- "@types/ini": "^4.1.1",
55
- "@types/mocha": "^10.0.9",
56
- "@types/node": "^22.9.1",
57
- "@types/semver": "^7.5.6",
58
- "@types/vscode": "^1.86.2",
59
- "chai": "^4.3.8",
60
- "chai-as-promised": "^7.1.2",
61
- "cross-env": "^7.0.3",
62
- "mocha": "^10.8.2",
63
- "mocha-junit-reporter": "^2.2.1",
64
- "openapi-typescript": "^7.6.0",
65
- "ts-node": "^10.9.2",
66
- "typescript": "^5.6.3"
67
- },
68
- "mocha": {
69
- "require": [
70
- "ts-node/register"
71
- ],
72
- "watch-files": "src/**",
73
- "spec": "./test/**/*.spec.ts",
74
- "recursive": true
75
- }
76
- }
1
+ {
2
+ "name": "@microtronics/studio-cli",
3
+ "version": "0.15.1",
4
+ "description": "Microtronics Studio CLI Tool",
5
+ "main": "./out/api.js",
6
+ "typings": "./dist/studio-cli.d.ts",
7
+ "bin": {
8
+ "studio-cli": "studio-cli"
9
+ },
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "scripts": {
14
+ "release": "release-it --ci",
15
+ "compile": "npm run build:registryApiTypings && tsc",
16
+ "api": "api-extractor run --local --verbose",
17
+ "build": "npm run compile && npm run api",
18
+ "watch:build": "npm run compile -- --watch",
19
+ "test": "cross-env STUDIO_ENV=lucky mocha",
20
+ "test-ci": "cross-env STUDIO_ENV=lucky mocha --reporter mocha-junit-reporter",
21
+ "watch:test": "npm run test -- --watch",
22
+ "prepublishOnly": "npm run build",
23
+ "build:registryApiTypings": "npx openapi-typescript https://api.registry.stage.microtronics.com/v1/openapi.yaml -o ./src/typings/registry.ts"
24
+ },
25
+ "author": "Microtronics",
26
+ "license": "ISC",
27
+ "dependencies": {
28
+ "ajv": "^8.17.1",
29
+ "ajv-formats": "^3.0.1",
30
+ "ajv-keywords": "^5.1.0",
31
+ "commander": "^12.1.0",
32
+ "cross-fetch": "^4.0.0",
33
+ "glob": "^11.0.1",
34
+ "iconv-lite": "^0.6.3",
35
+ "minimatch": "^10.0.1",
36
+ "ini": "^5.0.0",
37
+ "openapi-fetch": "^0.13.0",
38
+ "pako": "^2.1.0",
39
+ "semver": "^7.6.3",
40
+ "tarballjs": "github:ankitrohatgi/tarballjs",
41
+ "tinytar-fix": "^0.1.1",
42
+ "vscode-uri": "^3.0.8",
43
+ "yaml": "^2.6.1",
44
+ "image-dimensions": "^2.3.0",
45
+ "file-type-checker": "^1.1.2"
46
+ },
47
+ "engines": {
48
+ "node": ">= 22"
49
+ },
50
+ "devDependencies": {
51
+ "@microsoft/api-extractor": "^7.47.11",
52
+ "@types/chai": "^4.3.6",
53
+ "@types/chai-as-promised": "^7.1.5",
54
+ "@types/ini": "^4.1.1",
55
+ "@types/mocha": "^10.0.9",
56
+ "@types/node": "^22.9.1",
57
+ "@types/semver": "^7.5.6",
58
+ "@types/vscode": "^1.86.2",
59
+ "chai": "^4.3.8",
60
+ "chai-as-promised": "^7.1.2",
61
+ "cross-env": "^7.0.3",
62
+ "mocha": "^10.8.2",
63
+ "mocha-junit-reporter": "^2.2.1",
64
+ "openapi-typescript": "^7.6.0",
65
+ "ts-node": "^10.9.2",
66
+ "typescript": "^5.6.3"
67
+ },
68
+ "mocha": {
69
+ "require": [
70
+ "ts-node/register"
71
+ ],
72
+ "watch-files": "src/**",
73
+ "spec": "./test/**/*.spec.ts",
74
+ "recursive": true
75
+ }
76
+ }