@toa.io/operations 1.0.0-alpha.316 → 1.0.0-alpha.318

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,21 @@
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.318](https://github.com/toa-io/toa/compare/v1.0.0-alpha.317...v1.0.0-alpha.318) (2026-09-23)
7
+
8
+ ### Features
9
+
10
+ * **deployment:** copy a component's linked sources as files ([1a1a8c1](https://github.com/toa-io/toa/commit/1a1a8c10684348dba02b475ab809a4083f86a601))
11
+
12
+
13
+ # [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)
14
+
15
+ **Note:** Version bump only for package @toa.io/operations
16
+
17
+
18
+
19
+
20
+
6
21
  # [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)
7
22
 
8
23
  **Note:** Version bump only for package @toa.io/operations
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/operations",
3
- "version": "1.0.0-alpha.316",
3
+ "version": "1.0.0-alpha.318",
4
4
  "type": "module",
5
5
  "description": "Toa Deployment",
6
6
  "homepage": "https://toa.io",
@@ -30,9 +30,9 @@
30
30
  "dependencies": {
31
31
  "@toa.io/generic": "1.0.0-alpha.311",
32
32
  "@toa.io/kubernetes": "1.0.0-alpha.301",
33
- "@toa.io/norm": "1.0.0-alpha.316",
33
+ "@toa.io/norm": "1.0.0-alpha.318",
34
34
  "oxc-parser": "0.150.0",
35
35
  "paseto": "4.0.1"
36
36
  },
37
- "gitHead": "1a873a2f74dc27cc82cc523aa4557a38f23593c6"
37
+ "gitHead": "82895af77cf22e8529925ba97193d73ee2139297"
38
38
  }
package/readme.md CHANGED
@@ -96,6 +96,11 @@ for what the components declare — and is built only when one of those changes.
96
96
  layer, so a deploy that changes code alone builds and pushes that layer, and neither
97
97
  downloads nor uploads the dependencies again. The same holds for `mono`.
98
98
 
99
+ The sources are copied as files, so a component that links a directory in — sources it shares with
100
+ another component — carries what the link points to, and a link the build cannot read fails the
101
+ build. What is linked is source alone: dependencies are installed per component, from its own
102
+ `package.json`.
103
+
99
104
  Beside each component's sources the layer carries `manifest.toa.json`, the manifest as this
100
105
  build normalised it. A composition reads it instead of normalising again, so it loads no
101
106
  bridge to read what a module declares; a workspace has no such file and is read as it always
@@ -75,8 +75,9 @@ export class Bundle extends Image {
75
75
  for (const component of this.components) {
76
76
  const target = join(context, component.locator.label)
77
77
 
78
- // what was installed in the workspace is not what the image installs
79
- await cp(component.path, target, { recursive: true, filter: sources })
78
+ // what was installed in the workspace is not what the image installs; a link is copied as
79
+ // the files it points to, which is the only way what it points to reaches the image at all
80
+ await cp(component.path, target, { recursive: true, filter: sources, dereference: true })
80
81
  await declare(component.path, target, component.locator.label)
81
82
  await normalized(component, target)
82
83
  }