@toa.io/operations 1.0.0-alpha.302 → 1.0.0-alpha.304

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.304](https://github.com/toa-io/toa/compare/v1.0.0-alpha.303...v1.0.0-alpha.304) (2026-09-13)
7
+
8
+ **Note:** Version bump only for package @toa.io/operations
9
+
10
+
11
+
12
+
13
+
14
+ # [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)
15
+
16
+ ### Features
17
+
18
+ * **operations:** a composition states how many replicas it runs ([4466f5a](https://github.com/toa-io/toa/commit/4466f5abcc22c6dceb2994a0143b6bf9d5201d9d))
19
+
20
+
6
21
  # [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)
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.302",
3
+ "version": "1.0.0-alpha.304",
4
4
  "type": "module",
5
5
  "description": "Toa Deployment",
6
6
  "homepage": "https://toa.io",
@@ -28,11 +28,11 @@
28
28
  "test": "echo \"Error: run tests from root\" && exit 1"
29
29
  },
30
30
  "dependencies": {
31
- "@toa.io/generic": "1.0.0-alpha.301",
31
+ "@toa.io/generic": "1.0.0-alpha.304",
32
32
  "@toa.io/kubernetes": "1.0.0-alpha.301",
33
- "@toa.io/norm": "1.0.0-alpha.302",
33
+ "@toa.io/norm": "1.0.0-alpha.304",
34
34
  "oxc-parser": "0.149.0",
35
35
  "paseto": "4.0.1"
36
36
  },
37
- "gitHead": "3cbbca55a61711db78f98b13e50cf4d1afaf5c08"
37
+ "gitHead": "a95a5a5a64922b11b23142d4acbcee1331ed31aa"
38
38
  }
@@ -10,6 +10,8 @@ export class Composition {
10
10
  this.components = composition.components.map(component)
11
11
  this.resources = composition.resources
12
12
 
13
+ if (composition.replicas !== undefined) this.replicas = composition.replicas
14
+
13
15
  // the extensions whose services this composition runs, as `TOA_SERVICES` for the process
14
16
  if (composition.services !== undefined) this.services = composition.services
15
17
  }
@@ -3,6 +3,7 @@ import type * as _deployment from './deployment.d.ts'
3
3
  declare namespace toa.deployment {
4
4
  interface Composition extends _deployment.Deployable {
5
5
  components: Array<string>
6
+ replicas?: number
6
7
  }
7
8
  }
8
9