schema-truth 0.8.3 → 0.8.4

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 (45) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -1
  3. package/dist/ajv-DejgT2o1.js +0 -0
  4. package/dist/ajv.d.ts +0 -0
  5. package/dist/ajv.js +0 -0
  6. package/dist/arktype-CzTltPwP.js +0 -0
  7. package/dist/arktype.d.ts +0 -0
  8. package/dist/arktype.js +0 -0
  9. package/dist/cli/ajv.d.ts +0 -0
  10. package/dist/cli/ajv.js +1 -1
  11. package/dist/cli/arktype.d.ts +0 -0
  12. package/dist/cli/arktype.js +1 -1
  13. package/dist/cli/effect.d.ts +0 -0
  14. package/dist/cli/effect.js +1 -1
  15. package/dist/cli/typebox.d.ts +0 -0
  16. package/dist/cli/typebox.js +1 -1
  17. package/dist/cli/valibot.d.ts +0 -0
  18. package/dist/cli/valibot.js +1 -1
  19. package/dist/cli/yup.d.ts +0 -0
  20. package/dist/cli/yup.js +1 -1
  21. package/dist/cli/zod.d.ts +0 -0
  22. package/dist/cli/zod.js +1 -1
  23. package/dist/{cli-71Np9i5L.js → cli-CGTme770.js} +1 -1
  24. package/dist/effect-Dj8qARFi.js +0 -0
  25. package/dist/effect.d.ts +0 -0
  26. package/dist/effect.js +0 -0
  27. package/dist/helper-WSNbEQKr.js +0 -0
  28. package/dist/index-DLVjyrKu.d.ts +0 -0
  29. package/dist/index-DU2Nd8eI.d.ts +0 -0
  30. package/dist/index.d.ts +0 -0
  31. package/dist/index.js +0 -0
  32. package/dist/parser-RBrkz7ZL.js +0 -0
  33. package/dist/typebox-RAJnIZwI.js +0 -0
  34. package/dist/typebox.d.ts +0 -0
  35. package/dist/typebox.js +0 -0
  36. package/dist/valibot-CLUhG6tp.js +0 -0
  37. package/dist/valibot.d.ts +0 -0
  38. package/dist/valibot.js +0 -0
  39. package/dist/yup-DfE_ofEu.js +0 -0
  40. package/dist/yup.d.ts +0 -0
  41. package/dist/yup.js +0 -0
  42. package/dist/zod-BhYAQ3iW.js +0 -0
  43. package/dist/zod.d.ts +0 -0
  44. package/dist/zod.js +0 -0
  45. package/package.json +16 -14
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 - present, Truth Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -141,4 +141,4 @@ export const User = yup.object({
141
141
 
142
142
  ## License
143
143
 
144
- Distributed under the MIT License. See [LICENSE](https://github.com/nakita628/schema-truth?tab=MIT-1-ov-file) for more information.
144
+ Distributed under the MIT License. See [LICENSE](https://github.com/nakita628/truth/blob/main/LICENSE) for more information.
File without changes
package/dist/ajv.d.ts CHANGED
File without changes
package/dist/ajv.js CHANGED
File without changes
File without changes
package/dist/arktype.d.ts CHANGED
File without changes
package/dist/arktype.js CHANGED
File without changes
package/dist/cli/ajv.d.ts CHANGED
File without changes
package/dist/cli/ajv.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { t as schemaToAjv } from "../ajv-DejgT2o1.js";
3
- import { n as version, t as cli } from "../cli-71Np9i5L.js";
3
+ import { n as version, t as cli } from "../cli-CGTme770.js";
4
4
  import * as Effect from "effect/Effect";
5
5
  import * as NodeRuntime from "@effect/platform-node/NodeRuntime";
6
6
  import * as NodeServices from "@effect/platform-node/NodeServices";
File without changes
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { t as schemaToArktype } from "../arktype-CzTltPwP.js";
3
- import { n as version, t as cli } from "../cli-71Np9i5L.js";
3
+ import { n as version, t as cli } from "../cli-CGTme770.js";
4
4
  import * as Effect from "effect/Effect";
5
5
  import * as NodeRuntime from "@effect/platform-node/NodeRuntime";
6
6
  import * as NodeServices from "@effect/platform-node/NodeServices";
File without changes
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { t as schemaToEffect } from "../effect-Dj8qARFi.js";
3
- import { n as version, t as cli } from "../cli-71Np9i5L.js";
3
+ import { n as version, t as cli } from "../cli-CGTme770.js";
4
4
  import * as Effect from "effect/Effect";
5
5
  import * as NodeRuntime from "@effect/platform-node/NodeRuntime";
6
6
  import * as NodeServices from "@effect/platform-node/NodeServices";
File without changes
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { t as schemaToTypebox } from "../typebox-RAJnIZwI.js";
3
- import { n as version, t as cli } from "../cli-71Np9i5L.js";
3
+ import { n as version, t as cli } from "../cli-CGTme770.js";
4
4
  import * as Effect from "effect/Effect";
5
5
  import * as NodeRuntime from "@effect/platform-node/NodeRuntime";
6
6
  import * as NodeServices from "@effect/platform-node/NodeServices";
File without changes
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { t as schemaToValibot } from "../valibot-CLUhG6tp.js";
3
- import { n as version, t as cli } from "../cli-71Np9i5L.js";
3
+ import { n as version, t as cli } from "../cli-CGTme770.js";
4
4
  import * as Effect from "effect/Effect";
5
5
  import * as NodeRuntime from "@effect/platform-node/NodeRuntime";
6
6
  import * as NodeServices from "@effect/platform-node/NodeServices";
package/dist/cli/yup.d.ts CHANGED
File without changes
package/dist/cli/yup.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { t as schemaToYup } from "../yup-DfE_ofEu.js";
3
- import { n as version, t as cli } from "../cli-71Np9i5L.js";
3
+ import { n as version, t as cli } from "../cli-CGTme770.js";
4
4
  import * as Effect from "effect/Effect";
5
5
  import * as NodeRuntime from "@effect/platform-node/NodeRuntime";
6
6
  import * as NodeServices from "@effect/platform-node/NodeServices";
package/dist/cli/zod.d.ts CHANGED
File without changes
package/dist/cli/zod.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { t as schemaToZod } from "../zod-BhYAQ3iW.js";
3
- import { n as version, t as cli } from "../cli-71Np9i5L.js";
3
+ import { n as version, t as cli } from "../cli-CGTme770.js";
4
4
  import * as Effect from "effect/Effect";
5
5
  import * as NodeRuntime from "@effect/platform-node/NodeRuntime";
6
6
  import * as NodeServices from "@effect/platform-node/NodeServices";
@@ -9,7 +9,7 @@ import * as Stdio from "effect/Stdio";
9
9
  import "@effect/platform-node/NodeFileSystem";
10
10
  import * as FileSystem from "effect/FileSystem";
11
11
  // package.json
12
- var version = "0.8.3";
12
+ var version = "0.8.4";
13
13
  // src/file/index.ts
14
14
  /** Creates the directory and its parents. An existing directory is not an error. */
15
15
  function mkdir(dir) {
File without changes
package/dist/effect.d.ts CHANGED
File without changes
package/dist/effect.js CHANGED
File without changes
File without changes
File without changes
File without changes
package/dist/index.d.ts CHANGED
File without changes
package/dist/index.js CHANGED
File without changes
File without changes
File without changes
package/dist/typebox.d.ts CHANGED
File without changes
package/dist/typebox.js CHANGED
File without changes
File without changes
package/dist/valibot.d.ts CHANGED
File without changes
package/dist/valibot.js CHANGED
File without changes
File without changes
package/dist/yup.d.ts CHANGED
File without changes
package/dist/yup.js CHANGED
File without changes
File without changes
package/dist/zod.d.ts CHANGED
File without changes
package/dist/zod.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "schema-truth",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "Generate Zod/Valibot/Effect/TypeBox/ArkType/Ajv/Yup schemas from JSON or YAML files",
5
5
  "keywords": [
6
6
  "ajv",
@@ -11,14 +11,15 @@
11
11
  "yup",
12
12
  "zod"
13
13
  ],
14
- "homepage": "https://github.com/nakita628/schema-truth",
14
+ "homepage": "https://github.com/nakita628/truth/tree/main/npm/schema-truth#readme",
15
15
  "bugs": {
16
- "url": "https://github.com/nakita628/schema-truth/issues"
16
+ "url": "https://github.com/nakita628/truth/issues"
17
17
  },
18
18
  "license": "MIT",
19
19
  "repository": {
20
20
  "type": "git",
21
- "url": "git+https://github.com/nakita628/schema-truth.git"
21
+ "url": "git+https://github.com/nakita628/truth.git",
22
+ "directory": "npm/schema-truth"
22
23
  },
23
24
  "bin": {
24
25
  "schema-truth-ajv": "dist/cli/ajv.js",
@@ -94,21 +95,22 @@
94
95
  }
95
96
  },
96
97
  "publishConfig": {
97
- "access": "public"
98
- },
99
- "scripts": {
100
- "build": "vp pack",
101
- "check": "vp check",
102
- "fix": "vp check --fix",
103
- "test": "vp test"
98
+ "access": "public",
99
+ "provenance": true
104
100
  },
105
101
  "dependencies": {
106
102
  "@apidevtools/json-schema-ref-parser": "^16.0.5",
107
- "@effect/platform-node": "4.1.1",
108
- "effect": "4.1.1",
103
+ "@effect/platform-node": "4.1.2",
104
+ "effect": "4.1.2",
109
105
  "oxfmt": "^0.75.0"
110
106
  },
111
107
  "devDependencies": {
112
108
  "@types/node": "26.6.6"
109
+ },
110
+ "scripts": {
111
+ "build": "vp pack",
112
+ "check": "vp check",
113
+ "fix": "vp check --fix",
114
+ "test": "vp test"
113
115
  }
114
- }
116
+ }