@fluojs/config 1.0.0-beta.3 → 1.0.0-beta.4

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/README.ko.md CHANGED
@@ -32,6 +32,12 @@ npm install @fluojs/config
32
32
  ```ts
33
33
  import { ConfigModule } from '@fluojs/config';
34
34
  import { Module } from '@fluojs/core';
35
+ import { z } from 'zod';
36
+
37
+ const EnvSchema = z.object({
38
+ DATABASE_URL: z.string().url(),
39
+ PORT: z.coerce.number().default(3000),
40
+ });
35
41
 
36
42
  @Module({
37
43
  imports: [
@@ -41,10 +47,7 @@ import { Module } from '@fluojs/core';
41
47
  DATABASE_URL: process.env.DATABASE_URL,
42
48
  },
43
49
  defaults: { PORT: '3000' },
44
- validate: (config) => {
45
- if (!config.DATABASE_URL) throw new Error('DATABASE_URL이 필요합니다');
46
- return config;
47
- },
50
+ schema: EnvSchema,
48
51
  }),
49
52
  ],
50
53
  })
@@ -78,7 +81,9 @@ class MyService {
78
81
 
79
82
  ### 부트스트랩 전 검증
80
83
 
81
- `validate` 함수는 모든 소스가 합쳐진 뒤 실행되며, 에러를 던지면 부트스트랩이 즉시 중단됩니다.
84
+ `schema` 옵션은 Zod, Valibot, ArkType 같은 동기식 [Standard Schema](https://standardschema.dev/schema) 호환 validator를 받습니다. 스키마는 모든 소스가 합쳐진 뒤 실행되고, 검증된 `value`가 최종 config snapshot이 됩니다. schema issue가 보고되면 bootstrap/load/reload는 `INVALID_CONFIG`로 실패합니다.
85
+
86
+ `@fluojs/config`의 load와 reload API는 동기식입니다. 비동기 Standard Schema 결과는 `INVALID_CONFIG`로 거부되므로 config 검증에는 동기 스키마를 사용하세요.
82
87
 
83
88
  ### 런타임 접근과 리로드 비용 모델
84
89
 
@@ -103,7 +108,7 @@ class MyService {
103
108
  ## 관련 패키지
104
109
 
105
110
  - `@fluojs/runtime`: 부트스트랩 중 `loadConfig()`를 호출합니다.
106
- - `@fluojs/validation`: `validate` 함수 안에서 스키마 기반 검증을 조합할 수 있습니다.
111
+ - Standard Schema validator: Zod, Valibot, ArkType 호환 schema 라이브러리를 `schema` 옵션으로 전달할 수 있습니다.
107
112
 
108
113
  ## 예제 소스
109
114
 
package/README.md CHANGED
@@ -35,6 +35,12 @@ The `ConfigModule` handles loading and validating your configuration during boot
35
35
  ```typescript
36
36
  import { Module } from '@fluojs/core';
37
37
  import { ConfigModule } from '@fluojs/config';
38
+ import { z } from 'zod';
39
+
40
+ const EnvSchema = z.object({
41
+ DATABASE_URL: z.string().url(),
42
+ PORT: z.coerce.number().default(3000),
43
+ });
38
44
 
39
45
  @Module({
40
46
  imports: [
@@ -44,10 +50,7 @@ import { ConfigModule } from '@fluojs/config';
44
50
  DATABASE_URL: process.env.DATABASE_URL,
45
51
  },
46
52
  defaults: { PORT: '3000' },
47
- validate: (config) => {
48
- if (!config.DATABASE_URL) throw new Error('DATABASE_URL is required');
49
- return config;
50
- },
53
+ schema: EnvSchema,
51
54
  }),
52
55
  ],
53
56
  })
@@ -83,7 +86,9 @@ Configuration is merged in the following order (highest precedence wins):
83
86
  Plain objects are deep-merged by key. Arrays and primitive values from higher-precedence sources completely replace lower-precedence ones.
84
87
 
85
88
  ### Validation
86
- The `validate` function runs after all sources are merged but before the application starts. If it throws, the application bootstrap fails immediately.
89
+ The `schema` option accepts a synchronous [Standard Schema](https://standardschema.dev/schema)-compatible validator such as Zod, Valibot, or ArkType. The schema runs after all sources are merged but before the application starts. Its validated `value` becomes the final config snapshot, and reported issues fail bootstrap/load/reload with `INVALID_CONFIG`.
90
+
91
+ `@fluojs/config` keeps loading and reload APIs synchronous. Async Standard Schema results are rejected with `INVALID_CONFIG`; use a synchronous schema for config validation.
87
92
 
88
93
  ### Runtime Access and Reload Cost Model
89
94
  `ConfigService.get('a.b.c')` resolves dot-path keys by walking each path segment, so lookup cost is proportional to path depth. When `get()`, `getOrThrow()`, or `snapshot()` returns an object-like value, the returned value is a detached clone; clone cost is proportional to the returned subtree size so caller mutations cannot affect the active config snapshot.
@@ -107,7 +112,7 @@ The `validate` function runs after all sources are merged but before the applica
107
112
  ## Related Packages
108
113
 
109
114
  - **`@fluojs/runtime`**: Calls `loadConfig` internally during application bootstrap.
110
- - **`@fluojs/validation`**: Can be used within the `validate` function for schema-based validation.
115
+ - **Standard Schema validators**: Zod, Valibot, ArkType, and other compatible schema libraries can be passed through the `schema` option.
111
116
 
112
117
  ## Example Sources
113
118
 
package/dist/clone.d.ts CHANGED
@@ -1,2 +1,8 @@
1
+ /**
2
+ * Clone config dictionary.
3
+ *
4
+ * @param value The value.
5
+ * @returns The clone config dictionary result.
6
+ */
1
7
  export declare function cloneConfigDictionary<T>(value: T): T;
2
8
  //# sourceMappingURL=clone.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"clone.d.ts","sourceRoot":"","sources":["../src/clone.ts"],"names":[],"mappings":"AAEA,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAMpD"}
1
+ {"version":3,"file":"clone.d.ts","sourceRoot":"","sources":["../src/clone.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAMpD"}
package/dist/clone.js CHANGED
@@ -1,4 +1,11 @@
1
1
  import { fallbackClone } from '@fluojs/core/internal';
2
+
3
+ /**
4
+ * Clone config dictionary.
5
+ *
6
+ * @param value The value.
7
+ * @returns The clone config dictionary result.
8
+ */
2
9
  export function cloneConfigDictionary(value) {
3
10
  try {
4
11
  return structuredClone(value);
package/dist/load.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { ConfigDictionary, ConfigLoadOptions, ConfigReloader } from './type
2
2
  /**
3
3
  * Creates a stateful config reloader that mirrors `loadConfig(...)` semantics and optionally watches the env file.
4
4
  *
5
- * @param options Configuration loading options, including optional watch mode and validation hooks.
5
+ * @param options Configuration loading options, including optional watch mode and a synchronous Standard Schema validator.
6
6
  * @returns A reloader that exposes the current snapshot, manual reload, subscriptions, and cleanup.
7
7
  * @throws {FluoError} When the initial config load or validation fails.
8
8
  *
@@ -25,7 +25,7 @@ export declare function createConfigReloader(options: ConfigLoadOptions): Config
25
25
  *
26
26
  * Merge precedence stays aligned with the package README contract: `defaults` < env file < `processEnv` < `runtimeOverrides`.
27
27
  *
28
- * @param options Configuration loading options for source precedence, parsing, and validation.
28
+ * @param options Configuration loading options for source precedence, parsing, and synchronous schema validation.
29
29
  * @returns A detached normalized configuration dictionary for the current load.
30
30
  * @throws {FluoError} When validation throws or the config cannot be normalized.
31
31
  */
@@ -1 +1 @@
1
- {"version":3,"file":"load.d.ts","sourceRoot":"","sources":["../src/load.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,gBAAgB,EAChB,iBAAiB,EAEjB,cAAc,EAIf,MAAM,YAAY,CAAC;AAqQpB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,iBAAiB,GAAG,cAAc,CA8B/E;AAED;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,gBAAgB,CAEvE"}
1
+ {"version":3,"file":"load.d.ts","sourceRoot":"","sources":["../src/load.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,gBAAgB,EAChB,iBAAiB,EAEjB,cAAc,EAKf,MAAM,YAAY,CAAC;AA0XpB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,iBAAiB,GAAG,cAAc,CA8B/E;AAED;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,gBAAgB,CAEvE"}
package/dist/load.js CHANGED
@@ -32,7 +32,16 @@ function parseEnvContent(content, safeProcessEnv, customParser) {
32
32
  function sanitizeProcessEnv(processEnv) {
33
33
  return Object.fromEntries(Object.entries(processEnv).filter(entry => entry[1] !== undefined));
34
34
  }
35
+ function rejectLegacyValidateOption(options) {
36
+ if ('validate' in options) {
37
+ throw new FluoError('Invalid configuration.', {
38
+ code: 'INVALID_CONFIG',
39
+ cause: new Error('The legacy `validate` option was removed. Use `schema` with a synchronous Standard Schema validator instead.')
40
+ });
41
+ }
42
+ }
35
43
  function normalizeLoadOptions(options) {
44
+ rejectLegacyValidateOption(options);
36
45
  const cwd = options.cwd ?? process.cwd();
37
46
  const envFile = options.envFilePath ?? options.envFile ?? join(cwd, '.env');
38
47
  const defaults = options.defaults ?? {};
@@ -45,7 +54,7 @@ function normalizeLoadOptions(options) {
45
54
  parse: options.parse,
46
55
  runtimeOverrides,
47
56
  safeProcessEnv,
48
- validate: options.validate
57
+ schema: options.schema
49
58
  };
50
59
  }
51
60
  function readEnvFileValues(options) {
@@ -87,14 +96,76 @@ function buildMergedConfig(options) {
87
96
  const envFileValues = readEnvFileValues(options);
88
97
  return mergeConfigSources(options.defaults, envFileValues, options.safeProcessEnv, options.runtimeOverrides);
89
98
  }
99
+ function isPromiseLike(value) {
100
+ return (typeof value === 'object' || typeof value === 'function') && value !== null && 'then' in value && typeof value.then === 'function';
101
+ }
102
+ function isConfigSchemaIssue(value) {
103
+ return typeof value === 'object' && value !== null && 'message' in value && typeof value.message === 'string';
104
+ }
105
+ function isConfigSchemaFailureResult(value) {
106
+ if (typeof value !== 'object' || value === null || !('issues' in value)) {
107
+ return false;
108
+ }
109
+ return Array.isArray(value.issues) && value.issues.every(isConfigSchemaIssue);
110
+ }
111
+ function isConfigSchemaSuccessResult(value) {
112
+ return typeof value === 'object' && value !== null && 'value' in value && isPlainObject(value.value);
113
+ }
114
+ function isConfigSchemaPathKeySegment(value) {
115
+ if (typeof value !== 'object' || value === null || !('key' in value)) {
116
+ return false;
117
+ }
118
+ return typeof value.key === 'string' || typeof value.key === 'number' || typeof value.key === 'symbol';
119
+ }
120
+ function formatConfigSchemaPathSegment(segment) {
121
+ if (typeof segment === 'string' || typeof segment === 'number') {
122
+ return String(segment);
123
+ }
124
+ if (isConfigSchemaPathKeySegment(segment)) {
125
+ return String(segment.key);
126
+ }
127
+ return undefined;
128
+ }
129
+ function formatConfigSchemaIssue(issue) {
130
+ const path = issue.path?.map(formatConfigSchemaPathSegment).filter(segment => segment !== undefined).join('.');
131
+ return path && path.length > 0 ? `${path}: ${issue.message}` : issue.message;
132
+ }
133
+ function createInvalidConfigError(cause, issues) {
134
+ return new FluoError('Invalid configuration.', {
135
+ code: 'INVALID_CONFIG',
136
+ cause,
137
+ meta: issues ? {
138
+ issues: issues.map(formatConfigSchemaIssue)
139
+ } : undefined
140
+ });
141
+ }
142
+ function isInvalidConfigError(error) {
143
+ return error instanceof FluoError && error.code === 'INVALID_CONFIG';
144
+ }
145
+ function readConfigSchemaResult(result) {
146
+ if (isConfigSchemaFailureResult(result)) {
147
+ throw createInvalidConfigError(new Error('Standard Schema config validation failed.'), result.issues);
148
+ }
149
+ if (!isConfigSchemaSuccessResult(result)) {
150
+ throw createInvalidConfigError(new Error('Standard Schema config validator returned a malformed result.'));
151
+ }
152
+ return result.value;
153
+ }
90
154
  function validateConfig(options, merged) {
155
+ if (!options.schema) {
156
+ return merged;
157
+ }
91
158
  try {
92
- return options.validate ? options.validate(merged) : merged;
159
+ const result = options.schema['~standard'].validate(merged);
160
+ if (isPromiseLike(result)) {
161
+ throw new Error('Config schemas must validate synchronously. Async Standard Schema validation is not supported by the synchronous config API.');
162
+ }
163
+ return readConfigSchemaResult(result);
93
164
  } catch (error) {
94
- throw new FluoError('Invalid configuration.', {
95
- code: 'INVALID_CONFIG',
96
- cause: error
97
- });
165
+ if (isInvalidConfigError(error)) {
166
+ throw error;
167
+ }
168
+ throw createInvalidConfigError(error);
98
169
  }
99
170
  }
100
171
  function resolveConfig(options) {
@@ -180,7 +251,7 @@ function closeReloader(state, listeners, errorListeners) {
180
251
  /**
181
252
  * Creates a stateful config reloader that mirrors `loadConfig(...)` semantics and optionally watches the env file.
182
253
  *
183
- * @param options Configuration loading options, including optional watch mode and validation hooks.
254
+ * @param options Configuration loading options, including optional watch mode and a synchronous Standard Schema validator.
184
255
  * @returns A reloader that exposes the current snapshot, manual reload, subscriptions, and cleanup.
185
256
  * @throws {FluoError} When the initial config load or validation fails.
186
257
  *
@@ -232,7 +303,7 @@ export function createConfigReloader(options) {
232
303
  *
233
304
  * Merge precedence stays aligned with the package README contract: `defaults` < env file < `processEnv` < `runtimeOverrides`.
234
305
  *
235
- * @param options Configuration loading options for source precedence, parsing, and validation.
306
+ * @param options Configuration loading options for source precedence, parsing, and synchronous schema validation.
236
307
  * @returns A detached normalized configuration dictionary for the current load.
237
308
  * @throws {FluoError} When validation throws or the config cannot be normalized.
238
309
  */
package/dist/types.d.ts CHANGED
@@ -1,7 +1,15 @@
1
+ import type { StandardSchemaV1 } from '@standard-schema/spec';
1
2
  /**
2
3
  * Plain JSON-like object used as the normalized configuration snapshot shape.
3
4
  */
4
5
  export type ConfigDictionary = Record<string, unknown>;
6
+ /**
7
+ * Standard Schema v1-compatible config validator accepted by `@fluojs/config` loaders.
8
+ *
9
+ * @typeParam Input Raw merged config shape consumed by the schema validator.
10
+ * @typeParam Output Normalized config shape produced by the schema validator.
11
+ */
12
+ export type ConfigSchema<Input = unknown, Output extends ConfigDictionary = ConfigDictionary> = StandardSchemaV1<Input, Output>;
5
13
  /**
6
14
  * Nested dot-path key helper.
7
15
  * Produces "a" | "a.b" | "a.b.c" keys from a Record type.
@@ -20,7 +28,7 @@ export interface ConfigModuleOptions {
20
28
  envFile?: string;
21
29
  envFilePath?: string;
22
30
  processEnv?: NodeJS.ProcessEnv;
23
- validate?: (raw: ConfigDictionary) => ConfigDictionary;
31
+ schema?: ConfigSchema;
24
32
  defaults?: ConfigDictionary;
25
33
  /** Supply a custom file parser (e.g. for YAML or TOML). Receives raw file content,
26
34
  * returns a flat key-value record. Defaults to dotenv parsing. */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;G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;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,QAAQ,EAAE,gBAAgB,EAAE,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;AAEpG;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;AAE7F;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,WAAW,IAAI,IAAI,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,OAAO,IAAI,gBAAgB,CAAC;IAC5B,MAAM,IAAI,gBAAgB,CAAC;IAC3B,SAAS,CAAC,QAAQ,EAAE,oBAAoB,GAAG,wBAAwB,CAAC;IACpE,cAAc,CAAC,QAAQ,EAAE,yBAAyB,GAAG,wBAAwB,CAAC;IAC9E,KAAK,IAAI,IAAI,CAAC;CACf"}
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "environment",
9
9
  "typed-config"
10
10
  ],
11
- "version": "1.0.0-beta.3",
11
+ "version": "1.0.0-beta.4",
12
12
  "private": false,
13
13
  "license": "MIT",
14
14
  "repository": {
@@ -35,6 +35,7 @@
35
35
  "dist"
36
36
  ],
37
37
  "dependencies": {
38
+ "@standard-schema/spec": "^1.1.0",
38
39
  "dotenv": "^16.0.0",
39
40
  "dotenv-expand": "^11.0.0",
40
41
  "@fluojs/core": "^1.0.0-beta.2"