Skip to content

Commit

Permalink
chore: fix Node 20 script compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
fwouts committed Nov 7, 2023
1 parent 6d9e072 commit feee5eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion daemon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}
},
"scripts": {
"build": "tsc && unbuild && ts-node-esm patch-build.ts"
"build": "tsc && unbuild && node --loader ts-node/esm patch-build.ts"
},
"devDependencies": {
"@previewjs/api": "workspace:*",
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"homepage": "https://previewjs.com",
"type": "module",
"scripts": {
"check-deps": "ts-node-esm scripts/check-deps.ts",
"check-licenses": "ts-node-esm scripts/check-licenses.ts",
"release-apps": "ts-node-esm scripts/release-apps.ts",
"release-components": "ts-node-esm scripts/release-components.ts",
"check-deps": "node --loader ts-node/esm scripts/check-deps.ts",
"check-licenses": "node --loader ts-node/esm scripts/check-licenses.ts",
"release-apps": "node --loader ts-node/esm scripts/release-apps.ts",
"release-components": "node --loader ts-node/esm scripts/release-components.ts",
"vscode:build:dev": "cd ./integrations/vscode && pnpm build:dev",
"vscode:build:dev:pro": "cd ./integrations/vscode && pnpm build:dev:pro",
"lint": "eslint --max-warnings 0 '**/*.ts' '**/*.tsx'",
Expand Down

0 comments on commit feee5eb

Please sign in to comment.