@microtronics/studio-cli 0.5.0 → 0.5.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 +7 -0
- package/out/globals.d.ts.map +1 -1
- package/out/globals.js +8 -0
- package/package.json +71 -71
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## 0.5.1 (2024-12-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **studio-cli:** correctly load project specific ini files ([93d312f](https://bitbucket.org/microtronics-core/vscode-studio/commits/93d312fefa8685bc5f76194230f5ed9577f10638))
|
|
9
|
+
|
|
3
10
|
## 0.5.0 (2024-12-10)
|
|
4
11
|
|
|
5
12
|
|
package/out/globals.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globals.d.ts","sourceRoot":"","sources":["../src/globals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,OAAO,EAAE,MAAM,MAAM,CAAC;AACpD,OAAO,EAAE,GAAG,EAAS,MAAM,YAAY,CAAC;AAQxC,yBAAiB,OAAO,CAAC;IACxB,UAAiB,OAAO;QACvB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACtB;IAED;;;;OAIG;IACH,SAAsB,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"globals.d.ts","sourceRoot":"","sources":["../src/globals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,OAAO,EAAE,MAAM,MAAM,CAAC;AACpD,OAAO,EAAE,GAAG,EAAS,MAAM,YAAY,CAAC;AAQxC,yBAAiB,OAAO,CAAC;IACxB,UAAiB,OAAO;QACvB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACtB;IAED;;;;OAIG;IACH,SAAsB,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAkClE;CACD"}
|
package/out/globals.js
CHANGED
|
@@ -52,6 +52,14 @@ var Globals;
|
|
|
52
52
|
Object.assign(allDefines, iniContent);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
+
// load the library projects specific ini file
|
|
56
|
+
if (manifest_1.Manifest.isLibraryProject(manifest)) {
|
|
57
|
+
const libIni = vscode_uri_1.Utils.joinPath(cwd, defaultFiles_1.DefaultFiles.filePaths.dlo.path, `${manifest.name}.ini`);
|
|
58
|
+
if (await fs.stat(libIni)) {
|
|
59
|
+
const iniContent = await readIniFile(fs, libIni);
|
|
60
|
+
Object.assign(allDefines, iniContent);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
55
63
|
// load the projects main.ini and overwrite existing defines
|
|
56
64
|
const mainIni = vscode_uri_1.Utils.joinPath(cwd, defaultFiles_1.DefaultFiles.filePaths.dlo.mainINI);
|
|
57
65
|
if (await fs.stat(mainIni)) {
|
package/package.json
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@microtronics/studio-cli",
|
|
3
|
-
"version": "0.5.
|
|
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
|
-
"ini": "^5.0.0",
|
|
34
|
-
"openapi-fetch": "^0.13.0",
|
|
35
|
-
"pako": "^2.1.0",
|
|
36
|
-
"semver": "^7.6.3",
|
|
37
|
-
"tarballjs": "github:ankitrohatgi/tarballjs",
|
|
38
|
-
"tinytar-fix": "^0.1.1",
|
|
39
|
-
"vscode-uri": "^3.0.8",
|
|
40
|
-
"yaml": "^2.6.1"
|
|
41
|
-
},
|
|
42
|
-
"engines": {
|
|
43
|
-
"node": ">= 20"
|
|
44
|
-
},
|
|
45
|
-
"devDependencies": {
|
|
46
|
-
"@types/ini": "^4.1.1",
|
|
47
|
-
"@microsoft/api-extractor": "^7.47.11",
|
|
48
|
-
"@types/chai": "^4.3.6",
|
|
49
|
-
"@types/chai-as-promised": "^7.1.5",
|
|
50
|
-
"@types/mocha": "^10.0.9",
|
|
51
|
-
"@types/node": "^22.9.1",
|
|
52
|
-
"@types/semver": "^7.5.6",
|
|
53
|
-
"@types/vscode": "^1.86.2",
|
|
54
|
-
"chai": "^4.3.8",
|
|
55
|
-
"chai-as-promised": "^7.1.2",
|
|
56
|
-
"cross-env": "^7.0.3",
|
|
57
|
-
"mocha": "^10.8.2",
|
|
58
|
-
"mocha-junit-reporter": "^2.2.1",
|
|
59
|
-
"openapi-typescript": "^7.4.3",
|
|
60
|
-
"ts-node": "^10.9.2",
|
|
61
|
-
"typescript": "^5.6.3"
|
|
62
|
-
},
|
|
63
|
-
"mocha": {
|
|
64
|
-
"require": [
|
|
65
|
-
"ts-node/register"
|
|
66
|
-
],
|
|
67
|
-
"watch-files": "src/**",
|
|
68
|
-
"spec": "./test/**/*.spec.ts",
|
|
69
|
-
"recursive": true
|
|
70
|
-
}
|
|
71
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@microtronics/studio-cli",
|
|
3
|
+
"version": "0.5.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
|
+
"ini": "^5.0.0",
|
|
34
|
+
"openapi-fetch": "^0.13.0",
|
|
35
|
+
"pako": "^2.1.0",
|
|
36
|
+
"semver": "^7.6.3",
|
|
37
|
+
"tarballjs": "github:ankitrohatgi/tarballjs",
|
|
38
|
+
"tinytar-fix": "^0.1.1",
|
|
39
|
+
"vscode-uri": "^3.0.8",
|
|
40
|
+
"yaml": "^2.6.1"
|
|
41
|
+
},
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">= 20"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@types/ini": "^4.1.1",
|
|
47
|
+
"@microsoft/api-extractor": "^7.47.11",
|
|
48
|
+
"@types/chai": "^4.3.6",
|
|
49
|
+
"@types/chai-as-promised": "^7.1.5",
|
|
50
|
+
"@types/mocha": "^10.0.9",
|
|
51
|
+
"@types/node": "^22.9.1",
|
|
52
|
+
"@types/semver": "^7.5.6",
|
|
53
|
+
"@types/vscode": "^1.86.2",
|
|
54
|
+
"chai": "^4.3.8",
|
|
55
|
+
"chai-as-promised": "^7.1.2",
|
|
56
|
+
"cross-env": "^7.0.3",
|
|
57
|
+
"mocha": "^10.8.2",
|
|
58
|
+
"mocha-junit-reporter": "^2.2.1",
|
|
59
|
+
"openapi-typescript": "^7.4.3",
|
|
60
|
+
"ts-node": "^10.9.2",
|
|
61
|
+
"typescript": "^5.6.3"
|
|
62
|
+
},
|
|
63
|
+
"mocha": {
|
|
64
|
+
"require": [
|
|
65
|
+
"ts-node/register"
|
|
66
|
+
],
|
|
67
|
+
"watch-files": "src/**",
|
|
68
|
+
"spec": "./test/**/*.spec.ts",
|
|
69
|
+
"recursive": true
|
|
70
|
+
}
|
|
71
|
+
}
|