@shipworthy/openapi-validator 0.0.1 → 0.0.2
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 +4 -4
- package/package.json +2 -5
package/README.md
CHANGED
|
@@ -18,9 +18,9 @@ bun add @shipworthy/openapi-validator effect@^4.0.0
|
|
|
18
18
|
|
|
19
19
|
### Requirements
|
|
20
20
|
|
|
21
|
-
- **Effect 4.** `effect` `^4.0.0
|
|
22
|
-
`Context.Service` and an Effect `Schema` error.
|
|
23
|
-
every package
|
|
21
|
+
- **Effect 4.** The package depends on `effect` `^4.0.0`. The public API is an Effect
|
|
22
|
+
`Context.Service` and an Effect `Schema` error. Add a compatible version to your
|
|
23
|
+
app so every package resolves to one Effect instance.
|
|
24
24
|
- **ESM only.** The package is `"type": "module"` and has no CommonJS build.
|
|
25
25
|
- **Node.js `>=22.19.0` or Bun.** The package ships compiled JavaScript and `.d.ts`
|
|
26
26
|
declarations in `dist/`. No TypeScript loader or bundler is needed. Its public
|
|
@@ -301,7 +301,7 @@ custom rulesets, or per-rule overrides.
|
|
|
301
301
|
- Output goes through Effect `Console` (`error` for blocking diagnostics, `warn`
|
|
302
302
|
otherwise). Color is used only on a TTY without `NO_COLOR`.
|
|
303
303
|
- Requirements: ESM only, compiled JavaScript and `.d.ts` declarations in `dist/`,
|
|
304
|
-
Node.js `>=22.19.0` or Bun, and
|
|
304
|
+
Node.js `>=22.19.0` or Bun, and a dependency on `effect@^4.0.0`.
|
|
305
305
|
- The CLI equivalent is `openapi lint [--strict] <file-or-url>` from
|
|
306
306
|
`@shipworthy/openapi-cli`.
|
|
307
307
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipworthy/openapi-validator",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -8,9 +8,7 @@
|
|
|
8
8
|
"@stoplight/spectral-core": "1.24.0",
|
|
9
9
|
"@stoplight/spectral-formats": "1.9.0",
|
|
10
10
|
"@stoplight/spectral-parsers": "1.0.5",
|
|
11
|
-
"@stoplight/spectral-rulesets": "1.23.0"
|
|
12
|
-
},
|
|
13
|
-
"peerDependencies": {
|
|
11
|
+
"@stoplight/spectral-rulesets": "1.23.0",
|
|
14
12
|
"effect": "^4.0.0"
|
|
15
13
|
},
|
|
16
14
|
"description": "Lint an OpenAPI document.",
|
|
@@ -36,7 +34,6 @@
|
|
|
36
34
|
"@effect/vitest": "4.0.0",
|
|
37
35
|
"@shipworthy/typescript-config": "0.0.1",
|
|
38
36
|
"@types/node": "^24.10.3",
|
|
39
|
-
"effect": "^4.0.0",
|
|
40
37
|
"typescript": "^7.0.2",
|
|
41
38
|
"vitest": "5.0.3"
|
|
42
39
|
},
|