Skip to content

chore(dev): silence the tsx module.register deprecation warning#529

Merged
iamtoruk merged 1 commit into
mainfrom
chore/silence-dev-warning
Jun 20, 2026
Merged

chore(dev): silence the tsx module.register deprecation warning#529
iamtoruk merged 1 commit into
mainfrom
chore/silence-dev-warning

Conversation

@iamtoruk

Copy link
Copy Markdown
Member

Node 26 flags tsx's loader use of module.register() as deprecated (DEP0205), which prints on every npm run dev. Run the dev script with NODE_OPTIONS=--no-deprecation so source-checkout output stays clean.

Dev-only: end users run the built dist via npx / npm i -g and never touch the dev script, so the shipped CLI is unaffected.

Node 26 flags tsx's loader use of module.register() as deprecated, which
prints DEP0205 on every npm run dev. Run dev with
NODE_OPTIONS=--no-deprecation so the output stays clean. Dev-only; the
built dist is unaffected.
@iamtoruk iamtoruk merged commit 60410a2 into main Jun 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant