@microtronics/studio-cli 0.19.0 → 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 +230 -224
- package/dist/studio-cli.d.ts +11 -6
- package/out/dde/fileGenerators/dlo.js +3 -0
- package/out/manifest.js +5 -2
- package/out/package/package.js +4 -2
- package/out/registryAPI.js +30 -0
- package/package.json +77 -77
package/CHANGELOG.md
CHANGED
|
@@ -1,285 +1,291 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
## 0.19.2 (2025-02-21)
|
|
4
|
+
|
|
5
|
+
## 0.19.1 (2025-02-20)
|
|
6
|
+
|
|
1
7
|
# Changelog
|
|
2
8
|
|
|
3
|
-
## 0.19.0 (2025-02-19)
|
|
4
|
-
|
|
5
|
-
* test(studio-cli): tag header should not have property type ([5082db8](https://bitbucket.org/microtronics-core/vscode-studio/commits/5082db8))
|
|
6
|
-
* test(studio-cli): test if type addon can only used from specific version onwards ([213bc7c](https://bitbucket.org/microtronics-core/vscode-studio/commits/213bc7c))
|
|
7
|
-
* test(studio-cli): validate apm tag header creation ([e74acc8](https://bitbucket.org/microtronics-core/vscode-studio/commits/e74acc8))
|
|
8
|
-
* test(studio-cli): validate openapi generation for addons ([08176bc](https://bitbucket.org/microtronics-core/vscode-studio/commits/08176bc))
|
|
9
|
-
* feat(studio-cli): added function to validate if app id is an uuid ([60bda6f](https://bitbucket.org/microtronics-core/vscode-studio/commits/60bda6f))
|
|
10
|
-
* feat(studio-cli): allow creating an apm tag for addons ([a7d32c4](https://bitbucket.org/microtronics-core/vscode-studio/commits/a7d32c4))
|
|
11
|
-
* feat(studio-cli): generate api routes for addons ([a075407](https://bitbucket.org/microtronics-core/vscode-studio/commits/a075407))
|
|
12
|
-
* feat(studio-cli): improved manifest validation if type is addon ([c3ae0c9](https://bitbucket.org/microtronics-core/vscode-studio/commits/c3ae0c9))
|
|
13
|
-
* feat(studio-cli): only allow project type addon for a specific backend version ([46f0f28](https://bitbucket.org/microtronics-core/vscode-studio/commits/46f0f28))
|
|
14
|
-
* feat(studio-cli): support for new app type `apm` ([8041db3](https://bitbucket.org/microtronics-core/vscode-studio/commits/8041db3))
|
|
15
|
-
* chore(studio-cli): add run file for local addon development ([465a1f0](https://bitbucket.org/microtronics-core/vscode-studio/commits/465a1f0))
|
|
16
|
-
* chore(studio-cli): disable dlo per default if project type is addon ([a7f98af](https://bitbucket.org/microtronics-core/vscode-studio/commits/a7f98af))
|
|
17
|
-
* chore(studio-cli): dissallow setting hw/fw & productId if project type is addon ([74c90c3](https://bitbucket.org/microtronics-core/vscode-studio/commits/74c90c3))
|
|
18
|
-
* chore(studio-cli): improve type to allow `Manifest.ProjectTypes` ([fe6535f](https://bitbucket.org/microtronics-core/vscode-studio/commits/fe6535f))
|
|
19
|
-
* chore(studio-cli): validate for device profile id if dlo is enabled ([908fc9a](https://bitbucket.org/microtronics-core/vscode-studio/commits/908fc9a))
|
|
20
|
-
* 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))
|
|
21
27
|
* refactor(studio-cli): added function to create the `baseTagHeader` ([ac9f83f](https://bitbucket.org/microtronics-core/vscode-studio/commits/ac9f83f))
|
|
22
28
|
|
|
23
|
-
## 0.18.0 (2025-02-13)
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
### Features
|
|
27
|
-
|
|
29
|
+
## 0.18.0 (2025-02-13)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
28
34
|
* **studio-cli:** support for new qualification stages ([7511873](https://bitbucket.org/microtronics-core/vscode-studio/commits/7511873eab82fa4e1fb4be3c1b998b1a3576f5f9))
|
|
29
35
|
|
|
30
|
-
## 0.17.0 (2025-02-13)
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
### Features
|
|
34
|
-
|
|
35
|
-
* **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))
|
|
36
|
-
* **studio-cli:** allow set the `MYDATANET_CUSTOMER` env ([a34297a](https://bitbucket.org/microtronics-core/vscode-studio/commits/a34297ae1e670ef665b5991d065f74e6401466e3))
|
|
37
|
-
* **studio-cli:** make `ENV` namespace available ([09a8b80](https://bitbucket.org/microtronics-core/vscode-studio/commits/09a8b80a1b0f99eada300e273bb84029d28132bb))
|
|
38
|
-
* **studio-cli:** only add dlo binarys if the dlo part is enabled ([6d106ab](https://bitbucket.org/microtronics-core/vscode-studio/commits/6d106ab411c44057ca71e04d301d1c984a6b253b))
|
|
39
|
-
* **studio-cli:** only start compiler if the apm part is enabled ([dfbc701](https://bitbucket.org/microtronics-core/vscode-studio/commits/dfbc70173abf81eb5635a6d360d89a2f8734868a))
|
|
40
|
-
* **studio-cli:** support to read `.env.local` to support local build settings ([3376dbf](https://bitbucket.org/microtronics-core/vscode-studio/commits/3376dbf16f757f06829556eb2fc1d92d628253c1))
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
### Bug Fixes
|
|
44
|
-
|
|
45
|
-
* **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))
|
|
46
52
|
* **studio-cli:** validate if `.env.local` file exist ([eeea393](https://bitbucket.org/microtronics-core/vscode-studio/commits/eeea3932bc28a259975c4755a4f5a6a107ab34b7))
|
|
47
53
|
|
|
48
|
-
## 0.16.0 (2025-02-07)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
### Features
|
|
52
|
-
|
|
53
|
-
* **studio-cli:** add the `history.json` to the store tag ([70086be](https://bitbucket.org/microtronics-core/vscode-studio/commits/70086be5ef2100ba6bf0e699d242bf9d02d7e347))
|
|
54
|
-
* **studio-cli:** add the `studio.json` to the store tag ([6e23a79](https://bitbucket.org/microtronics-core/vscode-studio/commits/6e23a793f8d7c7ebc8a5044d86002d965ac484eb))
|
|
55
|
-
* **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))
|
|
56
62
|
* **studio-cli:** prevent generating `history.json` for library projects ([00e45c0](https://bitbucket.org/microtronics-core/vscode-studio/commits/00e45c02b07147a157b0c3fedb3217988c0ea225))
|
|
57
63
|
|
|
58
|
-
## 0.15.1 (2025-01-31)
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
### Bug Fixes
|
|
62
|
-
|
|
64
|
+
## 0.15.1 (2025-01-31)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Bug Fixes
|
|
68
|
+
|
|
63
69
|
* **studio-cli:** didn't allow that allowedBackends are null ([6335dab](https://bitbucket.org/microtronics-core/vscode-studio/commits/6335dab9eb7e783faa4354da304989f3adc79be0))
|
|
64
70
|
|
|
65
|
-
## 0.15.0 (2025-01-31)
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
### Features
|
|
69
|
-
|
|
71
|
+
## 0.15.0 (2025-01-31)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Features
|
|
75
|
+
|
|
70
76
|
* **studio-cli:** removed `allowedBackends` and `target` from manifest.registry ([99398ae](https://bitbucket.org/microtronics-core/vscode-studio/commits/99398ae8e475946204d49045b8fff83c2f013e6d))
|
|
71
77
|
|
|
72
|
-
## 0.14.0 (2025-01-29)
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
### Features
|
|
76
|
-
|
|
78
|
+
## 0.14.0 (2025-01-29)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### Features
|
|
82
|
+
|
|
77
83
|
* **studio-core:** allow editing the release notes of iot app versions ([2d19d13](https://bitbucket.org/microtronics-core/vscode-studio/commits/2d19d13ca32cceaf4a574a9594563d6dc0931fc5))
|
|
78
84
|
|
|
79
|
-
## 0.13.0 (2025-01-29)
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
### Features
|
|
83
|
-
|
|
84
|
-
* **studio-cli:** add `FS.copy` as filesystem function ([59c252c](https://bitbucket.org/microtronics-core/vscode-studio/commits/59c252cb2afd223a43376a2b220c20bd2d7c1761))
|
|
85
|
-
* **studio-cli:** allow processing dfiles from the cli ([6162326](https://bitbucket.org/microtronics-core/vscode-studio/commits/6162326b30412a05cb62ebd40a272e644bd0d970))
|
|
86
|
-
* **studio-cli:** generate error message if the dfile sync_mode is invalid ([87ae69b](https://bitbucket.org/microtronics-core/vscode-studio/commits/87ae69b4bcf3a928892335dadba7e49668b1a6e1))
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
### Bug Fixes
|
|
90
|
-
|
|
91
|
-
* **studio-cli:** cliFS interface did not create target path during copy ([641886d](https://bitbucket.org/microtronics-core/vscode-studio/commits/641886d776e2fe158314effc00760b12cca514bd))
|
|
92
|
-
* **studio-cli:** copy dfiles from libraries ([e746dcd](https://bitbucket.org/microtronics-core/vscode-studio/commits/e746dcd31a8095226ef22434b5612536c987a595))
|
|
93
|
-
* **studio-cli:** invalidate manifest cache if file path changes (only needed for tests) ([db30907](https://bitbucket.org/microtronics-core/vscode-studio/commits/db309072028d59ece85167a03f3a77b9a1575f59))
|
|
94
|
-
* **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))
|
|
95
101
|
* **studio-cli:** invalidate manifest cache if filesize doesn't match ([30947ab](https://bitbucket.org/microtronics-core/vscode-studio/commits/30947ab55152ceb5c269dda695cd3f262cae82b9))
|
|
96
102
|
|
|
97
|
-
## 0.12.2 (2025-01-27)
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
### Bug Fixes
|
|
101
|
-
|
|
103
|
+
## 0.12.2 (2025-01-27)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### Bug Fixes
|
|
107
|
+
|
|
102
108
|
* **studio-cli:** only validate publish related settings during publishing ([82a624a](https://bitbucket.org/microtronics-core/vscode-studio/commits/82a624a3937f0382f096a940f05720b41b3d658a))
|
|
103
109
|
|
|
104
|
-
## 0.12.1 (2025-01-21)
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
### Bug Fixes
|
|
108
|
-
|
|
110
|
+
## 0.12.1 (2025-01-21)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### Bug Fixes
|
|
114
|
+
|
|
109
115
|
* **studio-cli:** only validate icon if a registry id is set ([621a6cd](https://bitbucket.org/microtronics-core/vscode-studio/commits/621a6cd130b45bd03a13cf4ad131cf435e84a593))
|
|
110
116
|
|
|
111
|
-
## 0.12.0 (2025-01-21)
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
### Features
|
|
115
|
-
|
|
116
|
-
* **studio-cli:** cache manifest file until it's content hast changed ([f5b7128](https://bitbucket.org/microtronics-core/vscode-studio/commits/f5b7128d4938dba63a02b7d406c04e55a9747695))
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
### Bug Fixes
|
|
120
|
-
|
|
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
|
+
|
|
121
127
|
* **studio-cli:** wrong file path was validated during `.studioignore` validation ([2b9cc76](https://bitbucket.org/microtronics-core/vscode-studio/commits/2b9cc7672a6d339f7598863e2bf560117aaae6c8))
|
|
122
128
|
|
|
123
|
-
## 0.11.0 (2025-01-20)
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
### Features
|
|
127
|
-
|
|
128
|
-
* **studio-cli:** allow publishing a library project to the registry ([0eabc7d](https://bitbucket.org/microtronics-core/vscode-studio/commits/0eabc7dbf335dcd61a907eab3b56c2b4ba30f57b))
|
|
129
|
-
* **studio-cli:** validate the given version string within the studio.json ([4cb429c](https://bitbucket.org/microtronics-core/vscode-studio/commits/4cb429c37cda38cd3888b868f95efe223c11aa61))
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
### Bug Fixes
|
|
133
|
-
|
|
134
|
-
* **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))
|
|
135
141
|
* **studio-cli:** forward studio environment to library publish function ([ba8f79f](https://bitbucket.org/microtronics-core/vscode-studio/commits/ba8f79f0fc9d05c92759a6d1ef4a11f690faba38))
|
|
136
142
|
|
|
137
|
-
## 0.10.0 (2025-01-14)
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
### Features
|
|
141
|
-
|
|
142
|
-
* **studio-cli:** allow switching apm release to semver with lucky environment ([bd24f41](https://bitbucket.org/microtronics-core/vscode-studio/commits/bd24f417d9ac844ab92cf7e3ede6853ab9f1a9c5))
|
|
143
|
-
* **studio-cli:** first working version that supports publishing an APM ([0dede3e](https://bitbucket.org/microtronics-core/vscode-studio/commits/0dede3eef94b0a046e4b6ef37d224233c0bbd69e))
|
|
144
|
-
* **studio-cli:** publish with semver when env is lucky ([7b8e2fa](https://bitbucket.org/microtronics-core/vscode-studio/commits/7b8e2fa15cd2de4faa21b582c9a609a15826489f))
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
### Bug Fixes
|
|
148
|
-
|
|
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
|
+
|
|
149
155
|
* **studio-cli:** findFiles function had wrong working directory ([aba5b86](https://bitbucket.org/microtronics-core/vscode-studio/commits/aba5b869bfef8fbe0cd0274d6a6cc60a7c11f48a))
|
|
150
156
|
|
|
151
157
|
## 0.9.1 (2024-12-19)
|
|
152
158
|
|
|
153
|
-
## 0.9.0 (2024-12-19)
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
### Features
|
|
157
|
-
|
|
159
|
+
## 0.9.0 (2024-12-19)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
### Features
|
|
163
|
+
|
|
158
164
|
* **studio-cli:** dlo-core 0.3.0 requires APM_VERSION to be semver ([62188e0](https://bitbucket.org/microtronics-core/vscode-studio/commits/62188e089769c0d5d37eecf7b1bddc656381700e))
|
|
159
165
|
|
|
160
|
-
## 0.8.0 (2024-12-19)
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
### Features
|
|
164
|
-
|
|
165
|
-
* **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))
|
|
166
172
|
* **studio-core:** allow to trigger blo build from cli ([1cdfa02](https://bitbucket.org/microtronics-core/vscode-studio/commits/1cdfa026517759392acb0f098a90e9fda8faf5c1))
|
|
167
173
|
|
|
168
|
-
## 0.7.0 (2024-12-16)
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
### Features
|
|
172
|
-
|
|
173
|
-
* **studio-cli:** dlo compiler returns errors as diagnostic information ([eb14ac9](https://bitbucket.org/microtronics-core/vscode-studio/commits/eb14ac9460d3dfd3be9221adde0a87e15eb13cd9))
|
|
174
|
-
* **studio-cli:** first working version of dlo compiler ([158e85f](https://bitbucket.org/microtronics-core/vscode-studio/commits/158e85f3e51a9288835017b928e8306896f5655e))
|
|
175
|
-
* **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))
|
|
176
182
|
* **studio-cli:** moved dlo precompiler to the cli ([3087cbc](https://bitbucket.org/microtronics-core/vscode-studio/commits/3087cbcbe9fb494bf368ee50f6774be80c80987d))
|
|
177
183
|
|
|
178
|
-
## 0.6.1 (2024-12-12)
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
### Bug Fixes
|
|
182
|
-
|
|
184
|
+
## 0.6.1 (2024-12-12)
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
### Bug Fixes
|
|
188
|
+
|
|
183
189
|
* **studio-cli:** prevent `default.inc` to be removed due to race condition ([fbf3fcf](https://bitbucket.org/microtronics-core/vscode-studio/commits/fbf3fcfa2ef0af6ec2359aa99ccb90768d7a25ec))
|
|
184
190
|
|
|
185
|
-
## 0.6.0 (2024-12-11)
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
### Features
|
|
189
|
-
|
|
191
|
+
## 0.6.0 (2024-12-11)
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
### Features
|
|
195
|
+
|
|
190
196
|
* **studio-cli:** moved generation of `default.inc` to the cli ([e78ce9e](https://bitbucket.org/microtronics-core/vscode-studio/commits/e78ce9ed8dc6fd73a74a25ad8c89c3a2013ca32d))
|
|
191
197
|
|
|
192
|
-
## 0.5.1 (2024-12-11)
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
### Bug Fixes
|
|
196
|
-
|
|
198
|
+
## 0.5.1 (2024-12-11)
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
### Bug Fixes
|
|
202
|
+
|
|
197
203
|
* **studio-cli:** correctly load project specific ini files ([93d312f](https://bitbucket.org/microtronics-core/vscode-studio/commits/93d312fefa8685bc5f76194230f5ed9577f10638))
|
|
198
204
|
|
|
199
|
-
## 0.5.0 (2024-12-10)
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
### Features
|
|
203
|
-
|
|
204
|
-
* **studio-cli:** generate all dde related api files ([e004302](https://bitbucket.org/microtronics-core/vscode-studio/commits/e004302edf7870ab635e67fade3ca34ea5664c34))
|
|
205
|
-
* **studio-cli:** generate all dde related dlo files ([8a905b5](https://bitbucket.org/microtronics-core/vscode-studio/commits/8a905b5df2732fd0df1905ff30a6a7f935dbdc44))
|
|
206
|
-
* **studio-cli:** generate history.json for the current working dir ([c7a9dd5](https://bitbucket.org/microtronics-core/vscode-studio/commits/c7a9dd59cb31953adba21231a5645e27316065da))
|
|
207
|
-
* **studio-cli:** moved dde specific api file generation to `stuiod-cli` ([54257cd](https://bitbucket.org/microtronics-core/vscode-studio/commits/54257cdc96cfda53b55d8793acbbd47b685053da))
|
|
208
|
-
* **studio-cli:** moved dde specific dlo file generation to `stuiod-cli` ([f9475e0](https://bitbucket.org/microtronics-core/vscode-studio/commits/f9475e07fb7143068b2948349af36969241d5e57))
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
### Bug Fixes
|
|
212
|
-
|
|
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
|
+
|
|
213
219
|
* **studio-cli:** prevent handling empty strings as Number ([376ea04](https://bitbucket.org/microtronics-core/vscode-studio/commits/376ea04c397855c4aab6eabfb7c7cec2e48124f2))
|
|
214
220
|
|
|
215
|
-
## 0.4.1 (2024-12-10)
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
### Bug Fixes
|
|
219
|
-
|
|
221
|
+
## 0.4.1 (2024-12-10)
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
### Bug Fixes
|
|
225
|
+
|
|
220
226
|
* **studio-cli:** add missing package `ajv-formats` ([2db4b55](https://bitbucket.org/microtronics-core/vscode-studio/commits/2db4b5500c98082b9e72a40cba832697366e64bb))
|
|
221
227
|
|
|
222
|
-
## 0.4.0 (2024-12-10)
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
### Features
|
|
226
|
-
|
|
227
|
-
* **studio-cli:** command to call dde compiler ([086a794](https://bitbucket.org/microtronics-core/vscode-studio/commits/086a7948693e445c75b710430780ef775872b1aa))
|
|
228
|
-
* **studio-cli:** compile dde function ([0a9d6b4](https://bitbucket.org/microtronics-core/vscode-studio/commits/0a9d6b49f1cabc934bc5675bb721dfed131e0ea3))
|
|
229
|
-
* **studio-cli:** export function to generate the myDatanet dde xml ([f0736f4](https://bitbucket.org/microtronics-core/vscode-studio/commits/f0736f46b306429418e0413bea59e9ef6b708a32))
|
|
230
|
-
* **studio-cli:** export xml dde notation during build ([c6b513a](https://bitbucket.org/microtronics-core/vscode-studio/commits/c6b513a1a3a13277de6c6571a983bd29433c6dee))
|
|
231
|
-
* **studio-cli:** validate yaml string against the dde schema ([bfebc7c](https://bitbucket.org/microtronics-core/vscode-studio/commits/bfebc7cdbbdbad44d0db5246845b3cc46b4645ab))
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
### Bug Fixes
|
|
235
|
-
|
|
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
|
+
|
|
236
242
|
* **studio-cli:** dynamic dde schema was not an entirely valid schema ([28a1b65](https://bitbucket.org/microtronics-core/vscode-studio/commits/28a1b65c79098841b164fba1e5c1cd17440bc63e))
|
|
237
243
|
|
|
238
|
-
## 0.3.5 (2024-11-28)
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
### Bug Fixes
|
|
242
|
-
|
|
244
|
+
## 0.3.5 (2024-11-28)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
### Bug Fixes
|
|
248
|
+
|
|
243
249
|
* **studio-core:** trigger cache update to update the views ([fbc9a98](https://bitbucket.org/microtronics-core/vscode-studio/commits/fbc9a989989bd67383b0f3d9b5361f736683c65b))
|
|
244
250
|
|
|
245
|
-
## 0.3.4 (2024-11-27)
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
### Bug Fixes
|
|
249
|
-
|
|
251
|
+
## 0.3.4 (2024-11-27)
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
### Bug Fixes
|
|
255
|
+
|
|
250
256
|
* **studio-cli:** 'libraryDependency' entry was not created ([450463a](https://bitbucket.org/microtronics-core/vscode-studio/commits/450463ada1eb023fd0a8e5791133323c06acb052))
|
|
251
257
|
|
|
252
|
-
## 0.3.3 (2024-11-26)
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
### Bug Fixes
|
|
256
|
-
|
|
257
|
-
* **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))
|
|
258
264
|
* **studio-cli:** run npm build during prepublish ([58e099e](https://bitbucket.org/microtronics-core/vscode-studio/commits/58e099ed57ea6986019e026d68e950ce8eb447b4))
|
|
259
265
|
|
|
260
|
-
## 0.3.2 (2024-11-26)
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
### Bug Fixes
|
|
264
|
-
|
|
266
|
+
## 0.3.2 (2024-11-26)
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
### Bug Fixes
|
|
270
|
+
|
|
265
271
|
* **studio-cli:** run npm build during prepublish ([d8640f1](https://bitbucket.org/microtronics-core/vscode-studio/commits/d8640f163537d2acc988abc92b39bcd14a6b2323))
|
|
266
272
|
|
|
267
273
|
## 0.3.1 (2024-11-26)
|
|
268
274
|
|
|
269
|
-
## 0.3.0 (2024-11-26)
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
### Features
|
|
273
|
-
|
|
274
|
-
* **studio-cli:** added command to retrive version ([c96f267](https://bitbucket.org/microtronics-core/vscode-studio/commits/c96f267d6f856487c53c3120f708f17b93b8e53c))
|
|
275
|
-
* **studio-cli:** automatic version generation with release-it ([009bfb1](https://bitbucket.org/microtronics-core/vscode-studio/commits/009bfb1bb242d9d2bc0113093ff0e480e19f32fc))
|
|
276
|
-
* **studio-cli:** first version of registry api ([283c85c](https://bitbucket.org/microtronics-core/vscode-studio/commits/283c85cf68faf480f97efc23d3ef00931761a6cf))
|
|
277
|
-
* **studio-cli:** first working version to install dependencies ([d5f89bc](https://bitbucket.org/microtronics-core/vscode-studio/commits/d5f89bc263bf7f5d17f5515de557a8db1ecfb279))
|
|
278
|
-
* **studio-cli:** fs interfaces to allwo requesting with vscode fs and node fs ([b39bd6f](https://bitbucket.org/microtronics-core/vscode-studio/commits/b39bd6f4ca61816607fdc8b381d5b263e056e3f1))
|
|
279
|
-
* **studio-cli:** migrated `buildDependencyTree` function with tests ([392a43e](https://bitbucket.org/microtronics-core/vscode-studio/commits/392a43e7859c8b1cb665c043ae52c8f09ab188a0))
|
|
280
|
-
* **studio-cli:** migrated `isDependencyInstalled` function ([ae9c5c2](https://bitbucket.org/microtronics-core/vscode-studio/commits/ae9c5c24919f1e1ff9fa1b2778677f9af1fdc0e3))
|
|
281
|
-
* **studio-cli:** new function to remove an existing library ([50f18f6](https://bitbucket.org/microtronics-core/vscode-studio/commits/50f18f6039dd21cf62c6dc8d16b14bad2268c8f3))
|
|
282
|
-
* **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))
|
|
283
289
|
* **studio-cli:** studio manifest interface to read manifest file ([403ef8e](https://bitbucket.org/microtronics-core/vscode-studio/commits/403ef8e68ded21ffa1d47bf55a7c0fdd3fe29167))
|
|
284
290
|
|
|
285
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;
|
|
@@ -2070,7 +2073,7 @@ export declare namespace Manifest {
|
|
|
2070
2073
|
type: ProjectTypes;
|
|
2071
2074
|
legacyProject?: boolean;
|
|
2072
2075
|
icon?: string;
|
|
2073
|
-
dpid
|
|
2076
|
+
dpid?: DeviceProfiles;
|
|
2074
2077
|
engines?: {
|
|
2075
2078
|
backend?: string;
|
|
2076
2079
|
hwfw?: 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 = {
|
|
@@ -101,6 +101,9 @@ function generateAutoIncFromMap(ddeMap, globalDefines, manifest) {
|
|
|
101
101
|
pwn(`#define ${name} ${quotes}${value}${quotes}`);
|
|
102
102
|
}
|
|
103
103
|
const { dpid, registry } = manifest;
|
|
104
|
+
if (!dpid) {
|
|
105
|
+
throw new Error('Setting "dpid" is required to generate dlo files');
|
|
106
|
+
}
|
|
104
107
|
const { auto_inc } = DeviceProfiles_1.DeviceProfiles[dpid];
|
|
105
108
|
addDefinition(`APM_DPID`, `${dpid}`);
|
|
106
109
|
addDefinition(`APM_DPID_${dpid}`, `1`);
|
package/out/manifest.js
CHANGED
|
@@ -399,8 +399,11 @@ function validateAddonSupported(manifest) {
|
|
|
399
399
|
if (!backend || backend < ADDON_SUPPORTED) {
|
|
400
400
|
throw new Error(`Project type "addon" requires "engines.backend" to be ">=${ADDON_SUPPORTED}"`);
|
|
401
401
|
}
|
|
402
|
-
if (
|
|
403
|
-
throw new Error('For project type "addon", "dlo" is not
|
|
402
|
+
if (manifest.dlo) {
|
|
403
|
+
throw new Error('For project type "addon", "dlo" is not supported!"');
|
|
404
|
+
}
|
|
405
|
+
if (manifest.dpid) {
|
|
406
|
+
throw new Error('For project type "addon", "dpid" is not supported!"');
|
|
404
407
|
}
|
|
405
408
|
}
|
|
406
409
|
/**
|
package/out/package/package.js
CHANGED
|
@@ -210,8 +210,10 @@ async function buildDDE(cwd, fs) {
|
|
|
210
210
|
await dde_1.DDE.exportHistoryJson(cwd, fs, result.ddeJSON);
|
|
211
211
|
}
|
|
212
212
|
await dde_1.DDE.exportOpenApi(cwd, fs, result.ddeJSON);
|
|
213
|
-
await
|
|
214
|
-
|
|
213
|
+
if (await manifest_1.Manifest.isApmPartEnabled(cwd, fs, apm_1.APM.Part.dlo, manifest)) {
|
|
214
|
+
await dde_1.DDE.exportAutoDloFiles(cwd, fs, result.ddeJSON);
|
|
215
|
+
await dlo_1.DLO.exportDloConfig(cwd, fs);
|
|
216
|
+
}
|
|
215
217
|
}
|
|
216
218
|
else {
|
|
217
219
|
throw new Error('Project has errors!');
|
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
|
+
}
|