zodbridge 0.2.0

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/package.json ADDED
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "zodbridge",
3
+ "version": "0.2.0",
4
+ "description": "Schema-first, decorator-free Zod-driven mapper: two-way entity <-> DTO mapping, JSON-safe serialize/deserialize, a dependency-aware memoizing resolver graph, and async select-driven mapping.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "",
8
+ "keywords": [
9
+ "zod",
10
+ "mapper",
11
+ "dto",
12
+ "serialize",
13
+ "deserialize",
14
+ "resolver",
15
+ "schema",
16
+ "typescript"
17
+ ],
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/khanhx/zodmapper.git"
21
+ },
22
+ "sideEffects": false,
23
+ "publishConfig": {
24
+ "access": "public",
25
+ "provenance": true
26
+ },
27
+ "files": [
28
+ "dist"
29
+ ],
30
+ "main": "./dist/index.cjs",
31
+ "module": "./dist/index.js",
32
+ "types": "./dist/index.d.ts",
33
+ "exports": {
34
+ ".": {
35
+ "types": "./dist/index.d.ts",
36
+ "import": "./dist/index.js",
37
+ "require": "./dist/index.cjs"
38
+ },
39
+ "./async": {
40
+ "types": "./dist/async/index.d.ts",
41
+ "import": "./dist/async/index.js",
42
+ "require": "./dist/async/index.cjs"
43
+ },
44
+ "./serialize": {
45
+ "types": "./dist/serialize/index.d.ts",
46
+ "import": "./dist/serialize/index.js",
47
+ "require": "./dist/serialize/index.cjs"
48
+ },
49
+ "./resolver": {
50
+ "types": "./dist/resolver/index.d.ts",
51
+ "import": "./dist/resolver/index.js",
52
+ "require": "./dist/resolver/index.cjs"
53
+ }
54
+ },
55
+ "scripts": {
56
+ "build": "tsup",
57
+ "dev": "tsup --watch",
58
+ "test": "vitest run",
59
+ "test:watch": "vitest",
60
+ "test:coverage": "vitest run --coverage",
61
+ "typecheck": "tsc --noEmit",
62
+ "verify:dist": "node test/exports/esm-consume.mjs && node test/exports/cjs-consume.cjs",
63
+ "verify:examples": "tsc -p examples/tsconfig.json",
64
+ "example": "tsx --tsconfig examples/tsconfig.json",
65
+ "changeset": "changeset",
66
+ "version": "changeset version",
67
+ "release": "changeset publish",
68
+ "prepublishOnly": "npm run build && npm run test"
69
+ },
70
+ "engines": {
71
+ "node": ">=20"
72
+ },
73
+ "peerDependencies": {
74
+ "zod": "^4"
75
+ },
76
+ "devDependencies": {
77
+ "@changesets/cli": "^2.31.0",
78
+ "@types/node": "^25.9.2",
79
+ "@vitest/coverage-v8": "^4.1.8",
80
+ "tsup": "^8.5.0",
81
+ "tsx": "^4.22.4",
82
+ "typescript": "^5.9.2",
83
+ "vitest": "^4.1.8",
84
+ "zod": "^4.1.5"
85
+ }
86
+ }