@effected/app 0.19.0 → 0.19.1

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.
Files changed (3) hide show
  1. package/App.js +7 -3
  2. package/index.d.ts +7 -3
  3. package/package.json +3 -3
package/App.js CHANGED
@@ -73,9 +73,13 @@ var App = class {
73
73
  *
74
74
  * The documented limit: code paths that actually exercise `ensure*` **die**
75
75
  * against `FileSystem.layerNoop` — it is a stub, not a working filesystem.
76
- * `layerTest` is for testing logic that *uses* the control plane; a test of
77
- * real directory behaviour uses {@link App.layer} with a temp-directory
78
- * `HOME`.
76
+ * `layerTest` is for testing logic that *uses* the control plane. A test of
77
+ * real directory behaviour composes `AppDirs.layer` over `@effected/memfs`,
78
+ * whose `ensure*` members then create directories on an in-memory volume.
79
+ * The databases are the exception: `Store` and `Cache` open their SQLite
80
+ * files through the native binding, which never sees the `FileSystem`
81
+ * service, so a test of {@link App.layer} end to end still needs a
82
+ * temp-directory `HOME`.
79
83
  */
80
84
  static layerTest = layerTest;
81
85
  };
package/index.d.ts CHANGED
@@ -182,9 +182,13 @@ export declare class App {
182
182
  *
183
183
  * The documented limit: code paths that actually exercise `ensure*` **die**
184
184
  * against `FileSystem.layerNoop` — it is a stub, not a working filesystem.
185
- * `layerTest` is for testing logic that *uses* the control plane; a test of
186
- * real directory behaviour uses {@link App.layer} with a temp-directory
187
- * `HOME`.
185
+ * `layerTest` is for testing logic that *uses* the control plane. A test of
186
+ * real directory behaviour composes `AppDirs.layer` over `@effected/memfs`,
187
+ * whose `ensure*` members then create directories on an in-memory volume.
188
+ * The databases are the exception: `Store` and `Cache` open their SQLite
189
+ * files through the native binding, which never sees the `FileSystem`
190
+ * service, so a test of {@link App.layer} end to end still needs a
191
+ * temp-directory `HOME`.
188
192
  */
189
193
  static readonly layerTest: (options: AppTestOptions) => Layer.Layer<Xdg | AppDirs | Store | Cache, AppError>;
190
194
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effected/app",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
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,9 +39,9 @@
39
39
  "./package.json": "./package.json"
40
40
  },
41
41
  "peerDependencies": {
42
- "@effected/config-file": "^0.13.0",
42
+ "@effected/config-file": "^0.13.1",
43
43
  "@effected/store": "^0.11.0",
44
- "@effected/xdg": "^0.8.0",
44
+ "@effected/xdg": "^0.8.2",
45
45
  "effect": "4.0.0-rc.118"
46
46
  },
47
47
  "engines": {