@effected/app 0.18.0 → 0.19.0
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.md +1 -1
- package/index.d.ts +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -144,7 +144,7 @@ Two properties to be deliberate about. **A resolver that finds nothing falls thr
|
|
|
144
144
|
|
|
145
145
|
### Wiring the flag to the layer
|
|
146
146
|
|
|
147
|
-
A layer is built before a CLI parses anything, so the parsed `--config` has to reach `AppConfig.layer` somehow. `effect/
|
|
147
|
+
A layer is built before a CLI parses anything, so the parsed `--config` has to reach `AppConfig.layer` somehow. `effect/cli` has two ways, and neither needs an `Effect.provide` inside the handler.
|
|
148
148
|
|
|
149
149
|
For a single command, `Command.provide` takes **a function of the parsed input**, not just a finished layer:
|
|
150
150
|
|
package/index.d.ts
CHANGED
|
@@ -264,7 +264,7 @@ interface AppConfigOptions<A, I, RR = never> {
|
|
|
264
264
|
* unchanged: `XdgConfig.resolver`, then `XdgConfig.nativeResolver`.
|
|
265
265
|
*
|
|
266
266
|
* A layer is built before a CLI parses anything, so getting the parsed flag
|
|
267
|
-
* here is the one wiring question this option raises. `effect/
|
|
267
|
+
* here is the one wiring question this option raises. `effect/cli`
|
|
268
268
|
* answers it twice, and neither answer needs an `Effect.provide` inside the
|
|
269
269
|
* handler: `Command.provide` accepts a **function of the parsed input**, and
|
|
270
270
|
* for several subcommands sharing one flag, `GlobalFlag.setting` makes the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effected/app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The application control plane for Effect: one layer wiring XDG-namespaced directories, a migrated SQLite store, a TTL cache and a config file to the same place.",
|
|
6
6
|
"keywords": [
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"./package.json": "./package.json"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@effected/config-file": "^0.
|
|
43
|
-
"@effected/store": "^0.
|
|
44
|
-
"@effected/xdg": "^0.
|
|
45
|
-
"effect": "4.0.0-rc.
|
|
42
|
+
"@effected/config-file": "^0.13.0",
|
|
43
|
+
"@effected/store": "^0.11.0",
|
|
44
|
+
"@effected/xdg": "^0.8.0",
|
|
45
|
+
"effect": "4.0.0-rc.118"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=24.11.0"
|