@toa.io/boot 1.0.0-alpha.264 → 1.0.0-alpha.265

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 CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.0.0-alpha.265](https://github.com/toa-io/toa/compare/v1.0.0-alpha.264...v1.0.0-alpha.265) (2026-08-29)
7
+
8
+
9
+ ### Features
10
+
11
+ * **bridges.node:** add the dispose run command phase ([00df715](https://github.com/toa-io/toa/commit/00df7158f638b976ab09d4007102a4ead3c696c3))
12
+
13
+
14
+
15
+
16
+
6
17
  # [1.0.0-alpha.264](https://github.com/toa-io/toa/compare/v1.0.0-alpha.263...v1.0.0-alpha.264) (2026-08-29)
7
18
 
8
19
  **Note:** Version bump only for package @toa.io/boot
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/boot",
3
- "version": "1.0.0-alpha.264",
3
+ "version": "1.0.0-alpha.265",
4
4
  "description": "Toa Boot",
5
5
  "author": "temich <tema.gurtovoy@gmail.com>",
6
6
  "homepage": "https://github.com/toa-io/toa#readme",
@@ -20,14 +20,14 @@
20
20
  "test": "echo \"Error: run tests from root\" && exit 1"
21
21
  },
22
22
  "dependencies": {
23
- "@toa.io/core": "1.0.0-alpha.264",
23
+ "@toa.io/core": "1.0.0-alpha.265",
24
24
  "@toa.io/filesystem": "1.0.0-alpha.254",
25
25
  "@toa.io/generic": "1.0.0-alpha.254",
26
- "@toa.io/norm": "1.0.0-alpha.264",
26
+ "@toa.io/norm": "1.0.0-alpha.265",
27
27
  "@toa.io/schemas": "1.0.0-alpha.263",
28
28
  "clone-deep": "4.0.1",
29
29
  "dotenv": "16.1.1",
30
30
  "openspan": "1.0.0-alpha.264"
31
31
  },
32
- "gitHead": "df47af37e7d4f7cf85ca8cf5c84355f53ccb90bd"
32
+ "gitHead": "b8585e0fbc4f0bebfddd27105bc7e30662f29d2f"
33
33
  }
package/src/component.js CHANGED
@@ -40,6 +40,11 @@ const create = async (manifest, locator) => {
40
40
  if (phases?.settle !== undefined)
41
41
  decorated.settle = phases.settle
42
42
 
43
+ // a dependency closes after its dependant, so the component is already closed
44
+ // when the RC releases what it opened
45
+ if (phases?.dispose !== undefined)
46
+ decorated.depends(phases.dispose)
47
+
43
48
  return decorated
44
49
  }
45
50