mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-07-09 17:19:15 +00:00
chore(dev): silence the tsx module.register deprecation warning (#529)
Some checks are pending
CI / semgrep (push) Waiting to run
Some checks are pending
CI / semgrep (push) Waiting to run
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.
This commit is contained in:
parent
c55dba2dd2
commit
60410a2632
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
"scripts": {
|
||||
"bundle-litellm": "node scripts/bundle-litellm.mjs",
|
||||
"build": "node scripts/bundle-litellm.mjs && tsup && node -e \"const fs=require('fs'); fs.copyFileSync('src/cli.ts','dist/cli.js'); fs.chmodSync('dist/cli.js',0o755)\"",
|
||||
"dev": "tsx src/cli.ts",
|
||||
"dev": "NODE_OPTIONS=--no-deprecation tsx src/cli.ts",
|
||||
"test": "vitest",
|
||||
"prepublishOnly": "npm run build"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue