@microtronics/studio-cli 0.19.1 → 0.19.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 +226 -224
- package/dist/studio-cli.d.ts +10 -5
- package/out/registryAPI.js +30 -0
- package/package.json +77 -77
package/CHANGELOG.md
CHANGED
|
@@ -1,289 +1,291 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## 0.19.2 (2025-02-21)
|
|
4
|
+
|
|
3
5
|
## 0.19.1 (2025-02-20)
|
|
4
6
|
|
|
5
7
|
# Changelog
|
|
6
8
|
|
|
7
|
-
## 0.19.0 (2025-02-19)
|
|
8
|
-
|
|
9
|
-
* test(studio-cli): tag header should not have property type ([5082db8](https://bitbucket.org/microtronics-core/vscode-studio/commits/5082db8))
|
|
10
|
-
* test(studio-cli): test if type addon can only used from specific version onwards ([213bc7c](https://bitbucket.org/microtronics-core/vscode-studio/commits/213bc7c))
|
|
11
|
-
* test(studio-cli): validate apm tag header creation ([e74acc8](https://bitbucket.org/microtronics-core/vscode-studio/commits/e74acc8))
|
|
12
|
-
* test(studio-cli): validate openapi generation for addons ([08176bc](https://bitbucket.org/microtronics-core/vscode-studio/commits/08176bc))
|
|
13
|
-
* feat(studio-cli): added function to validate if app id is an uuid ([60bda6f](https://bitbucket.org/microtronics-core/vscode-studio/commits/60bda6f))
|
|
14
|
-
* feat(studio-cli): allow creating an apm tag for addons ([a7d32c4](https://bitbucket.org/microtronics-core/vscode-studio/commits/a7d32c4))
|
|
15
|
-
* feat(studio-cli): generate api routes for addons ([a075407](https://bitbucket.org/microtronics-core/vscode-studio/commits/a075407))
|
|
16
|
-
* feat(studio-cli): improved manifest validation if type is addon ([c3ae0c9](https://bitbucket.org/microtronics-core/vscode-studio/commits/c3ae0c9))
|
|
17
|
-
* feat(studio-cli): only allow project type addon for a specific backend version ([46f0f28](https://bitbucket.org/microtronics-core/vscode-studio/commits/46f0f28))
|
|
18
|
-
* feat(studio-cli): support for new app type `apm` ([8041db3](https://bitbucket.org/microtronics-core/vscode-studio/commits/8041db3))
|
|
19
|
-
* chore(studio-cli): add run file for local addon development ([465a1f0](https://bitbucket.org/microtronics-core/vscode-studio/commits/465a1f0))
|
|
20
|
-
* chore(studio-cli): disable dlo per default if project type is addon ([a7f98af](https://bitbucket.org/microtronics-core/vscode-studio/commits/a7f98af))
|
|
21
|
-
* chore(studio-cli): dissallow setting hw/fw & productId if project type is addon ([74c90c3](https://bitbucket.org/microtronics-core/vscode-studio/commits/74c90c3))
|
|
22
|
-
* chore(studio-cli): improve type to allow `Manifest.ProjectTypes` ([fe6535f](https://bitbucket.org/microtronics-core/vscode-studio/commits/fe6535f))
|
|
23
|
-
* chore(studio-cli): validate for device profile id if dlo is enabled ([908fc9a](https://bitbucket.org/microtronics-core/vscode-studio/commits/908fc9a))
|
|
24
|
-
* revert(studio-cli): remove type property from tagheader object ([65f90ad](https://bitbucket.org/microtronics-core/vscode-studio/commits/65f90ad))
|
|
9
|
+
## 0.19.0 (2025-02-19)
|
|
10
|
+
|
|
11
|
+
* test(studio-cli): tag header should not have property type ([5082db8](https://bitbucket.org/microtronics-core/vscode-studio/commits/5082db8))
|
|
12
|
+
* test(studio-cli): test if type addon can only used from specific version onwards ([213bc7c](https://bitbucket.org/microtronics-core/vscode-studio/commits/213bc7c))
|
|
13
|
+
* test(studio-cli): validate apm tag header creation ([e74acc8](https://bitbucket.org/microtronics-core/vscode-studio/commits/e74acc8))
|
|
14
|
+
* test(studio-cli): validate openapi generation for addons ([08176bc](https://bitbucket.org/microtronics-core/vscode-studio/commits/08176bc))
|
|
15
|
+
* feat(studio-cli): added function to validate if app id is an uuid ([60bda6f](https://bitbucket.org/microtronics-core/vscode-studio/commits/60bda6f))
|
|
16
|
+
* feat(studio-cli): allow creating an apm tag for addons ([a7d32c4](https://bitbucket.org/microtronics-core/vscode-studio/commits/a7d32c4))
|
|
17
|
+
* feat(studio-cli): generate api routes for addons ([a075407](https://bitbucket.org/microtronics-core/vscode-studio/commits/a075407))
|
|
18
|
+
* feat(studio-cli): improved manifest validation if type is addon ([c3ae0c9](https://bitbucket.org/microtronics-core/vscode-studio/commits/c3ae0c9))
|
|
19
|
+
* feat(studio-cli): only allow project type addon for a specific backend version ([46f0f28](https://bitbucket.org/microtronics-core/vscode-studio/commits/46f0f28))
|
|
20
|
+
* feat(studio-cli): support for new app type `apm` ([8041db3](https://bitbucket.org/microtronics-core/vscode-studio/commits/8041db3))
|
|
21
|
+
* chore(studio-cli): add run file for local addon development ([465a1f0](https://bitbucket.org/microtronics-core/vscode-studio/commits/465a1f0))
|
|
22
|
+
* chore(studio-cli): disable dlo per default if project type is addon ([a7f98af](https://bitbucket.org/microtronics-core/vscode-studio/commits/a7f98af))
|
|
23
|
+
* chore(studio-cli): dissallow setting hw/fw & productId if project type is addon ([74c90c3](https://bitbucket.org/microtronics-core/vscode-studio/commits/74c90c3))
|
|
24
|
+
* chore(studio-cli): improve type to allow `Manifest.ProjectTypes` ([fe6535f](https://bitbucket.org/microtronics-core/vscode-studio/commits/fe6535f))
|
|
25
|
+
* chore(studio-cli): validate for device profile id if dlo is enabled ([908fc9a](https://bitbucket.org/microtronics-core/vscode-studio/commits/908fc9a))
|
|
26
|
+
* revert(studio-cli): remove type property from tagheader object ([65f90ad](https://bitbucket.org/microtronics-core/vscode-studio/commits/65f90ad))
|
|
25
27
|
* refactor(studio-cli): added function to create the `baseTagHeader` ([ac9f83f](https://bitbucket.org/microtronics-core/vscode-studio/commits/ac9f83f))
|
|
26
28
|
|
|
27
|
-
## 0.18.0 (2025-02-13)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
### Features
|
|
31
|
-
|
|
29
|
+
## 0.18.0 (2025-02-13)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
32
34
|
* **studio-cli:** support for new qualification stages ([7511873](https://bitbucket.org/microtronics-core/vscode-studio/commits/7511873eab82fa4e1fb4be3c1b998b1a3576f5f9))
|
|
33
35
|
|
|
34
|
-
## 0.17.0 (2025-02-13)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
### Features
|
|
38
|
-
|
|
39
|
-
* **studio-cli:** added function to validate if a given apm part is enabled or not ([1dce992](https://bitbucket.org/microtronics-core/vscode-studio/commits/1dce99291f0629aed450af5413b128b0b80f29eb))
|
|
40
|
-
* **studio-cli:** allow set the `MYDATANET_CUSTOMER` env ([a34297a](https://bitbucket.org/microtronics-core/vscode-studio/commits/a34297ae1e670ef665b5991d065f74e6401466e3))
|
|
41
|
-
* **studio-cli:** make `ENV` namespace available ([09a8b80](https://bitbucket.org/microtronics-core/vscode-studio/commits/09a8b80a1b0f99eada300e273bb84029d28132bb))
|
|
42
|
-
* **studio-cli:** only add dlo binarys if the dlo part is enabled ([6d106ab](https://bitbucket.org/microtronics-core/vscode-studio/commits/6d106ab411c44057ca71e04d301d1c984a6b253b))
|
|
43
|
-
* **studio-cli:** only start compiler if the apm part is enabled ([dfbc701](https://bitbucket.org/microtronics-core/vscode-studio/commits/dfbc70173abf81eb5635a6d360d89a2f8734868a))
|
|
44
|
-
* **studio-cli:** support to read `.env.local` to support local build settings ([3376dbf](https://bitbucket.org/microtronics-core/vscode-studio/commits/3376dbf16f757f06829556eb2fc1d92d628253c1))
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
### Bug Fixes
|
|
48
|
-
|
|
49
|
-
* **studio-cli:** only return boolean for `isApmPartEnabled` function ([c80468a](https://bitbucket.org/microtronics-core/vscode-studio/commits/c80468ae245b49fb1f5209fbf5a948df9f5bc7d2))
|
|
36
|
+
## 0.17.0 (2025-02-13)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* **studio-cli:** added function to validate if a given apm part is enabled or not ([1dce992](https://bitbucket.org/microtronics-core/vscode-studio/commits/1dce99291f0629aed450af5413b128b0b80f29eb))
|
|
42
|
+
* **studio-cli:** allow set the `MYDATANET_CUSTOMER` env ([a34297a](https://bitbucket.org/microtronics-core/vscode-studio/commits/a34297ae1e670ef665b5991d065f74e6401466e3))
|
|
43
|
+
* **studio-cli:** make `ENV` namespace available ([09a8b80](https://bitbucket.org/microtronics-core/vscode-studio/commits/09a8b80a1b0f99eada300e273bb84029d28132bb))
|
|
44
|
+
* **studio-cli:** only add dlo binarys if the dlo part is enabled ([6d106ab](https://bitbucket.org/microtronics-core/vscode-studio/commits/6d106ab411c44057ca71e04d301d1c984a6b253b))
|
|
45
|
+
* **studio-cli:** only start compiler if the apm part is enabled ([dfbc701](https://bitbucket.org/microtronics-core/vscode-studio/commits/dfbc70173abf81eb5635a6d360d89a2f8734868a))
|
|
46
|
+
* **studio-cli:** support to read `.env.local` to support local build settings ([3376dbf](https://bitbucket.org/microtronics-core/vscode-studio/commits/3376dbf16f757f06829556eb2fc1d92d628253c1))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Bug Fixes
|
|
50
|
+
|
|
51
|
+
* **studio-cli:** only return boolean for `isApmPartEnabled` function ([c80468a](https://bitbucket.org/microtronics-core/vscode-studio/commits/c80468ae245b49fb1f5209fbf5a948df9f5bc7d2))
|
|
50
52
|
* **studio-cli:** validate if `.env.local` file exist ([eeea393](https://bitbucket.org/microtronics-core/vscode-studio/commits/eeea3932bc28a259975c4755a4f5a6a107ab34b7))
|
|
51
53
|
|
|
52
|
-
## 0.16.0 (2025-02-07)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
### Features
|
|
56
|
-
|
|
57
|
-
* **studio-cli:** add the `history.json` to the store tag ([70086be](https://bitbucket.org/microtronics-core/vscode-studio/commits/70086be5ef2100ba6bf0e699d242bf9d02d7e347))
|
|
58
|
-
* **studio-cli:** add the `studio.json` to the store tag ([6e23a79](https://bitbucket.org/microtronics-core/vscode-studio/commits/6e23a793f8d7c7ebc8a5044d86002d965ac484eb))
|
|
59
|
-
* **studio-cli:** introduced new manifest property `type` ([edbd5cb](https://bitbucket.org/microtronics-core/vscode-studio/commits/edbd5cbb11198f6659be42560642676258c6ca66))
|
|
54
|
+
## 0.16.0 (2025-02-07)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Features
|
|
58
|
+
|
|
59
|
+
* **studio-cli:** add the `history.json` to the store tag ([70086be](https://bitbucket.org/microtronics-core/vscode-studio/commits/70086be5ef2100ba6bf0e699d242bf9d02d7e347))
|
|
60
|
+
* **studio-cli:** add the `studio.json` to the store tag ([6e23a79](https://bitbucket.org/microtronics-core/vscode-studio/commits/6e23a793f8d7c7ebc8a5044d86002d965ac484eb))
|
|
61
|
+
* **studio-cli:** introduced new manifest property `type` ([edbd5cb](https://bitbucket.org/microtronics-core/vscode-studio/commits/edbd5cbb11198f6659be42560642676258c6ca66))
|
|
60
62
|
* **studio-cli:** prevent generating `history.json` for library projects ([00e45c0](https://bitbucket.org/microtronics-core/vscode-studio/commits/00e45c02b07147a157b0c3fedb3217988c0ea225))
|
|
61
63
|
|
|
62
|
-
## 0.15.1 (2025-01-31)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
### Bug Fixes
|
|
66
|
-
|
|
64
|
+
## 0.15.1 (2025-01-31)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Bug Fixes
|
|
68
|
+
|
|
67
69
|
* **studio-cli:** didn't allow that allowedBackends are null ([6335dab](https://bitbucket.org/microtronics-core/vscode-studio/commits/6335dab9eb7e783faa4354da304989f3adc79be0))
|
|
68
70
|
|
|
69
|
-
## 0.15.0 (2025-01-31)
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
### Features
|
|
73
|
-
|
|
71
|
+
## 0.15.0 (2025-01-31)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Features
|
|
75
|
+
|
|
74
76
|
* **studio-cli:** removed `allowedBackends` and `target` from manifest.registry ([99398ae](https://bitbucket.org/microtronics-core/vscode-studio/commits/99398ae8e475946204d49045b8fff83c2f013e6d))
|
|
75
77
|
|
|
76
|
-
## 0.14.0 (2025-01-29)
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
### Features
|
|
80
|
-
|
|
78
|
+
## 0.14.0 (2025-01-29)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### Features
|
|
82
|
+
|
|
81
83
|
* **studio-core:** allow editing the release notes of iot app versions ([2d19d13](https://bitbucket.org/microtronics-core/vscode-studio/commits/2d19d13ca32cceaf4a574a9594563d6dc0931fc5))
|
|
82
84
|
|
|
83
|
-
## 0.13.0 (2025-01-29)
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
### Features
|
|
87
|
-
|
|
88
|
-
* **studio-cli:** add `FS.copy` as filesystem function ([59c252c](https://bitbucket.org/microtronics-core/vscode-studio/commits/59c252cb2afd223a43376a2b220c20bd2d7c1761))
|
|
89
|
-
* **studio-cli:** allow processing dfiles from the cli ([6162326](https://bitbucket.org/microtronics-core/vscode-studio/commits/6162326b30412a05cb62ebd40a272e644bd0d970))
|
|
90
|
-
* **studio-cli:** generate error message if the dfile sync_mode is invalid ([87ae69b](https://bitbucket.org/microtronics-core/vscode-studio/commits/87ae69b4bcf3a928892335dadba7e49668b1a6e1))
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
### Bug Fixes
|
|
94
|
-
|
|
95
|
-
* **studio-cli:** cliFS interface did not create target path during copy ([641886d](https://bitbucket.org/microtronics-core/vscode-studio/commits/641886d776e2fe158314effc00760b12cca514bd))
|
|
96
|
-
* **studio-cli:** copy dfiles from libraries ([e746dcd](https://bitbucket.org/microtronics-core/vscode-studio/commits/e746dcd31a8095226ef22434b5612536c987a595))
|
|
97
|
-
* **studio-cli:** invalidate manifest cache if file path changes (only needed for tests) ([db30907](https://bitbucket.org/microtronics-core/vscode-studio/commits/db309072028d59ece85167a03f3a77b9a1575f59))
|
|
98
|
-
* **studio-cli:** invalidate manifest cache if filesize doesn't match ([daeb437](https://bitbucket.org/microtronics-core/vscode-studio/commits/daeb4371696de9e13608cbe6f3bab1ae1c01da24))
|
|
85
|
+
## 0.13.0 (2025-01-29)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
### Features
|
|
89
|
+
|
|
90
|
+
* **studio-cli:** add `FS.copy` as filesystem function ([59c252c](https://bitbucket.org/microtronics-core/vscode-studio/commits/59c252cb2afd223a43376a2b220c20bd2d7c1761))
|
|
91
|
+
* **studio-cli:** allow processing dfiles from the cli ([6162326](https://bitbucket.org/microtronics-core/vscode-studio/commits/6162326b30412a05cb62ebd40a272e644bd0d970))
|
|
92
|
+
* **studio-cli:** generate error message if the dfile sync_mode is invalid ([87ae69b](https://bitbucket.org/microtronics-core/vscode-studio/commits/87ae69b4bcf3a928892335dadba7e49668b1a6e1))
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Bug Fixes
|
|
96
|
+
|
|
97
|
+
* **studio-cli:** cliFS interface did not create target path during copy ([641886d](https://bitbucket.org/microtronics-core/vscode-studio/commits/641886d776e2fe158314effc00760b12cca514bd))
|
|
98
|
+
* **studio-cli:** copy dfiles from libraries ([e746dcd](https://bitbucket.org/microtronics-core/vscode-studio/commits/e746dcd31a8095226ef22434b5612536c987a595))
|
|
99
|
+
* **studio-cli:** invalidate manifest cache if file path changes (only needed for tests) ([db30907](https://bitbucket.org/microtronics-core/vscode-studio/commits/db309072028d59ece85167a03f3a77b9a1575f59))
|
|
100
|
+
* **studio-cli:** invalidate manifest cache if filesize doesn't match ([daeb437](https://bitbucket.org/microtronics-core/vscode-studio/commits/daeb4371696de9e13608cbe6f3bab1ae1c01da24))
|
|
99
101
|
* **studio-cli:** invalidate manifest cache if filesize doesn't match ([30947ab](https://bitbucket.org/microtronics-core/vscode-studio/commits/30947ab55152ceb5c269dda695cd3f262cae82b9))
|
|
100
102
|
|
|
101
|
-
## 0.12.2 (2025-01-27)
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
### Bug Fixes
|
|
105
|
-
|
|
103
|
+
## 0.12.2 (2025-01-27)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### Bug Fixes
|
|
107
|
+
|
|
106
108
|
* **studio-cli:** only validate publish related settings during publishing ([82a624a](https://bitbucket.org/microtronics-core/vscode-studio/commits/82a624a3937f0382f096a940f05720b41b3d658a))
|
|
107
109
|
|
|
108
|
-
## 0.12.1 (2025-01-21)
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
### Bug Fixes
|
|
112
|
-
|
|
110
|
+
## 0.12.1 (2025-01-21)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### Bug Fixes
|
|
114
|
+
|
|
113
115
|
* **studio-cli:** only validate icon if a registry id is set ([621a6cd](https://bitbucket.org/microtronics-core/vscode-studio/commits/621a6cd130b45bd03a13cf4ad131cf435e84a593))
|
|
114
116
|
|
|
115
|
-
## 0.12.0 (2025-01-21)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
### Features
|
|
119
|
-
|
|
120
|
-
* **studio-cli:** cache manifest file until it's content hast changed ([f5b7128](https://bitbucket.org/microtronics-core/vscode-studio/commits/f5b7128d4938dba63a02b7d406c04e55a9747695))
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
### Bug Fixes
|
|
124
|
-
|
|
117
|
+
## 0.12.0 (2025-01-21)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
### Features
|
|
121
|
+
|
|
122
|
+
* **studio-cli:** cache manifest file until it's content hast changed ([f5b7128](https://bitbucket.org/microtronics-core/vscode-studio/commits/f5b7128d4938dba63a02b7d406c04e55a9747695))
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
### Bug Fixes
|
|
126
|
+
|
|
125
127
|
* **studio-cli:** wrong file path was validated during `.studioignore` validation ([2b9cc76](https://bitbucket.org/microtronics-core/vscode-studio/commits/2b9cc7672a6d339f7598863e2bf560117aaae6c8))
|
|
126
128
|
|
|
127
|
-
## 0.11.0 (2025-01-20)
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
### Features
|
|
131
|
-
|
|
132
|
-
* **studio-cli:** allow publishing a library project to the registry ([0eabc7d](https://bitbucket.org/microtronics-core/vscode-studio/commits/0eabc7dbf335dcd61a907eab3b56c2b4ba30f57b))
|
|
133
|
-
* **studio-cli:** validate the given version string within the studio.json ([4cb429c](https://bitbucket.org/microtronics-core/vscode-studio/commits/4cb429c37cda38cd3888b868f95efe223c11aa61))
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
### Bug Fixes
|
|
137
|
-
|
|
138
|
-
* **studio-cli:** consider during manifest validation if it is a library project ([b879aae](https://bitbucket.org/microtronics-core/vscode-studio/commits/b879aae85bced2b3bc874879ba8fa92a9928d0ae))
|
|
129
|
+
## 0.11.0 (2025-01-20)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
### Features
|
|
133
|
+
|
|
134
|
+
* **studio-cli:** allow publishing a library project to the registry ([0eabc7d](https://bitbucket.org/microtronics-core/vscode-studio/commits/0eabc7dbf335dcd61a907eab3b56c2b4ba30f57b))
|
|
135
|
+
* **studio-cli:** validate the given version string within the studio.json ([4cb429c](https://bitbucket.org/microtronics-core/vscode-studio/commits/4cb429c37cda38cd3888b868f95efe223c11aa61))
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
### Bug Fixes
|
|
139
|
+
|
|
140
|
+
* **studio-cli:** consider during manifest validation if it is a library project ([b879aae](https://bitbucket.org/microtronics-core/vscode-studio/commits/b879aae85bced2b3bc874879ba8fa92a9928d0ae))
|
|
139
141
|
* **studio-cli:** forward studio environment to library publish function ([ba8f79f](https://bitbucket.org/microtronics-core/vscode-studio/commits/ba8f79f0fc9d05c92759a6d1ef4a11f690faba38))
|
|
140
142
|
|
|
141
|
-
## 0.10.0 (2025-01-14)
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
### Features
|
|
145
|
-
|
|
146
|
-
* **studio-cli:** allow switching apm release to semver with lucky environment ([bd24f41](https://bitbucket.org/microtronics-core/vscode-studio/commits/bd24f417d9ac844ab92cf7e3ede6853ab9f1a9c5))
|
|
147
|
-
* **studio-cli:** first working version that supports publishing an APM ([0dede3e](https://bitbucket.org/microtronics-core/vscode-studio/commits/0dede3eef94b0a046e4b6ef37d224233c0bbd69e))
|
|
148
|
-
* **studio-cli:** publish with semver when env is lucky ([7b8e2fa](https://bitbucket.org/microtronics-core/vscode-studio/commits/7b8e2fa15cd2de4faa21b582c9a609a15826489f))
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
### Bug Fixes
|
|
152
|
-
|
|
143
|
+
## 0.10.0 (2025-01-14)
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
### Features
|
|
147
|
+
|
|
148
|
+
* **studio-cli:** allow switching apm release to semver with lucky environment ([bd24f41](https://bitbucket.org/microtronics-core/vscode-studio/commits/bd24f417d9ac844ab92cf7e3ede6853ab9f1a9c5))
|
|
149
|
+
* **studio-cli:** first working version that supports publishing an APM ([0dede3e](https://bitbucket.org/microtronics-core/vscode-studio/commits/0dede3eef94b0a046e4b6ef37d224233c0bbd69e))
|
|
150
|
+
* **studio-cli:** publish with semver when env is lucky ([7b8e2fa](https://bitbucket.org/microtronics-core/vscode-studio/commits/7b8e2fa15cd2de4faa21b582c9a609a15826489f))
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
### Bug Fixes
|
|
154
|
+
|
|
153
155
|
* **studio-cli:** findFiles function had wrong working directory ([aba5b86](https://bitbucket.org/microtronics-core/vscode-studio/commits/aba5b869bfef8fbe0cd0274d6a6cc60a7c11f48a))
|
|
154
156
|
|
|
155
157
|
## 0.9.1 (2024-12-19)
|
|
156
158
|
|
|
157
|
-
## 0.9.0 (2024-12-19)
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
### Features
|
|
161
|
-
|
|
159
|
+
## 0.9.0 (2024-12-19)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
### Features
|
|
163
|
+
|
|
162
164
|
* **studio-cli:** dlo-core 0.3.0 requires APM_VERSION to be semver ([62188e0](https://bitbucket.org/microtronics-core/vscode-studio/commits/62188e089769c0d5d37eecf7b1bddc656381700e))
|
|
163
165
|
|
|
164
|
-
## 0.8.0 (2024-12-19)
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
### Features
|
|
168
|
-
|
|
169
|
-
* **studio-cli:** allow to trigger pov build from cli ([048dfe4](https://bitbucket.org/microtronics-core/vscode-studio/commits/048dfe4ae92e77ecdacc85c821b465ab3187ff63))
|
|
166
|
+
## 0.8.0 (2024-12-19)
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
### Features
|
|
170
|
+
|
|
171
|
+
* **studio-cli:** allow to trigger pov build from cli ([048dfe4](https://bitbucket.org/microtronics-core/vscode-studio/commits/048dfe4ae92e77ecdacc85c821b465ab3187ff63))
|
|
170
172
|
* **studio-core:** allow to trigger blo build from cli ([1cdfa02](https://bitbucket.org/microtronics-core/vscode-studio/commits/1cdfa026517759392acb0f098a90e9fda8faf5c1))
|
|
171
173
|
|
|
172
|
-
## 0.7.0 (2024-12-16)
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
### Features
|
|
176
|
-
|
|
177
|
-
* **studio-cli:** dlo compiler returns errors as diagnostic information ([eb14ac9](https://bitbucket.org/microtronics-core/vscode-studio/commits/eb14ac9460d3dfd3be9221adde0a87e15eb13cd9))
|
|
178
|
-
* **studio-cli:** first working version of dlo compiler ([158e85f](https://bitbucket.org/microtronics-core/vscode-studio/commits/158e85f3e51a9288835017b928e8306896f5655e))
|
|
179
|
-
* **studio-cli:** implement `findFiles` function ([984ab83](https://bitbucket.org/microtronics-core/vscode-studio/commits/984ab83aacb1fbbd06b8b4ce7a88095a346470a1))
|
|
174
|
+
## 0.7.0 (2024-12-16)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
### Features
|
|
178
|
+
|
|
179
|
+
* **studio-cli:** dlo compiler returns errors as diagnostic information ([eb14ac9](https://bitbucket.org/microtronics-core/vscode-studio/commits/eb14ac9460d3dfd3be9221adde0a87e15eb13cd9))
|
|
180
|
+
* **studio-cli:** first working version of dlo compiler ([158e85f](https://bitbucket.org/microtronics-core/vscode-studio/commits/158e85f3e51a9288835017b928e8306896f5655e))
|
|
181
|
+
* **studio-cli:** implement `findFiles` function ([984ab83](https://bitbucket.org/microtronics-core/vscode-studio/commits/984ab83aacb1fbbd06b8b4ce7a88095a346470a1))
|
|
180
182
|
* **studio-cli:** moved dlo precompiler to the cli ([3087cbc](https://bitbucket.org/microtronics-core/vscode-studio/commits/3087cbcbe9fb494bf368ee50f6774be80c80987d))
|
|
181
183
|
|
|
182
|
-
## 0.6.1 (2024-12-12)
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
### Bug Fixes
|
|
186
|
-
|
|
184
|
+
## 0.6.1 (2024-12-12)
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
### Bug Fixes
|
|
188
|
+
|
|
187
189
|
* **studio-cli:** prevent `default.inc` to be removed due to race condition ([fbf3fcf](https://bitbucket.org/microtronics-core/vscode-studio/commits/fbf3fcfa2ef0af6ec2359aa99ccb90768d7a25ec))
|
|
188
190
|
|
|
189
|
-
## 0.6.0 (2024-12-11)
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
### Features
|
|
193
|
-
|
|
191
|
+
## 0.6.0 (2024-12-11)
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
### Features
|
|
195
|
+
|
|
194
196
|
* **studio-cli:** moved generation of `default.inc` to the cli ([e78ce9e](https://bitbucket.org/microtronics-core/vscode-studio/commits/e78ce9ed8dc6fd73a74a25ad8c89c3a2013ca32d))
|
|
195
197
|
|
|
196
|
-
## 0.5.1 (2024-12-11)
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
### Bug Fixes
|
|
200
|
-
|
|
198
|
+
## 0.5.1 (2024-12-11)
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
### Bug Fixes
|
|
202
|
+
|
|
201
203
|
* **studio-cli:** correctly load project specific ini files ([93d312f](https://bitbucket.org/microtronics-core/vscode-studio/commits/93d312fefa8685bc5f76194230f5ed9577f10638))
|
|
202
204
|
|
|
203
|
-
## 0.5.0 (2024-12-10)
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
### Features
|
|
207
|
-
|
|
208
|
-
* **studio-cli:** generate all dde related api files ([e004302](https://bitbucket.org/microtronics-core/vscode-studio/commits/e004302edf7870ab635e67fade3ca34ea5664c34))
|
|
209
|
-
* **studio-cli:** generate all dde related dlo files ([8a905b5](https://bitbucket.org/microtronics-core/vscode-studio/commits/8a905b5df2732fd0df1905ff30a6a7f935dbdc44))
|
|
210
|
-
* **studio-cli:** generate history.json for the current working dir ([c7a9dd5](https://bitbucket.org/microtronics-core/vscode-studio/commits/c7a9dd59cb31953adba21231a5645e27316065da))
|
|
211
|
-
* **studio-cli:** moved dde specific api file generation to `stuiod-cli` ([54257cd](https://bitbucket.org/microtronics-core/vscode-studio/commits/54257cdc96cfda53b55d8793acbbd47b685053da))
|
|
212
|
-
* **studio-cli:** moved dde specific dlo file generation to `stuiod-cli` ([f9475e0](https://bitbucket.org/microtronics-core/vscode-studio/commits/f9475e07fb7143068b2948349af36969241d5e57))
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
### Bug Fixes
|
|
216
|
-
|
|
205
|
+
## 0.5.0 (2024-12-10)
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
### Features
|
|
209
|
+
|
|
210
|
+
* **studio-cli:** generate all dde related api files ([e004302](https://bitbucket.org/microtronics-core/vscode-studio/commits/e004302edf7870ab635e67fade3ca34ea5664c34))
|
|
211
|
+
* **studio-cli:** generate all dde related dlo files ([8a905b5](https://bitbucket.org/microtronics-core/vscode-studio/commits/8a905b5df2732fd0df1905ff30a6a7f935dbdc44))
|
|
212
|
+
* **studio-cli:** generate history.json for the current working dir ([c7a9dd5](https://bitbucket.org/microtronics-core/vscode-studio/commits/c7a9dd59cb31953adba21231a5645e27316065da))
|
|
213
|
+
* **studio-cli:** moved dde specific api file generation to `stuiod-cli` ([54257cd](https://bitbucket.org/microtronics-core/vscode-studio/commits/54257cdc96cfda53b55d8793acbbd47b685053da))
|
|
214
|
+
* **studio-cli:** moved dde specific dlo file generation to `stuiod-cli` ([f9475e0](https://bitbucket.org/microtronics-core/vscode-studio/commits/f9475e07fb7143068b2948349af36969241d5e57))
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
### Bug Fixes
|
|
218
|
+
|
|
217
219
|
* **studio-cli:** prevent handling empty strings as Number ([376ea04](https://bitbucket.org/microtronics-core/vscode-studio/commits/376ea04c397855c4aab6eabfb7c7cec2e48124f2))
|
|
218
220
|
|
|
219
|
-
## 0.4.1 (2024-12-10)
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
### Bug Fixes
|
|
223
|
-
|
|
221
|
+
## 0.4.1 (2024-12-10)
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
### Bug Fixes
|
|
225
|
+
|
|
224
226
|
* **studio-cli:** add missing package `ajv-formats` ([2db4b55](https://bitbucket.org/microtronics-core/vscode-studio/commits/2db4b5500c98082b9e72a40cba832697366e64bb))
|
|
225
227
|
|
|
226
|
-
## 0.4.0 (2024-12-10)
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
### Features
|
|
230
|
-
|
|
231
|
-
* **studio-cli:** command to call dde compiler ([086a794](https://bitbucket.org/microtronics-core/vscode-studio/commits/086a7948693e445c75b710430780ef775872b1aa))
|
|
232
|
-
* **studio-cli:** compile dde function ([0a9d6b4](https://bitbucket.org/microtronics-core/vscode-studio/commits/0a9d6b49f1cabc934bc5675bb721dfed131e0ea3))
|
|
233
|
-
* **studio-cli:** export function to generate the myDatanet dde xml ([f0736f4](https://bitbucket.org/microtronics-core/vscode-studio/commits/f0736f46b306429418e0413bea59e9ef6b708a32))
|
|
234
|
-
* **studio-cli:** export xml dde notation during build ([c6b513a](https://bitbucket.org/microtronics-core/vscode-studio/commits/c6b513a1a3a13277de6c6571a983bd29433c6dee))
|
|
235
|
-
* **studio-cli:** validate yaml string against the dde schema ([bfebc7c](https://bitbucket.org/microtronics-core/vscode-studio/commits/bfebc7cdbbdbad44d0db5246845b3cc46b4645ab))
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
### Bug Fixes
|
|
239
|
-
|
|
228
|
+
## 0.4.0 (2024-12-10)
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
### Features
|
|
232
|
+
|
|
233
|
+
* **studio-cli:** command to call dde compiler ([086a794](https://bitbucket.org/microtronics-core/vscode-studio/commits/086a7948693e445c75b710430780ef775872b1aa))
|
|
234
|
+
* **studio-cli:** compile dde function ([0a9d6b4](https://bitbucket.org/microtronics-core/vscode-studio/commits/0a9d6b49f1cabc934bc5675bb721dfed131e0ea3))
|
|
235
|
+
* **studio-cli:** export function to generate the myDatanet dde xml ([f0736f4](https://bitbucket.org/microtronics-core/vscode-studio/commits/f0736f46b306429418e0413bea59e9ef6b708a32))
|
|
236
|
+
* **studio-cli:** export xml dde notation during build ([c6b513a](https://bitbucket.org/microtronics-core/vscode-studio/commits/c6b513a1a3a13277de6c6571a983bd29433c6dee))
|
|
237
|
+
* **studio-cli:** validate yaml string against the dde schema ([bfebc7c](https://bitbucket.org/microtronics-core/vscode-studio/commits/bfebc7cdbbdbad44d0db5246845b3cc46b4645ab))
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
### Bug Fixes
|
|
241
|
+
|
|
240
242
|
* **studio-cli:** dynamic dde schema was not an entirely valid schema ([28a1b65](https://bitbucket.org/microtronics-core/vscode-studio/commits/28a1b65c79098841b164fba1e5c1cd17440bc63e))
|
|
241
243
|
|
|
242
|
-
## 0.3.5 (2024-11-28)
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
### Bug Fixes
|
|
246
|
-
|
|
244
|
+
## 0.3.5 (2024-11-28)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
### Bug Fixes
|
|
248
|
+
|
|
247
249
|
* **studio-core:** trigger cache update to update the views ([fbc9a98](https://bitbucket.org/microtronics-core/vscode-studio/commits/fbc9a989989bd67383b0f3d9b5361f736683c65b))
|
|
248
250
|
|
|
249
|
-
## 0.3.4 (2024-11-27)
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
### Bug Fixes
|
|
253
|
-
|
|
251
|
+
## 0.3.4 (2024-11-27)
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
### Bug Fixes
|
|
255
|
+
|
|
254
256
|
* **studio-cli:** 'libraryDependency' entry was not created ([450463a](https://bitbucket.org/microtronics-core/vscode-studio/commits/450463ada1eb023fd0a8e5791133323c06acb052))
|
|
255
257
|
|
|
256
|
-
## 0.3.3 (2024-11-26)
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
### Bug Fixes
|
|
260
|
-
|
|
261
|
-
* **studio-cli:** run npm build during prepublish ([5046b47](https://bitbucket.org/microtronics-core/vscode-studio/commits/5046b47956c97a0f53598cf35adcbd33b276398f))
|
|
258
|
+
## 0.3.3 (2024-11-26)
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
### Bug Fixes
|
|
262
|
+
|
|
263
|
+
* **studio-cli:** run npm build during prepublish ([5046b47](https://bitbucket.org/microtronics-core/vscode-studio/commits/5046b47956c97a0f53598cf35adcbd33b276398f))
|
|
262
264
|
* **studio-cli:** run npm build during prepublish ([58e099e](https://bitbucket.org/microtronics-core/vscode-studio/commits/58e099ed57ea6986019e026d68e950ce8eb447b4))
|
|
263
265
|
|
|
264
|
-
## 0.3.2 (2024-11-26)
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
### Bug Fixes
|
|
268
|
-
|
|
266
|
+
## 0.3.2 (2024-11-26)
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
### Bug Fixes
|
|
270
|
+
|
|
269
271
|
* **studio-cli:** run npm build during prepublish ([d8640f1](https://bitbucket.org/microtronics-core/vscode-studio/commits/d8640f163537d2acc988abc92b39bcd14a6b2323))
|
|
270
272
|
|
|
271
273
|
## 0.3.1 (2024-11-26)
|
|
272
274
|
|
|
273
|
-
## 0.3.0 (2024-11-26)
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
### Features
|
|
277
|
-
|
|
278
|
-
* **studio-cli:** added command to retrive version ([c96f267](https://bitbucket.org/microtronics-core/vscode-studio/commits/c96f267d6f856487c53c3120f708f17b93b8e53c))
|
|
279
|
-
* **studio-cli:** automatic version generation with release-it ([009bfb1](https://bitbucket.org/microtronics-core/vscode-studio/commits/009bfb1bb242d9d2bc0113093ff0e480e19f32fc))
|
|
280
|
-
* **studio-cli:** first version of registry api ([283c85c](https://bitbucket.org/microtronics-core/vscode-studio/commits/283c85cf68faf480f97efc23d3ef00931761a6cf))
|
|
281
|
-
* **studio-cli:** first working version to install dependencies ([d5f89bc](https://bitbucket.org/microtronics-core/vscode-studio/commits/d5f89bc263bf7f5d17f5515de557a8db1ecfb279))
|
|
282
|
-
* **studio-cli:** fs interfaces to allwo requesting with vscode fs and node fs ([b39bd6f](https://bitbucket.org/microtronics-core/vscode-studio/commits/b39bd6f4ca61816607fdc8b381d5b263e056e3f1))
|
|
283
|
-
* **studio-cli:** migrated `buildDependencyTree` function with tests ([392a43e](https://bitbucket.org/microtronics-core/vscode-studio/commits/392a43e7859c8b1cb665c043ae52c8f09ab188a0))
|
|
284
|
-
* **studio-cli:** migrated `isDependencyInstalled` function ([ae9c5c2](https://bitbucket.org/microtronics-core/vscode-studio/commits/ae9c5c24919f1e1ff9fa1b2778677f9af1fdc0e3))
|
|
285
|
-
* **studio-cli:** new function to remove an existing library ([50f18f6](https://bitbucket.org/microtronics-core/vscode-studio/commits/50f18f6039dd21cf62c6dc8d16b14bad2268c8f3))
|
|
286
|
-
* **studio-cli:** released version v0.2.0 ([82ed857](https://bitbucket.org/microtronics-core/vscode-studio/commits/82ed85723579ec886994dde5b93dc2f813127a24))
|
|
275
|
+
## 0.3.0 (2024-11-26)
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
### Features
|
|
279
|
+
|
|
280
|
+
* **studio-cli:** added command to retrive version ([c96f267](https://bitbucket.org/microtronics-core/vscode-studio/commits/c96f267d6f856487c53c3120f708f17b93b8e53c))
|
|
281
|
+
* **studio-cli:** automatic version generation with release-it ([009bfb1](https://bitbucket.org/microtronics-core/vscode-studio/commits/009bfb1bb242d9d2bc0113093ff0e480e19f32fc))
|
|
282
|
+
* **studio-cli:** first version of registry api ([283c85c](https://bitbucket.org/microtronics-core/vscode-studio/commits/283c85cf68faf480f97efc23d3ef00931761a6cf))
|
|
283
|
+
* **studio-cli:** first working version to install dependencies ([d5f89bc](https://bitbucket.org/microtronics-core/vscode-studio/commits/d5f89bc263bf7f5d17f5515de557a8db1ecfb279))
|
|
284
|
+
* **studio-cli:** fs interfaces to allwo requesting with vscode fs and node fs ([b39bd6f](https://bitbucket.org/microtronics-core/vscode-studio/commits/b39bd6f4ca61816607fdc8b381d5b263e056e3f1))
|
|
285
|
+
* **studio-cli:** migrated `buildDependencyTree` function with tests ([392a43e](https://bitbucket.org/microtronics-core/vscode-studio/commits/392a43e7859c8b1cb665c043ae52c8f09ab188a0))
|
|
286
|
+
* **studio-cli:** migrated `isDependencyInstalled` function ([ae9c5c2](https://bitbucket.org/microtronics-core/vscode-studio/commits/ae9c5c24919f1e1ff9fa1b2778677f9af1fdc0e3))
|
|
287
|
+
* **studio-cli:** new function to remove an existing library ([50f18f6](https://bitbucket.org/microtronics-core/vscode-studio/commits/50f18f6039dd21cf62c6dc8d16b14bad2268c8f3))
|
|
288
|
+
* **studio-cli:** released version v0.2.0 ([82ed857](https://bitbucket.org/microtronics-core/vscode-studio/commits/82ed85723579ec886994dde5b93dc2f813127a24))
|
|
287
289
|
* **studio-cli:** studio manifest interface to read manifest file ([403ef8e](https://bitbucket.org/microtronics-core/vscode-studio/commits/403ef8e68ded21ffa1d47bf55a7c0fdd3fe29167))
|
|
288
290
|
|
|
289
291
|
## 0.2.0 (2024-11-26)
|
package/dist/studio-cli.d.ts
CHANGED
|
@@ -89,7 +89,7 @@ export declare namespace APM {
|
|
|
89
89
|
export function publishTag(cwd: URI, fs: LocalFS, token: Registry.AuthToken, apmTag: FormData, env: Globals.ENV): Promise<{
|
|
90
90
|
tag_stamp: string;
|
|
91
91
|
version: number | string;
|
|
92
|
-
phase:
|
|
92
|
+
phase: components["schemas"]["ReleasePhases"];
|
|
93
93
|
phase_stamp: string;
|
|
94
94
|
}>;
|
|
95
95
|
}
|
|
@@ -175,8 +175,7 @@ declare interface components {
|
|
|
175
175
|
targetSystem: components["schemas"]["TargetSystem"];
|
|
176
176
|
/** @description ONE specific parameter for the organizationId */
|
|
177
177
|
organizationId?: string;
|
|
178
|
-
|
|
179
|
-
allowedBackends?: ("*" | string[]) | null;
|
|
178
|
+
allowedBackends?: components["schemas"]["AllowedBackends"];
|
|
180
179
|
/** @description Sites with the given APM ID are allowed to be defined as addon parent. This property is only available if the project type is 'addon' */
|
|
181
180
|
allowedApplications?: ("*" | string[]) | null;
|
|
182
181
|
};
|
|
@@ -212,6 +211,7 @@ declare interface components {
|
|
|
212
211
|
* @description Date when the release phase was changed
|
|
213
212
|
*/
|
|
214
213
|
phaseStamp: string;
|
|
214
|
+
allowedBackends: components["schemas"]["AllowedBackends"];
|
|
215
215
|
files: components["schemas"]["ApplicationDownloadFile"][];
|
|
216
216
|
};
|
|
217
217
|
ApplicationDownloadFile: {
|
|
@@ -229,13 +229,16 @@ declare interface components {
|
|
|
229
229
|
version: string | number;
|
|
230
230
|
};
|
|
231
231
|
ApplicationVersionUpdate: {
|
|
232
|
-
phase
|
|
232
|
+
phase?: components["schemas"]["ReleasePhases"];
|
|
233
|
+
allowedBackends?: components["schemas"]["AllowedBackends"];
|
|
233
234
|
};
|
|
234
235
|
/**
|
|
235
236
|
* @description The released phase
|
|
236
237
|
* @enum {string}
|
|
237
238
|
*/
|
|
238
239
|
ReleasePhases: "passive" | "alpha" | "beta" | "stage" | "rc" | "release" | "withdrawn";
|
|
240
|
+
/** @description Defines which servers are allowed to see this application. If null, the application wont be shared with anyone */
|
|
241
|
+
AllowedBackends: ("*" | string[]) | null;
|
|
239
242
|
NewPublisher: {
|
|
240
243
|
/** @description Unique id of the publisher. Can not be changed afterwards. Can only contain 'A' through 'Z', 'a' through 'z', '0' through '9' and '-'. The publisher ID must start with an alphabetic or numeric character. */
|
|
241
244
|
id: string;
|
|
@@ -3359,7 +3362,7 @@ declare interface paths {
|
|
|
3359
3362
|
/** Format: date-time */
|
|
3360
3363
|
tag_stamp: string;
|
|
3361
3364
|
version: number | string;
|
|
3362
|
-
phase:
|
|
3365
|
+
phase: components["schemas"]["ReleasePhases"];
|
|
3363
3366
|
/** Format: date-time */
|
|
3364
3367
|
phase_stamp: string;
|
|
3365
3368
|
};
|
|
@@ -4316,6 +4319,8 @@ export declare namespace Registry {
|
|
|
4316
4319
|
export type ApplicationDetailInformation = components['schemas']['ApplicationDetailInformation'];
|
|
4317
4320
|
export function getExistingApplication(token: AuthToken, publisherId: string, applicationId: string, env?: Globals.ENV): Promise<ApplicationDetailInformation>;
|
|
4318
4321
|
export function updateExistingApplication(token: AuthToken, publisherId: string, applicationId: string, updatedApplication: ApiNewApplication, env?: Globals.ENV): Promise<null | undefined>;
|
|
4322
|
+
export type ApplicationVersionUpdate = components['schemas']['ApplicationVersionUpdate'];
|
|
4323
|
+
export function updateExistingApplicationVersion(token: AuthToken, publisherId: string, applicationId: string, applicationVersion: string | number, updatedApplicationVersion: ApplicationVersionUpdate, env?: Globals.ENV): Promise<null | undefined>;
|
|
4319
4324
|
export type CreatedTagInfo = paths['/packages/{publisherId}/applications/{applicationId}/versions/{applicationVersion}']['post']['responses']['201']['content']['application/json'];
|
|
4320
4325
|
export function publishApplicationVersion(token: AuthToken, publisherId: string, applicationId: string, version: string, apmTagBuffer: FormData, env?: Globals.ENV): Promise<CreatedTagInfo>;
|
|
4321
4326
|
export type LibraryFiles = {
|
package/out/registryAPI.js
CHANGED
|
@@ -169,6 +169,36 @@ var Registry;
|
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
Registry.updateExistingApplication = updateExistingApplication;
|
|
172
|
+
async function updateExistingApplicationVersion(token, publisherId, applicationId, applicationVersion, updatedApplicationVersion, env = globals_1.Globals.ENV.production) {
|
|
173
|
+
try {
|
|
174
|
+
const { error } = await PUT(`/packages/{publisherId}/applications/{applicationId}/versions/{applicationVersion}`, {
|
|
175
|
+
...Registry.getAPIUrl(),
|
|
176
|
+
headers: {
|
|
177
|
+
...buildAuthHeader(token),
|
|
178
|
+
...headerBasedOnEnv(env)
|
|
179
|
+
},
|
|
180
|
+
params: {
|
|
181
|
+
path: {
|
|
182
|
+
publisherId,
|
|
183
|
+
applicationId,
|
|
184
|
+
applicationVersion
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
body: {
|
|
188
|
+
...updatedApplicationVersion
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
if (error) {
|
|
192
|
+
throw new Error(error.reason);
|
|
193
|
+
}
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
catch (e) {
|
|
197
|
+
// todo log error
|
|
198
|
+
return null;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
Registry.updateExistingApplicationVersion = updateExistingApplicationVersion;
|
|
172
202
|
async function publishApplicationVersion(token, publisherId, applicationId, version, apmTagBuffer, env = globals_1.Globals.ENV.production) {
|
|
173
203
|
const { data, error } = await POST('/packages/{publisherId}/applications/{applicationId}/versions/{applicationVersion}', {
|
|
174
204
|
...Registry.getAPIUrl(),
|
package/package.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@microtronics/studio-cli",
|
|
3
|
-
"version": "0.19.
|
|
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
|
-
"dotenv": "^16.4.7",
|
|
34
|
-
"file-type-checker": "^1.1.2",
|
|
35
|
-
"glob": "^11.0.1",
|
|
36
|
-
"iconv-lite": "^0.6.3",
|
|
37
|
-
"image-dimensions": "^2.3.0",
|
|
38
|
-
"ini": "^5.0.0",
|
|
39
|
-
"minimatch": "^10.0.1",
|
|
40
|
-
"openapi-fetch": "^0.13.0",
|
|
41
|
-
"pako": "^2.1.0",
|
|
42
|
-
"semver": "^7.6.3",
|
|
43
|
-
"tarballjs": "github:ankitrohatgi/tarballjs",
|
|
44
|
-
"tinytar-fix": "^0.1.1",
|
|
45
|
-
"vscode-uri": "^3.0.8",
|
|
46
|
-
"yaml": "^2.6.1"
|
|
47
|
-
},
|
|
48
|
-
"engines": {
|
|
49
|
-
"node": ">= 22"
|
|
50
|
-
},
|
|
51
|
-
"devDependencies": {
|
|
52
|
-
"@microsoft/api-extractor": "^7.47.11",
|
|
53
|
-
"@types/chai": "^4.3.6",
|
|
54
|
-
"@types/chai-as-promised": "^7.1.5",
|
|
55
|
-
"@types/ini": "^4.1.1",
|
|
56
|
-
"@types/mocha": "^10.0.9",
|
|
57
|
-
"@types/node": "^22.9.1",
|
|
58
|
-
"@types/semver": "^7.5.6",
|
|
59
|
-
"@types/vscode": "^1.86.2",
|
|
60
|
-
"chai": "^4.3.8",
|
|
61
|
-
"chai-as-promised": "^7.1.2",
|
|
62
|
-
"cross-env": "^7.0.3",
|
|
63
|
-
"mocha": "^10.8.2",
|
|
64
|
-
"mocha-junit-reporter": "^2.2.1",
|
|
65
|
-
"openapi-typescript": "^7.6.0",
|
|
66
|
-
"ts-node": "^10.9.2",
|
|
67
|
-
"typescript": "^5.6.3"
|
|
68
|
-
},
|
|
69
|
-
"mocha": {
|
|
70
|
-
"require": [
|
|
71
|
-
"ts-node/register"
|
|
72
|
-
],
|
|
73
|
-
"watch-files": "src/**",
|
|
74
|
-
"spec": "./test/**/*.spec.ts",
|
|
75
|
-
"recursive": true
|
|
76
|
-
}
|
|
77
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@microtronics/studio-cli",
|
|
3
|
+
"version": "0.19.2",
|
|
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
|
+
"dotenv": "^16.4.7",
|
|
34
|
+
"file-type-checker": "^1.1.2",
|
|
35
|
+
"glob": "^11.0.1",
|
|
36
|
+
"iconv-lite": "^0.6.3",
|
|
37
|
+
"image-dimensions": "^2.3.0",
|
|
38
|
+
"ini": "^5.0.0",
|
|
39
|
+
"minimatch": "^10.0.1",
|
|
40
|
+
"openapi-fetch": "^0.13.0",
|
|
41
|
+
"pako": "^2.1.0",
|
|
42
|
+
"semver": "^7.6.3",
|
|
43
|
+
"tarballjs": "github:ankitrohatgi/tarballjs",
|
|
44
|
+
"tinytar-fix": "^0.1.1",
|
|
45
|
+
"vscode-uri": "^3.0.8",
|
|
46
|
+
"yaml": "^2.6.1"
|
|
47
|
+
},
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">= 22"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@microsoft/api-extractor": "^7.47.11",
|
|
53
|
+
"@types/chai": "^4.3.6",
|
|
54
|
+
"@types/chai-as-promised": "^7.1.5",
|
|
55
|
+
"@types/ini": "^4.1.1",
|
|
56
|
+
"@types/mocha": "^10.0.9",
|
|
57
|
+
"@types/node": "^22.9.1",
|
|
58
|
+
"@types/semver": "^7.5.6",
|
|
59
|
+
"@types/vscode": "^1.86.2",
|
|
60
|
+
"chai": "^4.3.8",
|
|
61
|
+
"chai-as-promised": "^7.1.2",
|
|
62
|
+
"cross-env": "^7.0.3",
|
|
63
|
+
"mocha": "^10.8.2",
|
|
64
|
+
"mocha-junit-reporter": "^2.2.1",
|
|
65
|
+
"openapi-typescript": "^7.6.0",
|
|
66
|
+
"ts-node": "^10.9.2",
|
|
67
|
+
"typescript": "^5.6.3"
|
|
68
|
+
},
|
|
69
|
+
"mocha": {
|
|
70
|
+
"require": [
|
|
71
|
+
"ts-node/register"
|
|
72
|
+
],
|
|
73
|
+
"watch-files": "src/**",
|
|
74
|
+
"spec": "./test/**/*.spec.ts",
|
|
75
|
+
"recursive": true
|
|
76
|
+
}
|
|
77
|
+
}
|