@drzl/cli 4.24.0 → 4.24.1

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
@@ -25,15 +25,21 @@ Analyze your Drizzle schema and generate validation, services, and routers.
25
25
 
26
26
  - Every dollar speeds up CI hardware and offsets long test runs on my aging laptop.
27
27
  - Sponsors get roadmap input and priority responses in GitHub Issues.
28
- - Prefer a quick overview? Check `docs/sponsor.md` for the current goals and thank-yous.
28
+ - Prefer a quick overview? The current goals and thank-yous are at
29
+ https://use-drzl.github.io/drzl/sponsor.
29
30
 
30
31
  ## Commands
31
32
 
32
33
  - Init: `pnpm dlx @drzl/cli init`
33
34
  - Analyze: `pnpm dlx @drzl/cli analyze <schema.ts> [--relations] [--validate]`
35
+ - Explain: `pnpm dlx @drzl/cli explain <table>`, what DRZL understood about one table and what it did not
36
+ - Doctor: `pnpm dlx @drzl/cli doctor`, what DRZL cannot type or enforce in your schema, and why
34
37
  - Generate: `pnpm dlx @drzl/cli generate -c drzl.config.ts`
35
38
  - Watch: `pnpm dlx @drzl/cli watch -c drzl.config.ts`
36
39
 
40
+ All fourteen generators ship as dependencies of this package, so installing it is the only install
41
+ you need to run any of them.
42
+
37
43
  ## Minimal config
38
44
 
39
45
  ```ts
package/dist/config.d.cts CHANGED
@@ -161,8 +161,8 @@ declare const GeneratorSchema: z.ZodObject<{
161
161
  includeRelations: z.ZodOptional<z.ZodBoolean>;
162
162
  sharedEnums: z.ZodOptional<z.ZodBoolean>;
163
163
  coerceDates: z.ZodOptional<z.ZodEnum<{
164
- none: "none";
165
164
  input: "input";
165
+ none: "none";
166
166
  all: "all";
167
167
  }>>;
168
168
  typedJson: z.ZodOptional<z.ZodBoolean>;
@@ -385,8 +385,8 @@ declare const ConfigSchema: z.ZodObject<{
385
385
  includeRelations: z.ZodOptional<z.ZodBoolean>;
386
386
  sharedEnums: z.ZodOptional<z.ZodBoolean>;
387
387
  coerceDates: z.ZodOptional<z.ZodEnum<{
388
- none: "none";
389
388
  input: "input";
389
+ none: "none";
390
390
  all: "all";
391
391
  }>>;
392
392
  typedJson: z.ZodOptional<z.ZodBoolean>;
package/dist/config.d.ts CHANGED
@@ -161,8 +161,8 @@ declare const GeneratorSchema: z.ZodObject<{
161
161
  includeRelations: z.ZodOptional<z.ZodBoolean>;
162
162
  sharedEnums: z.ZodOptional<z.ZodBoolean>;
163
163
  coerceDates: z.ZodOptional<z.ZodEnum<{
164
- none: "none";
165
164
  input: "input";
165
+ none: "none";
166
166
  all: "all";
167
167
  }>>;
168
168
  typedJson: z.ZodOptional<z.ZodBoolean>;
@@ -385,8 +385,8 @@ declare const ConfigSchema: z.ZodObject<{
385
385
  includeRelations: z.ZodOptional<z.ZodBoolean>;
386
386
  sharedEnums: z.ZodOptional<z.ZodBoolean>;
387
387
  coerceDates: z.ZodOptional<z.ZodEnum<{
388
- none: "none";
389
388
  input: "input";
389
+ none: "none";
390
390
  all: "all";
391
391
  }>>;
392
392
  typedJson: z.ZodOptional<z.ZodBoolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drzl/cli",
3
- "version": "4.24.0",
3
+ "version": "4.24.1",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -29,22 +29,22 @@
29
29
  "jiti": "^2.7.0",
30
30
  "ora": "^9.4.1",
31
31
  "zod": "^4.4.3",
32
- "@drzl/analyzer": "^1.21.0",
33
- "@drzl/generator-effect": "^0.5.0",
32
+ "@drzl/analyzer": "^1.21.1",
33
+ "@drzl/generator-arktype": "^3.17.1",
34
+ "@drzl/generator-effect": "^0.5.1",
34
35
  "@drzl/generator-express": "^0.2.0",
35
- "@drzl/generator-arktype": "^3.17.0",
36
36
  "@drzl/generator-fastify": "^0.2.0",
37
37
  "@drzl/generator-graphql": "^0.2.0",
38
38
  "@drzl/generator-hono": "^0.2.0",
39
+ "@drzl/generator-json-schema": "^0.9.1",
39
40
  "@drzl/generator-nestjs": "^0.2.0",
40
- "@drzl/generator-service": "^2.5.0",
41
- "@drzl/generator-json-schema": "^0.9.0",
41
+ "@drzl/generator-orpc": "^2.9.1",
42
+ "@drzl/generator-service": "^2.5.1",
42
43
  "@drzl/generator-trpc": "^0.3.0",
43
- "@drzl/generator-valibot": "^3.20.0",
44
- "@drzl/generator-orpc": "^2.9.0",
45
- "@drzl/generator-zod": "^3.21.0",
46
- "@drzl/generator-typebox": "^0.14.0",
47
- "@drzl/validation-core": "^3.22.0"
44
+ "@drzl/generator-typebox": "^0.14.1",
45
+ "@drzl/generator-valibot": "^3.20.1",
46
+ "@drzl/generator-zod": "^3.21.1",
47
+ "@drzl/validation-core": "^3.22.1"
48
48
  },
49
49
  "devDependencies": {
50
50
  "ajv": "^8.17.1",