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