@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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @corpdk/scalar-zod
2
2
 
3
- Placeholder that reserves the name for npm trusted publishing; no code yet.
3
+ Shared **GraphQL scalar validation rules** for DAL servers, client SDKs, and automation CLIs.
4
4
 
5
- Planned role: shared GraphQL scalar validation rules (DAL preset and SDKs). See [GraphQL SDK generator design](../../docs/developer/13-graphql-sdk-generator.md) (§7.7).
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.
@@ -0,0 +1,2 @@
1
+ /** Root entry: generic GraphQL wire scalars. Implementation: SDK P1a (doc 13 §7.7). */
2
+ export declare const SCALAR_ZOD_PHASE: "P1a";
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ /** Root entry: generic GraphQL wire scalars. Implementation: SDK P1a (doc 13 §7.7). */
2
+ export const SCALAR_ZOD_PHASE = "P1a";
3
+ //# sourceMappingURL=index.js.map
@@ -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"}
@@ -0,0 +1,2 @@
1
+ /** Postgres-bounded scalar rules (`/pg` export). Implementation: SDK P1a. */
2
+ export declare const SCALAR_ZOD_PG_PHASE: "P1a";
@@ -0,0 +1,3 @@
1
+ /** Postgres-bounded scalar rules (`/pg` export). Implementation: SDK P1a. */
2
+ export const SCALAR_ZOD_PG_PHASE = "P1a";
3
+ //# sourceMappingURL=index.js.map
@@ -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": "0.0.0-bootstrap.0",
4
- "description": "Placeholder reserving the npm package name for trusted publishing; no implementation yet.",
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
- "README.md",
17
- "LICENSE"
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
+ }