@drzl/cli 4.24.0 → 4.24.2

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/cli.cjs CHANGED
@@ -1769,7 +1769,7 @@ function checkFindings(table) {
1769
1769
  const label = k.name ? `"${k.name}"` : "an unnamed constraint";
1770
1770
  const raw = k.expression ?? "";
1771
1771
  const expr = raw.trim() ? raw : "(empty)";
1772
- const parsed = (0, import_validation_core2.parseCheck)(raw, k.name);
1772
+ const parsed = (0, import_validation_core2.parseCheck)(raw, k.name, table.dialect);
1773
1773
  if (!parsed.ok) {
1774
1774
  out.push({
1775
1775
  kind: "check-declined",