zenstack/packages/cli
sanny-io 9a5f5da40c
chore: add warning for mismatched versions during zen generate (#660)
* chore: add warning for mismatched versions during `zen generate`

* chore: swap falsy checks for length checks

* chore: do not block generation upon error

* Add additional new line.

* Trigger Build

* Trigger Build

* fix: addressing PR comments

- use `createRequire` instead of dynamic import for better compatibility
- use file search to locate nearest package.json file
- use longer padding length when formatting warnings

* fix: make sure require base dir is absolute path

---------

Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2026-02-10 16:13:01 +08:00
..
bin fix: remove shebang from npm bin scripts for better compatibility (#75) 2025-07-04 21:09:24 +02:00
scripts chore: fix telemetry token (#236) 2025-09-03 23:56:51 -07:00
src chore: add warning for mismatched versions during zen generate (#660) 2026-02-10 16:13:01 +08:00
test fix(introspection): preserve data validation attributes, enum ordering, and comments during db pull (#672) 2026-02-10 15:57:49 +08:00
eslint.config.js chore: upgrade eslint (#36) 2025-06-21 23:26:56 +08:00
package.json feat: db pull implementation (#268) 2026-02-08 10:02:26 +08:00
tsconfig.json feat: cli plugin support (#181) 2025-08-17 16:35:07 +08:00
tsup.config.ts chore: fix telemetry token (#236) 2025-09-03 23:56:51 -07:00
vitest.config.ts chore: unify vitest config and minor fixes in CLI (#133) 2025-08-04 16:43:02 +08:00