@toa.io/operations 1.0.0-alpha.301 → 1.0.0-alpha.303

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.303](https://github.com/toa-io/toa/compare/v1.0.0-alpha.302...v1.0.0-alpha.303) (2026-09-12)
7
+
8
+ ### Features
9
+
10
+ * **operations:** a composition states how many replicas it runs ([4466f5a](https://github.com/toa-io/toa/commit/4466f5abcc22c6dceb2994a0143b6bf9d5201d9d))
11
+
12
+
13
+ # [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)
14
+
15
+ **Note:** Version bump only for package @toa.io/operations
16
+
17
+
18
+
19
+
20
+
6
21
  # [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)
7
22
 
8
23
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/operations",
3
- "version": "1.0.0-alpha.301",
3
+ "version": "1.0.0-alpha.303",
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.301",
32
32
  "@toa.io/kubernetes": "1.0.0-alpha.301",
33
- "@toa.io/norm": "1.0.0-alpha.301",
33
+ "@toa.io/norm": "1.0.0-alpha.303",
34
34
  "oxc-parser": "0.149.0",
35
35
  "paseto": "4.0.1"
36
36
  },
37
- "gitHead": "cc49bc90efd35464b2ad7803246786c607a44685"
37
+ "gitHead": "b8e9dd89f6d49756944687a95dfc786f12947286"
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