@systemfsoftware/effect-spec-runtime 1.4.0 → 1.4.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 (2) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @systemfsoftware/effect-spec-runtime
2
2
 
3
- # @systemfsoftware/effect-spec-runtime@1.4.0
3
+ # @systemfsoftware/effect-spec-runtime@1.4.1
4
4
 
5
- Adds `sharedLayer(layer)`, exported from the package entry and from `Suite`. Called at module top level, it returns a layer the whole test file shares: built once before the file's first case and released once when the file ends, both with no time limit. A suite's shared layer (`Suite.openShared`, `Suite.openSharedCase`) now runs on the same mechanism: it is built in the suite's setup before its first case starts, with no time limit, rather than by the first case inside that case's timeout, and released with no time limit. A failed shared build fails the setup hook with the build's error, so the cases that use it fail without running, and a shared layer read before its build ran dies with `SharedLayerNotBuilt`, exported from `Suite`. Adds the `TestFile` reference and its `TestFileInfo` type. While a shared layer builds, `TestFile` holds `Option.some` of the running file as Vitest identifies it: `name`, the path from the Vitest root with `/` separators; `rootName`, the root directory's name; and `projectName`, the Vitest project name or `undefined`. Otherwise it holds `Option.none()`.
5
+ Updated dependency @systemfsoftware/effect-sim-kernel to 2.1.1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@systemfsoftware/effect-spec-runtime",
3
3
  "license": "Apache-2.0",
4
- "version": "1.4.0",
4
+ "version": "1.4.1",
5
5
  "author": "Ryan Lee <drdgvhbh@gmail.com>",
6
6
  "repository": {
7
7
  "type": "git",
@@ -32,16 +32,16 @@
32
32
  "dist"
33
33
  ],
34
34
  "dependencies": {
35
- "@systemfsoftware/effect-sim-kernel": "^2.1.0"
35
+ "@systemfsoftware/effect-sim-kernel": "^2.1.1"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@microsoft/api-extractor": "^7.60.1",
39
39
  "@systemfsoftware/arethetypeswrong-cli": "^4.2.0",
40
- "@systemfsoftware/oxlint-config-recommended": "^9.0.2",
40
+ "@systemfsoftware/oxlint-config-recommended": "^9.0.4",
41
41
  "@systemfsoftware/tsconfig": "^2.1.0",
42
- "@systemfsoftware/tsdown-config": "^0.2.0",
43
- "@systemfsoftware/vitest": "^4.2.1",
44
- "@systemfsoftware/vitest-config": "^0.1.4",
42
+ "@systemfsoftware/tsdown-config": "^0.2.1",
43
+ "@systemfsoftware/vitest": "^4.2.2",
44
+ "@systemfsoftware/vitest-config": "^0.1.5",
45
45
  "@types/node": "^26.6.6",
46
46
  "effect": "^4.1.4",
47
47
  "fast-check": "^4.10.2",
@@ -52,7 +52,7 @@
52
52
  "vitest": "^5.1.0"
53
53
  },
54
54
  "peerDependencies": {
55
- "@systemfsoftware/vitest": "^4.2.1",
55
+ "@systemfsoftware/vitest": "^4.2.2",
56
56
  "effect": "^4.1.4",
57
57
  "vitest": "^5.1.0"
58
58
  },