@corpdk/scalar-zod 0.0.0-bootstrap.0 → 2026.10.0-alpha.14
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 +11 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/pg/index.d.ts +2 -0
- package/dist/pg/index.js +3 -0
- package/dist/pg/index.js.map +1 -0
- package/package.json +27 -6
package/README.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @corpdk/scalar-zod
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Shared **GraphQL scalar validation rules** for DAL servers, client SDKs, and automation CLIs.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
| Export | Contents (target) |
|
|
6
|
+
| ------ | ----------------- |
|
|
7
|
+
| `.` | Generic wire scalars |
|
|
8
|
+
| `./pg` | Postgres-bounded rules |
|
|
9
|
+
|
|
10
|
+
**Status:** Bootstrap on npm; implementation **SDK P1a**. See [§7.7](https://github.com/CorpDK/coding-templates/blob/main/docs/developer/13-graphql-sdk-generator.md).
|
|
11
|
+
|
|
12
|
+
## License
|
|
13
|
+
|
|
14
|
+
MIT.
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAc,CAAC"}
|
package/dist/pg/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/pg/index.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corpdk/scalar-zod",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2026.10.0-alpha.14",
|
|
4
|
+
"description": "Shared GraphQL scalar validation rules for DAL, SDK, and CLI",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"publishConfig": {
|
|
7
8
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -9,14 +10,34 @@
|
|
|
9
10
|
},
|
|
10
11
|
"repository": {
|
|
11
12
|
"type": "git",
|
|
12
|
-
"url": "https://github.com/CorpDK/coding-templates.git",
|
|
13
|
+
"url": "git+https://github.com/CorpDK/coding-templates.git",
|
|
13
14
|
"directory": "libraries/scalar-zod"
|
|
14
15
|
},
|
|
15
16
|
"files": [
|
|
16
|
-
"
|
|
17
|
-
"
|
|
17
|
+
"dist",
|
|
18
|
+
"README.md"
|
|
18
19
|
],
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"import": "./dist/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./pg": {
|
|
27
|
+
"types": "./dist/pg/index.d.ts",
|
|
28
|
+
"import": "./dist/pg/index.js"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@types/node": "^24.0.0",
|
|
33
|
+
"typescript": "^6.0.2"
|
|
34
|
+
},
|
|
19
35
|
"engines": {
|
|
20
36
|
"node": ">=24.0.0"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "tsc",
|
|
40
|
+
"typecheck": "tsc --noEmit",
|
|
41
|
+
"clean": "rm -rf dist node_modules .turbo *.tsbuildinfo"
|
|
21
42
|
}
|
|
22
|
-
}
|
|
43
|
+
}
|