@effected/config-file 0.14.1 → 0.14.3
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/index.d.ts +2 -2
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -974,7 +974,7 @@ export declare class ConfigFile {
|
|
|
974
974
|
* });
|
|
975
975
|
* ```
|
|
976
976
|
*/
|
|
977
|
-
static readonly layer: <Self, A, I, RR = never, S extends ConfigFileShape<A> = ConfigFileShape<A>>(tag: Context.Key<Self, S> & ([ConfigFileShape<A
|
|
977
|
+
static readonly layer: <Self, A, I, RR = never, S extends ConfigFileShape<A> = ConfigFileShape<A>>(tag: Context.Key<Self, S> & Context.Key<Self, ConfigFileShape<A>> & ([ConfigFileShape<NoInfer<A>>] extends [S] ? unknown : never), options: ConfigFileOptions<A, I, RR>) => Layer.Layer<Self, never, FileSystem.FileSystem | Path.Path | RR>;
|
|
978
978
|
/**
|
|
979
979
|
* A scoped layer that seeds `files` into a temp directory, wires the **real**
|
|
980
980
|
* live implementation over them, and removes the directory when the scope
|
|
@@ -1008,7 +1008,7 @@ export declare class ConfigFile {
|
|
|
1008
1008
|
* }).pipe(Layer.provide(NodeServices.layer));
|
|
1009
1009
|
* ```
|
|
1010
1010
|
*/
|
|
1011
|
-
static readonly testLayer: <Self, A, I, S extends ConfigFileShape<A> = ConfigFileShape<A>>(tag: Context.Key<Self, S> & ([ConfigFileShape<A
|
|
1011
|
+
static readonly testLayer: <Self, A, I, S extends ConfigFileShape<A> = ConfigFileShape<A>>(tag: Context.Key<Self, S> & Context.Key<Self, ConfigFileShape<A>> & ([ConfigFileShape<NoInfer<A>>] extends [S] ? unknown : never), options: ConfigFileTestOptions<A, I>) => Layer.Layer<Self, never, FileSystem.FileSystem | Path.Path>;
|
|
1012
1012
|
/**
|
|
1013
1013
|
* Read, decode and validate one explicit path — no service, no layer, no tag.
|
|
1014
1014
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effected/config-file",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Composable config file loading for Effect: JSON, JSONC, YAML and TOML codecs, resolution strategies, and merge behaviors.",
|
|
6
6
|
"keywords": [
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"./package.json": "./package.json"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@effected/glob": "^0.10.
|
|
47
|
-
"@effected/jsonc": "^0.15.
|
|
48
|
-
"@effected/toml": "^0.11.
|
|
49
|
-
"@effected/walker": "^0.15.
|
|
50
|
-
"@effected/yaml": "^0.19.
|
|
51
|
-
"effect": "
|
|
46
|
+
"@effected/glob": "^0.10.1",
|
|
47
|
+
"@effected/jsonc": "^0.15.2",
|
|
48
|
+
"@effected/toml": "^0.11.2",
|
|
49
|
+
"@effected/walker": "^0.15.1",
|
|
50
|
+
"@effected/yaml": "^0.19.2",
|
|
51
|
+
"effect": "4.0.2"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=24.11.0"
|