@toa.io/runtime 1.0.0-alpha.33 → 1.0.0-alpha.330
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 +351 -0
- package/package.json +29 -27
- package/test/dependencies.test.js +38 -0
- package/bin/toa +0 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [1.0.0-alpha.330](https://github.com/toa-io/toa/compare/v1.0.0-alpha.329...v1.0.0-alpha.330) (2026-10-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [1.0.0-alpha.329](https://github.com/toa-io/toa/compare/v1.0.0-alpha.328...v1.0.0-alpha.329) (2026-10-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [1.0.0-alpha.328](https://github.com/toa-io/toa/compare/v1.0.0-alpha.327...v1.0.0-alpha.328) (2026-10-10)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [1.0.0-alpha.327](https://github.com/toa-io/toa/compare/v1.0.0-alpha.326...v1.0.0-alpha.327) (2026-10-10)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
# [1.0.0-alpha.326](https://github.com/toa-io/toa/compare/v1.0.0-alpha.325...v1.0.0-alpha.326) (2026-10-06)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
# [1.0.0-alpha.325](https://github.com/toa-io/toa/compare/v1.0.0-alpha.324...v1.0.0-alpha.325) (2026-10-02)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
# [1.0.0-alpha.324](https://github.com/toa-io/toa/compare/v1.0.0-alpha.323...v1.0.0-alpha.324) (2026-10-02)
|
|
55
|
+
|
|
56
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
# [1.0.0-alpha.323](https://github.com/toa-io/toa/compare/v1.0.0-alpha.322...v1.0.0-alpha.323) (2026-10-01)
|
|
63
|
+
|
|
64
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
# [1.0.0-alpha.322](https://github.com/toa-io/toa/compare/v1.0.0-alpha.321...v1.0.0-alpha.322) (2026-09-29)
|
|
71
|
+
|
|
72
|
+
### Features
|
|
73
|
+
|
|
74
|
+
* **continuity:** give back what a continued effect was answered on an earlier attempt ([507145b](https://github.com/toa-io/toa/commit/507145beb635dad3d948b74630e34858537bf8ef))
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
# [1.0.0-alpha.321](https://github.com/toa-io/toa/compare/v1.0.0-alpha.320...v1.0.0-alpha.321) (2026-09-28)
|
|
78
|
+
|
|
79
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
# [1.0.0-alpha.320](https://github.com/toa-io/toa/compare/v1.0.0-alpha.319...v1.0.0-alpha.320) (2026-09-28)
|
|
86
|
+
|
|
87
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
# [1.0.0-alpha.319](https://github.com/toa-io/toa/compare/v1.0.0-alpha.318...v1.0.0-alpha.319) (2026-09-27)
|
|
94
|
+
|
|
95
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
# [1.0.0-alpha.318](https://github.com/toa-io/toa/compare/v1.0.0-alpha.317...v1.0.0-alpha.318) (2026-09-23)
|
|
102
|
+
|
|
103
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
# [1.0.0-alpha.317](https://github.com/toa-io/toa/compare/v1.0.0-alpha.316...v1.0.0-alpha.317) (2026-09-23)
|
|
110
|
+
|
|
111
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
# [1.0.0-alpha.316](https://github.com/toa-io/toa/compare/v1.0.0-alpha.315...v1.0.0-alpha.316) (2026-09-23)
|
|
118
|
+
|
|
119
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
# [1.0.0-alpha.315](https://github.com/toa-io/toa/compare/v1.0.0-alpha.314...v1.0.0-alpha.315) (2026-09-23)
|
|
126
|
+
|
|
127
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
# [1.0.0-alpha.314](https://github.com/toa-io/toa/compare/v1.0.0-alpha.313...v1.0.0-alpha.314) (2026-09-19)
|
|
134
|
+
|
|
135
|
+
### Features
|
|
136
|
+
|
|
137
|
+
* **core:** a reference may name a declaration its package claims ([8040f60](https://github.com/toa-io/toa/commit/8040f60976549ab90497675bb54e664261f5b6bb))
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
# [1.0.0-alpha.313](https://github.com/toa-io/toa/compare/v1.0.0-alpha.312...v1.0.0-alpha.313) (2026-09-18)
|
|
141
|
+
|
|
142
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
# [1.0.0-alpha.312](https://github.com/toa-io/toa/compare/v1.0.0-alpha.311...v1.0.0-alpha.312) (2026-09-18)
|
|
149
|
+
|
|
150
|
+
### Features
|
|
151
|
+
|
|
152
|
+
* **runtime:** install the binding that carries a stream ([ea9150c](https://github.com/toa-io/toa/commit/ea9150c5efcee636a0fa55e9a0c3af9f01c20a62))
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
# [1.0.0-alpha.311](https://github.com/toa-io/toa/compare/v1.0.0-alpha.310...v1.0.0-alpha.311) (2026-09-17)
|
|
156
|
+
|
|
157
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
# [1.0.0-alpha.310](https://github.com/toa-io/toa/compare/v1.0.0-alpha.309...v1.0.0-alpha.310) (2026-09-16)
|
|
164
|
+
|
|
165
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
# [1.0.0-alpha.309](https://github.com/toa-io/toa/compare/v1.0.0-alpha.308...v1.0.0-alpha.309) (2026-09-16)
|
|
172
|
+
|
|
173
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
# [1.0.0-alpha.308](https://github.com/toa-io/toa/compare/v1.0.0-alpha.307...v1.0.0-alpha.308) (2026-09-15)
|
|
180
|
+
|
|
181
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
# [1.0.0-alpha.307](https://github.com/toa-io/toa/compare/v1.0.0-alpha.306...v1.0.0-alpha.307) (2026-09-15)
|
|
188
|
+
|
|
189
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
# [1.0.0-alpha.306](https://github.com/toa-io/toa/compare/v1.0.0-alpha.305...v1.0.0-alpha.306) (2026-09-14)
|
|
196
|
+
|
|
197
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
# [1.0.0-alpha.305](https://github.com/toa-io/toa/compare/v1.0.0-alpha.304...v1.0.0-alpha.305) (2026-09-13)
|
|
204
|
+
|
|
205
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
# [1.0.0-alpha.304](https://github.com/toa-io/toa/compare/v1.0.0-alpha.303...v1.0.0-alpha.304) (2026-09-13)
|
|
212
|
+
|
|
213
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
# [1.0.0-alpha.303](https://github.com/toa-io/toa/compare/v1.0.0-alpha.302...v1.0.0-alpha.303) (2026-09-12)
|
|
220
|
+
|
|
221
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
# [1.0.0-alpha.302](https://github.com/toa-io/toa/compare/v1.0.0-alpha.301...v1.0.0-alpha.302) (2026-09-11)
|
|
228
|
+
|
|
229
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
# [1.0.0-alpha.301](https://github.com/toa-io/toa/compare/v1.0.0-alpha.300...v1.0.0-alpha.301) (2026-09-11)
|
|
236
|
+
|
|
237
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
# [1.0.0-alpha.300](https://github.com/toa-io/toa/compare/v1.0.0-alpha.299...v1.0.0-alpha.300) (2026-09-11)
|
|
244
|
+
|
|
245
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
# [1.0.0-alpha.299](https://github.com/toa-io/toa/compare/v1.0.0-alpha.298...v1.0.0-alpha.299) (2026-09-10)
|
|
252
|
+
|
|
253
|
+
### Features
|
|
254
|
+
|
|
255
|
+
* **convergence:** deployments of one context converge ([8a70343](https://github.com/toa-io/toa/commit/8a70343cf6953aab58d4a25bac215508ff8d9a37))
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
# [1.0.0-alpha.298](https://github.com/toa-io/toa/compare/v1.0.0-alpha.297...v1.0.0-alpha.298) (2026-09-08)
|
|
259
|
+
|
|
260
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
# [1.0.0-alpha.297](https://github.com/toa-io/toa/compare/v1.0.0-alpha.296...v1.0.0-alpha.297) (2026-09-08)
|
|
267
|
+
|
|
268
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
# [1.0.0-alpha.296](https://github.com/toa-io/toa/compare/v1.0.0-alpha.295...v1.0.0-alpha.296) (2026-09-08)
|
|
275
|
+
|
|
276
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
# [1.0.0-alpha.295](https://github.com/toa-io/toa/compare/v1.0.0-alpha.294...v1.0.0-alpha.295) (2026-09-07)
|
|
283
|
+
|
|
284
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
# [1.0.0-alpha.294](https://github.com/toa-io/toa/compare/v1.0.0-alpha.293...v1.0.0-alpha.294) (2026-09-07)
|
|
291
|
+
|
|
292
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
# [1.0.0-alpha.293](https://github.com/toa-io/toa/compare/v1.0.0-alpha.292...v1.0.0-alpha.293) (2026-09-07)
|
|
299
|
+
|
|
300
|
+
### Bug Fixes
|
|
301
|
+
|
|
302
|
+
* **runtime:** the cadence extension is installed with the runtime ([a13c585](https://github.com/toa-io/toa/commit/a13c58530ece55fa618ae4bd2186eabf41625978))
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
# [1.0.0-alpha.292](https://github.com/toa-io/toa/compare/v1.0.0-alpha.291...v1.0.0-alpha.292) (2026-09-07)
|
|
306
|
+
|
|
307
|
+
### Features
|
|
308
|
+
|
|
309
|
+
* **cli:** the deployment library is a peer, and the binary is the CLI's ([a923f81](https://github.com/toa-io/toa/commit/a923f8173a55ed1c091213a7c7db1863ca1d0ba6))
|
|
310
|
+
* **definitions:** an operation is read from its source ([56ee048](https://github.com/toa-io/toa/commit/56ee0485e7f00fa52bd9de9a4b0c780127b3ee87))
|
|
311
|
+
* **definitions:** the version of Toa is the definitions package's ([3d0272e](https://github.com/toa-io/toa/commit/3d0272ea0ab862f4b6c2e58a2f003f92d0f8a87f))
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
# [1.0.0-alpha.291](https://github.com/toa-io/toa/compare/v1.0.0-alpha.290...v1.0.0-alpha.291) (2026-09-07)
|
|
315
|
+
|
|
316
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
# [1.0.0-alpha.290](https://github.com/toa-io/toa/compare/v1.0.0-alpha.289...v1.0.0-alpha.290) (2026-09-07)
|
|
323
|
+
|
|
324
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
# [1.0.0-alpha.289](https://github.com/toa-io/toa/compare/v1.0.0-alpha.288...v1.0.0-alpha.289) (2026-09-07)
|
|
331
|
+
|
|
332
|
+
* A deploy moves only what changed, and a component sees none of the runtime's environment (#1073) ([f38e3db](https://github.com/toa-io/toa/commit/f38e3db533f24db866c57bfa1ef294eff1eaf499)), closes [#1073](https://github.com/toa-io/toa/issues/1073) [#1064](https://github.com/toa-io/toa/issues/1064) [#1066](https://github.com/toa-io/toa/issues/1066) [#1067](https://github.com/toa-io/toa/issues/1067) [#1068](https://github.com/toa-io/toa/issues/1068) [#1069](https://github.com/toa-io/toa/issues/1069) [#1071](https://github.com/toa-io/toa/issues/1071) [#1070](https://github.com/toa-io/toa/issues/1070) [#1072](https://github.com/toa-io/toa/issues/1072)
|
|
333
|
+
|
|
334
|
+
### BREAKING CHANGES
|
|
335
|
+
|
|
336
|
+
* a component that read `process.env.TOA_*` reads `context` instead;
|
|
337
|
+
`echo(input)` no longer substitutes from the environment; a bash operation sees no
|
|
338
|
+
`TOA_*`; images no longer set `USER node` — see migrations/289.md.
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
# [1.0.0-alpha.288](https://github.com/toa-io/toa/compare/v1.0.0-alpha.287...v1.0.0-alpha.288) (2026-09-06)
|
|
342
|
+
|
|
343
|
+
**Note:** Version bump only for package @toa.io/runtime
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
# [1.0.0-alpha.287](https://github.com/toa-io/toa/compare/v1.0.0-alpha.286...v1.0.0-alpha.287) (2026-09-06)
|
|
350
|
+
|
|
351
|
+
**Note:** Version bump only for package @toa.io/runtime
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toa.io/runtime",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.330",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "Toa Runtime",
|
|
5
6
|
"author": "temich <tema.gurtovoy@gmail.com>",
|
|
6
7
|
"homepage": "https://github.com/toa-io/toa#readme",
|
|
@@ -11,39 +12,40 @@
|
|
|
11
12
|
"bugs": {
|
|
12
13
|
"url": "https://github.com/toa-io/toa/issues"
|
|
13
14
|
},
|
|
14
|
-
"main": "package.json",
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
|
-
"bin": {
|
|
19
|
-
"toa": "bin/toa"
|
|
20
|
-
},
|
|
21
18
|
"scripts": {
|
|
22
19
|
"test": "echo \"Error: run tests from root\" && exit 1",
|
|
23
20
|
"postversion": "jq --argjson value \"$(jq '.version' package.json)\" '.version = $value' ../../package.json > tmp.json && mv tmp.json ../../package.json"
|
|
24
21
|
},
|
|
25
22
|
"dependencies": {
|
|
26
|
-
"@toa.io/
|
|
27
|
-
"@toa.io/bindings.
|
|
28
|
-
"@toa.io/
|
|
29
|
-
"@toa.io/
|
|
30
|
-
"@toa.io/
|
|
31
|
-
"@toa.io/
|
|
32
|
-
"@toa.io/
|
|
33
|
-
"@toa.io/
|
|
34
|
-
"@toa.io/
|
|
35
|
-
"@toa.io/
|
|
36
|
-
"@toa.io/extensions.
|
|
37
|
-
"@toa.io/extensions.
|
|
38
|
-
"@toa.io/extensions.
|
|
39
|
-
"@toa.io/extensions.
|
|
40
|
-
"@toa.io/
|
|
41
|
-
"@toa.io/
|
|
42
|
-
"@toa.io/
|
|
43
|
-
"@toa.io/
|
|
44
|
-
"@toa.io/
|
|
45
|
-
"@toa.io/storages
|
|
46
|
-
"@toa.io/
|
|
23
|
+
"@toa.io/atomicity": "1.0.0-alpha.330",
|
|
24
|
+
"@toa.io/bindings.amqp": "1.0.0-alpha.330",
|
|
25
|
+
"@toa.io/bindings.http": "1.0.0-alpha.330",
|
|
26
|
+
"@toa.io/bindings.loop": "1.0.0-alpha.330",
|
|
27
|
+
"@toa.io/boot": "1.0.0-alpha.330",
|
|
28
|
+
"@toa.io/bridges.bash": "1.0.0-alpha.330",
|
|
29
|
+
"@toa.io/bridges.node": "1.0.0-alpha.330",
|
|
30
|
+
"@toa.io/cli": "1.0.0-alpha.330",
|
|
31
|
+
"@toa.io/core": "1.0.0-alpha.330",
|
|
32
|
+
"@toa.io/definitions": "1.0.0-alpha.330",
|
|
33
|
+
"@toa.io/extensions.cadence": "1.0.0-alpha.330",
|
|
34
|
+
"@toa.io/extensions.configuration": "1.0.0-alpha.330",
|
|
35
|
+
"@toa.io/extensions.continuity": "1.0.0-alpha.330",
|
|
36
|
+
"@toa.io/extensions.convergence": "1.0.0-alpha.330",
|
|
37
|
+
"@toa.io/extensions.exposition": "1.0.0-alpha.330",
|
|
38
|
+
"@toa.io/extensions.fetch": "1.0.0-alpha.330",
|
|
39
|
+
"@toa.io/extensions.introspection": "1.0.0-alpha.330",
|
|
40
|
+
"@toa.io/extensions.stash": "1.0.0-alpha.330",
|
|
41
|
+
"@toa.io/extensions.state": "1.0.0-alpha.330",
|
|
42
|
+
"@toa.io/extensions.storages": "1.0.0-alpha.330",
|
|
43
|
+
"@toa.io/extensions.telemetry": "1.0.0-alpha.330",
|
|
44
|
+
"@toa.io/norm": "1.0.0-alpha.330",
|
|
45
|
+
"@toa.io/prototype": "1.0.0-alpha.327",
|
|
46
|
+
"@toa.io/storages.mongodb": "1.0.0-alpha.330",
|
|
47
|
+
"@toa.io/storages.null": "1.0.0-alpha.330",
|
|
48
|
+
"@toa.io/userland": "1.0.0-alpha.330"
|
|
47
49
|
},
|
|
48
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "8d5b161d026b24ee1974005e1f418bc2b782fd3b"
|
|
49
51
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { it } from 'node:test'
|
|
2
|
+
import assert from 'node:assert/strict'
|
|
3
|
+
import { createRequire } from 'node:module'
|
|
4
|
+
import { readFileSync } from 'node:fs'
|
|
5
|
+
|
|
6
|
+
import { DEFINED } from '@toa.io/definitions'
|
|
7
|
+
|
|
8
|
+
const require = createRequire(import.meta.url)
|
|
9
|
+
|
|
10
|
+
const manifest = JSON.parse(
|
|
11
|
+
readFileSync(require.resolve('@toa.io/runtime/package.json'), 'utf8')
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
/*
|
|
15
|
+
`@toa.io/extensions.cadence` was defined here and installed by nothing for as long as it has
|
|
16
|
+
existed: a workspace resolves it by symlink, so every suite passed, and an application that
|
|
17
|
+
declared `cadence:` failed to boot on an image that never had it.
|
|
18
|
+
*/
|
|
19
|
+
it('installs every package the definitions define', () => {
|
|
20
|
+
const missing = [...DEFINED].filter(
|
|
21
|
+
(suffix) => !(`@toa.io/${suffix}` in manifest.dependencies)
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
assert.deepEqual(missing, [], 'defined and not installed by the runtime')
|
|
25
|
+
})
|
|
26
|
+
|
|
27
|
+
/*
|
|
28
|
+
Not at the runtime's own version: `lerna` bumps what changed and what depends on it, so a
|
|
29
|
+
package nothing touched stays where the release before left it.
|
|
30
|
+
*/
|
|
31
|
+
it('installs them at a version', () => {
|
|
32
|
+
for (const suffix of DEFINED)
|
|
33
|
+
assert.match(
|
|
34
|
+
manifest.dependencies[`@toa.io/${suffix}`],
|
|
35
|
+
/^\d+\.\d+\.\d+/,
|
|
36
|
+
`@toa.io/${suffix}`
|
|
37
|
+
)
|
|
38
|
+
})
|
package/bin/toa
DELETED