@systemfsoftware/effect-schema-vite 1.5.2 → 1.5.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/CHANGELOG.md +34 -0
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @systemfsoftware/effect-schema-vite
|
|
2
2
|
|
|
3
|
+
## 1.5.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Array types are spelled one way. `Array<T>` and `ReadonlyArray<T>` in emitted
|
|
8
|
+
declarations become `T[]` and `readonly T[]`, which the type checker cannot tell
|
|
9
|
+
apart: no exported type changes, only how it is written.
|
|
10
|
+
|
|
11
|
+
- New version is published through npm trusted publishing, so it carries a provenance attestation you can verify.
|
|
12
|
+
|
|
13
|
+
- Declare the effect-schema-law peer dependency as a workspace range so recursive versioning resolves it.
|
|
14
|
+
|
|
15
|
+
- Each of these packages now has a README, so its registry page says what the package is, how
|
|
16
|
+
to install it, and what to import or register — previously the page was blank. The lint
|
|
17
|
+
plugins show the configuration line that enables what they recommend.
|
|
18
|
+
|
|
19
|
+
`@systemfsoftware/stryker-js-mutation-report` also carries its licence text
|
|
20
|
+
|
|
21
|
+
- Generated schema law suites no longer fail to load when a module exports a value derived from a schema rather than a schema itself — a type guard from `Schema.is`, a decoder, an encoder, or an arbitrary. Such an export is skipped instead of being handed to the round-trip laws.
|
|
22
|
+
|
|
23
|
+
- Generated schema laws no longer break when a package exports a value read off a
|
|
24
|
+
codec or JSON-Schema document, such as `Schema.toJsonSchemaDocument(x).schema`.
|
|
25
|
+
Those exports are uses of a schema rather than schemas, and generating
|
|
26
|
+
round-trip laws for one made the whole generated suite fail to load, reporting
|
|
27
|
+
no tests at all. They are now skipped, so the suite runs the laws for the real
|
|
28
|
+
schemas beside them.
|
|
29
|
+
|
|
30
|
+
The set of members recognised as uses is also complete now: the encode side was
|
|
31
|
+
missing its `Exit`, `Option`, `Result` and `Promise` variants, so a schema whose
|
|
32
|
+
declaration used one of those was skipped when it should have been law-tested.
|
|
33
|
+
|
|
34
|
+
- Updated dependencies:
|
|
35
|
+
- @systemfsoftware/effect-schema-law@0.8.0
|
|
36
|
+
|
|
3
37
|
## 1.5.2
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/effect-schema-vite",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.3",
|
|
5
5
|
"author": "Ryan Lee <drdgvhbh@gmail.com>",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/systemfsoftware/systemfsoftware.git",
|
|
9
|
-
"directory": "packages/effect
|
|
9
|
+
"directory": "packages/core/effect/schema/vite"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/effect
|
|
11
|
+
"homepage": "https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/core/effect/schema/vite#readme",
|
|
12
12
|
"bugs": "https://github.com/systemfsoftware/systemfsoftware/issues",
|
|
13
13
|
"description": "Vite plugin that auto-discovers Effect Schema exports and injects round-trip property tests via @systemfsoftware/effect-schema-law.",
|
|
14
14
|
"keywords": [
|
|
@@ -47,17 +47,17 @@
|
|
|
47
47
|
"tsdown": "^0.22.14",
|
|
48
48
|
"vite": "^8",
|
|
49
49
|
"vitest": "^4.1.10",
|
|
50
|
-
"@systemfsoftware/
|
|
51
|
-
"@systemfsoftware/
|
|
52
|
-
"@systemfsoftware/
|
|
53
|
-
"@systemfsoftware/effect-schema-law": "^0.
|
|
54
|
-
"@systemfsoftware/
|
|
50
|
+
"@systemfsoftware/effect-gherkin-spec": "^2.0.0",
|
|
51
|
+
"@systemfsoftware/vitest-config": "^0.1.0",
|
|
52
|
+
"@systemfsoftware/tsconfig": "^1.3.3",
|
|
53
|
+
"@systemfsoftware/effect-schema-law": "^0.8.0",
|
|
54
|
+
"@systemfsoftware/oxlint-config": "^0.1.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"effect": "4.0.0-rc.108",
|
|
58
58
|
"vite": ">5.0.0",
|
|
59
59
|
"vitest": "*",
|
|
60
|
-
"@systemfsoftware/effect-schema-law": "0.
|
|
60
|
+
"@systemfsoftware/effect-schema-law": "0.8.0"
|
|
61
61
|
},
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"provenance": true
|