@ontrails/config 1.0.0-beta.18 → 1.0.0-beta.21

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
@@ -1,5 +1,43 @@
1
1
  # @ontrails/config
2
2
 
3
+ ## 1.0.0-beta.21
4
+
5
+ ### Patch Changes
6
+
7
+ - 99523f2: Clean up resource context naming in shipped source and examples so resource
8
+ factories consistently use resource vocabulary.
9
+ - Updated dependencies [99523f2]
10
+ - @ontrails/core@1.0.0-beta.21
11
+
12
+ ## 1.0.0-beta.20
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [851a2a3]
17
+ - @ontrails/core@1.0.0-beta.20
18
+
19
+ ## 1.0.0-beta.19
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [e41c382]
24
+ - Updated dependencies [1eb5bdc]
25
+ - Updated dependencies [f8d80b9]
26
+ - Updated dependencies [846a597]
27
+ - Updated dependencies [223aaad]
28
+ - Updated dependencies [3125f4d]
29
+ - Updated dependencies [2494dc6]
30
+ - Updated dependencies [2d53717]
31
+ - Updated dependencies [16cb740]
32
+ - Updated dependencies [8894ecb]
33
+ - Updated dependencies [fdf7ec9]
34
+ - Updated dependencies [d76be13]
35
+ - Updated dependencies [84f56a5]
36
+ - Updated dependencies [431b04c]
37
+ - Updated dependencies [5d88104]
38
+ - Updated dependencies [f04a9ef]
39
+ - @ontrails/core@1.0.0-beta.19
40
+
3
41
  ## 1.0.0-beta.18
4
42
 
5
43
  ### Patch Changes
package/README.md CHANGED
@@ -88,8 +88,7 @@ defaults (schema) → base → profile → local → env
88
88
 
89
89
  Each layer overrides the previous. Environment variables always win.
90
90
 
91
- `appConfig()` discovers `*.config.toml`, `*.config.json`, `*.config.jsonc`, and
92
- `*.config.yaml` by default, plus dotfile equivalents when `dotfile: true`.
91
+ `appConfig()` discovers `*.config.toml`, `*.config.json`, `*.config.jsonc`, and `*.config.yaml` by default, plus dotfile equivalents when `dotfile: true`.
93
92
 
94
93
  ## Extensions
95
94
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ontrails/config",
3
- "version": "1.0.0-beta.18",
3
+ "version": "1.0.0-beta.21",
4
4
  "files": [
5
5
  "src/**/*.ts",
6
6
  "!src/**/__tests__/**",
@@ -22,7 +22,7 @@
22
22
  "clean": "rm -rf dist *.tsbuildinfo"
23
23
  },
24
24
  "peerDependencies": {
25
- "@ontrails/core": "^1.0.0-beta.17",
25
+ "@ontrails/core": "^1.0.0-beta.21",
26
26
  "zod": "^4.3.5"
27
27
  }
28
28
  }
package/src/compose.ts CHANGED
@@ -39,8 +39,9 @@ export const collectResourceConfigs = (
39
39
  resources
40
40
  .filter(
41
41
  (
42
- svc
43
- ): svc is ResourceWithOptionalConfig & { readonly config: z.ZodType } =>
44
- svc.config !== undefined
42
+ resource
43
+ ): resource is ResourceWithOptionalConfig & {
44
+ readonly config: z.ZodType;
45
+ } => resource.config !== undefined
45
46
  )
46
- .map((svc) => ({ resourceId: svc.id, schema: svc.config }));
47
+ .map((resource) => ({ resourceId: resource.id, schema: resource.config }));