Skip to content

Commit

Permalink
fix: update generateParams script to use Node.js register API
Browse files Browse the repository at this point in the history
  • Loading branch information
devin-ai-integration[bot] and jamesbroadhead committed Jan 24, 2025
1 parent b7d32f9 commit 1725ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"lint:fix": "pnpm typecheck && eslint src --fix && prettier --w .",
"build": "pnpm generateParams && pnpm clean && tsc && cp src/*.html package*.json README.md ./dist",
"clean": "rm -rf dist",
"generateParams": "NODE_OPTIONS=\"--loader ts-node/esm\" node --loader ts-node/esm generateOptionsFromSpec.ts",
"generateParams": "node --import 'data:text/javascript,import { register } from \"node:module\"; import { pathToFileURL } from \"node:url\"; register(\"ts-node/esm\", pathToFileURL(\"./\"));' generateOptionsFromSpec.ts",
"start": "node dist/index.js",
"pretest": "pnpm build",
"test": "vitest run",
Expand Down

0 comments on commit 1725ea8

Please sign in to comment.