@toa.io/boot 1.0.0-alpha.310 → 1.0.0-alpha.311

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,13 @@
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.311](https://github.com/toa-io/toa/compare/v1.0.0-alpha.310...v1.0.0-alpha.311) (2026-09-17)
7
+
8
+ ### Features
9
+
10
+ * read the scope of a process once, as it boots ([0d65de5](https://github.com/toa-io/toa/commit/0d65de58ffc655ff872b8e66f95c5609ada3370a))
11
+
12
+
6
13
  # [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)
7
14
 
8
15
  **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.310",
3
+ "version": "1.0.0-alpha.311",
4
4
  "type": "module",
5
5
  "description": "Toa Boot",
6
6
  "author": "temich <tema.gurtovoy@gmail.com>",
@@ -21,15 +21,15 @@
21
21
  "test": "echo \"Error: run tests from root\" && exit 1"
22
22
  },
23
23
  "dependencies": {
24
- "@toa.io/atomicity": "1.0.0-alpha.310",
25
- "@toa.io/core": "1.0.0-alpha.310",
26
- "@toa.io/definitions": "1.0.0-alpha.310",
27
- "@toa.io/generic": "1.0.0-alpha.310",
28
- "@toa.io/norm": "1.0.0-alpha.310",
29
- "@toa.io/schemas": "1.0.0-alpha.310",
24
+ "@toa.io/atomicity": "1.0.0-alpha.311",
25
+ "@toa.io/core": "1.0.0-alpha.311",
26
+ "@toa.io/definitions": "1.0.0-alpha.311",
27
+ "@toa.io/generic": "1.0.0-alpha.311",
28
+ "@toa.io/norm": "1.0.0-alpha.311",
29
+ "@toa.io/schemas": "1.0.0-alpha.311",
30
30
  "clone-deep": "4.0.1",
31
31
  "dotenv": "17.4.2",
32
32
  "openspan": "1.0.0-alpha.305"
33
33
  },
34
- "gitHead": "d952c57f77279729e26d52d50c6df47138ad0a4f"
34
+ "gitHead": "4f45061964e275296a27ff8ff39f757ce27d4008"
35
35
  }
package/src/component.js CHANGED
@@ -17,6 +17,10 @@ const create = async (manifest, locator) => {
17
17
  // component is imported: nothing of it is left in `process.env` for that module to read
18
18
  environment.absorb()
19
19
 
20
+ // the suffix is what it is now, `.env` having been read: whatever this process sets for the
21
+ // processes it starts later does not rename what it has
22
+ environment.suffix()
23
+
20
24
  await boot.extensions.load(manifest)
21
25
 
22
26
  // the storage is told whether there will be an outbox, so what it publishes to comes first:
@@ -11,6 +11,10 @@ export async function composition(paths, options) {
11
11
  // component is imported: nothing of it is left in `process.env` for that module to read
12
12
  environment.absorb()
13
13
 
14
+ // the suffix is what it is now, `.env` having been read: whatever this process sets for the
15
+ // processes it starts later does not rename what it has
16
+ environment.suffix()
17
+
14
18
  options = Object.assign({}, options)
15
19
 
16
20
  return span('boot composition', async () => {