@microtronics/studio-cli 0.3.1 → 0.3.2
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/package.json +2 -1
- package/test-results.xml +53 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## 0.3.2 (2024-11-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **studio-cli:** run npm build during prepublish ([d8640f1](https://bitbucket.org/microtronics-core/vscode-studio/commits/d8640f163537d2acc988abc92b39bcd14a6b2323))
|
|
9
|
+
|
|
3
10
|
## 0.3.1 (2024-11-26)
|
|
4
11
|
|
|
5
12
|
## 0.3.0 (2024-11-26)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microtronics/studio-cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Microtronics Studio CLI Tool",
|
|
5
5
|
"main": "./out/api.js",
|
|
6
6
|
"typings": "./dist/studio-cli.d.ts",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"test": "cross-env STUDIO_ENV=lucky mocha",
|
|
17
17
|
"test-ci": "cross-env STUDIO_ENV=lucky mocha --reporter mocha-junit-reporter",
|
|
18
18
|
"watch:test": "npm run test -- --watch",
|
|
19
|
+
"prepublish": "npm run build",
|
|
19
20
|
"build:registryApiTypings": "npx openapi-typescript https://api.registry.stage.microtronics.com/v1/openapi.yaml -o ./src/typings/registry.ts"
|
|
20
21
|
},
|
|
21
22
|
"author": "Microtronics",
|
package/test-results.xml
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuites name="Mocha Tests" time="0.389" tests="14" failures="0">
|
|
3
|
+
<testsuite name="Root Suite" timestamp="2024-11-26T15:11:39" tests="0" time="0.000" failures="0">
|
|
4
|
+
</testsuite>
|
|
5
|
+
<testsuite name="Dependencies" timestamp="2024-11-26T15:11:39" tests="0" file="C:\Program Files (x86)\Jenkins\workspace\vscode-studio_main\cli\test\dependencies.spec.ts" time="0.000" failures="0">
|
|
6
|
+
</testsuite>
|
|
7
|
+
<testsuite name="rangeToVersion" timestamp="2024-11-26T15:11:39" tests="2" file="C:\Program Files (x86)\Jenkins\workspace\vscode-studio_main\cli\test\dependencies.spec.ts" time="0.002" failures="0">
|
|
8
|
+
<testcase name="Dependencies rangeToVersion should convert a semver range to a version string" time="0.001" classname="should convert a semver range to a version string">
|
|
9
|
+
</testcase>
|
|
10
|
+
<testcase name="Dependencies rangeToVersion should keep a valid version string as it is" time="0.000" classname="should keep a valid version string as it is">
|
|
11
|
+
</testcase>
|
|
12
|
+
</testsuite>
|
|
13
|
+
<testsuite name="validateDependencyTree" timestamp="2024-11-26T15:11:39" tests="3" file="C:\Program Files (x86)\Jenkins\workspace\vscode-studio_main\cli\test\dependencies.spec.ts" time="0.004" failures="0">
|
|
14
|
+
<testcase name="Dependencies validateDependencyTree should build a valid devDependency tree" time="0.003" classname="should build a valid devDependency tree">
|
|
15
|
+
</testcase>
|
|
16
|
+
<testcase name="Dependencies validateDependencyTree should build a valid production dependency tree" time="0.000" classname="should build a valid production dependency tree">
|
|
17
|
+
</testcase>
|
|
18
|
+
<testcase name="Dependencies validateDependencyTree should build a valid dependency tree with a given dependency" time="0.001" classname="should build a valid dependency tree with a given dependency">
|
|
19
|
+
</testcase>
|
|
20
|
+
</testsuite>
|
|
21
|
+
<testsuite name="isDependencyInstalled" timestamp="2024-11-26T15:11:39" tests="2" file="C:\Program Files (x86)\Jenkins\workspace\vscode-studio_main\cli\test\dependencies.spec.ts" time="0.002" failures="0">
|
|
22
|
+
<testcase name="Dependencies isDependencyInstalled should return that the dependency is installed" time="0.001" classname="should return that the dependency is installed">
|
|
23
|
+
</testcase>
|
|
24
|
+
<testcase name="Dependencies isDependencyInstalled should inform that the library is not installed" time="0.001" classname="should inform that the library is not installed">
|
|
25
|
+
</testcase>
|
|
26
|
+
</testsuite>
|
|
27
|
+
<testsuite name="removeExisting" timestamp="2024-11-26T15:11:39" tests="1" file="C:\Program Files (x86)\Jenkins\workspace\vscode-studio_main\cli\test\dependencies.spec.ts" time="0.007" failures="0">
|
|
28
|
+
<testcase name="Dependencies removeExisting should remove the existing library" time="0.003" classname="should remove the existing library">
|
|
29
|
+
</testcase>
|
|
30
|
+
</testsuite>
|
|
31
|
+
<testsuite name="extractLibrary" timestamp="2024-11-26T15:11:39" tests="1" file="C:\Program Files (x86)\Jenkins\workspace\vscode-studio_main\cli\test\dependencies.spec.ts" time="0.143" failures="0">
|
|
32
|
+
<testcase name="Dependencies extractLibrary should extract the tar.gz to the directory" time="0.129" classname="should extract the tar.gz to the directory">
|
|
33
|
+
</testcase>
|
|
34
|
+
</testsuite>
|
|
35
|
+
<testsuite name="singleInstall" timestamp="2024-11-26T15:11:40" tests="1" file="C:\Program Files (x86)\Jenkins\workspace\vscode-studio_main\cli\test\dependencies.spec.ts" time="0.214" failures="0">
|
|
36
|
+
<testcase name="Dependencies singleInstall should install the given dependency" time="0.206" classname="should install the given dependency">
|
|
37
|
+
</testcase>
|
|
38
|
+
</testsuite>
|
|
39
|
+
<testsuite name="remove dependency" timestamp="2024-11-26T15:11:40" tests="1" file="C:\Program Files (x86)\Jenkins\workspace\vscode-studio_main\cli\test\dependencies.spec.ts" time="0.006" failures="0">
|
|
40
|
+
<testcase name="Dependencies remove dependency should remove the given library" time="0.002" classname="should remove the given library">
|
|
41
|
+
</testcase>
|
|
42
|
+
</testsuite>
|
|
43
|
+
<testsuite name="remove with sub-dependency" timestamp="2024-11-26T15:11:40" tests="1" file="C:\Program Files (x86)\Jenkins\workspace\vscode-studio_main\cli\test\dependencies.spec.ts" time="0.007" failures="0">
|
|
44
|
+
<testcase name="Dependencies remove with sub-dependency should not remove the given library due to sub-dependency requirements" time="0.000" classname="should not remove the given library due to sub-dependency requirements">
|
|
45
|
+
</testcase>
|
|
46
|
+
</testsuite>
|
|
47
|
+
<testsuite name="StudioManifest" timestamp="2024-11-26T15:11:40" tests="2" file="C:\Program Files (x86)\Jenkins\workspace\vscode-studio_main\cli\test\manifest.spec.ts" time="0.002" failures="0">
|
|
48
|
+
<testcase name="StudioManifest should return the studio manifest" time="0.001" classname="should return the studio manifest">
|
|
49
|
+
</testcase>
|
|
50
|
+
<testcase name="StudioManifest should throw if the file does not exist" time="0.000" classname="should throw if the file does not exist">
|
|
51
|
+
</testcase>
|
|
52
|
+
</testsuite>
|
|
53
|
+
</testsuites>
|