@polygonlabs/example-schemas 0.0.0 → 1.2.3

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 CHANGED
@@ -1,9 +1,52 @@
1
1
  {
2
2
  "name": "@polygonlabs/example-schemas",
3
- "version": "0.0.0",
4
- "description": "Placeholder; real versions are published by the release workflow",
3
+ "version": "1.2.3",
4
+ "description": "Zod response schemas, OpenAPI registry, and committed spec for the Example REST API",
5
+ "type": "module",
5
6
  "license": "Apache-2.0",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "import": "./dist/index.js"
11
+ },
12
+ "./registry": {
13
+ "types": "./dist/registry.d.ts",
14
+ "import": "./dist/registry.js"
15
+ },
16
+ "./openapi.json": "./openapi.json"
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "openapi.json",
21
+ "CHANGELOG.md",
22
+ "MIGRATION.md",
23
+ "!dist/*.tsbuildinfo"
24
+ ],
6
25
  "publishConfig": {
7
26
  "access": "public"
27
+ },
28
+ "dependencies": {
29
+ "@asteasolutions/zod-to-openapi": "^8.4.1",
30
+ "@polygonlabs/openapi-registry": "^3.0.0",
31
+ "@polygonlabs/zod-codecs": "^1.2.0",
32
+ "zod": "^4.3.6"
33
+ },
34
+ "devDependencies": {
35
+ "@tsconfig/node-ts": "^23.0.0",
36
+ "@tsconfig/node24": "^24.0.0",
37
+ "@types/node": "^24.0.0",
38
+ "typescript": "^5.5.0"
39
+ },
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "https://github.com/0xPolygon/apps-team-ts-template.git",
43
+ "directory": "packages/example-schemas"
44
+ },
45
+ "scripts": {
46
+ "build": "pnpm run typecheck && tsc -b tsconfig.lib.json && node --conditions=@polygonlabs/source scripts/generate-spec.ts",
47
+ "build:clean": "pnpm run typecheck && rm -rf dist out-tsc *.tsbuildinfo && tsc -b tsconfig.lib.json && node --conditions=@polygonlabs/source scripts/generate-spec.ts",
48
+ "codegen-drift-check": "pnpm run build && git diff --exit-code -- openapi.json",
49
+ "typecheck": "tsc -b",
50
+ "clean": "rm -rf dist out-tsc node_modules *.tsbuildinfo"
8
51
  }
9
- }
52
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # @polygonlabs/example-schemas
2
-
3
- Placeholder. Real versions are published by the release workflow.