@supalive/codegen 1.20.2 → 1.22.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/README.md CHANGED
@@ -93,7 +93,7 @@ on procedure configs lets you override specific fields for the generated client
93
93
  without changing your handler's return type.
94
94
 
95
95
  Model naming uses the `.modelName()` Zod extension method — no extra imports
96
- needed (it patches all Zod types when you import from `@supalive/core/procedure`).
96
+ needed (it patches all Zod types automatically when you import `z` from `@supalive/core`).
97
97
 
98
98
  ### Default (no `returns`)
99
99
 
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { n as generateToDisk, r as readEntryConfig } from "./src-BHtJlw3J.js";
2
+ import { n as generateToDisk, r as readEntryConfig } from "./src-DvV5kMq2.js";
3
3
  import path from "node:path";
4
4
  //#region src/cli.ts
5
5
  function parseArgs(argv) {
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as emit, c as loadSchemaEnums, i as resolveConfig, n as generateToDisk, o as extractClient, r as readEntryConfig, s as SchemaEnumRegistry, t as generate } from "./src-BHtJlw3J.js";
1
+ import { a as emit, c as loadSchemaEnums, i as resolveConfig, n as generateToDisk, o as extractClient, r as readEntryConfig, s as SchemaEnumRegistry, t as generate } from "./src-DvV5kMq2.js";
2
2
  export { SchemaEnumRegistry, emit, extractClient, generate, generateToDisk, loadSchemaEnums, readEntryConfig, resolveConfig };
@@ -3,7 +3,7 @@ import fs from "node:fs";
3
3
  import path from "node:path";
4
4
  import { Node, Project, ts } from "ts-morph";
5
5
  import { pathToFileURL } from "node:url";
6
- import { schemaRegistry } from "@supalive/core/procedure";
6
+ import { schemaRegistry } from "@supalive/core";
7
7
  //#region src/zod-schema.ts
8
8
  /**
9
9
  * Map each procedure to the doc comment on its declaration, so the generated
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supalive/codegen",
3
- "version": "1.20.2",
3
+ "version": "1.22.0",
4
4
  "description": "Generate type-safe client code (Dart, and more) from a Supalive TypeScript router.",
5
5
  "author": "Rebaz Raouf",
6
6
  "license": "MIT",