Skip to content

Commit

Permalink
tsx instead of ts-node
Browse files Browse the repository at this point in the history
  • Loading branch information
jho44 committed Feb 25, 2024
1 parent 3727434 commit b0fcae8
Show file tree
Hide file tree
Showing 3 changed files with 183 additions and 93 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"node": ">=18"
},
"prisma": {
"seed": "ts-node --esm --transpile-only prisma/seed.ts"
"seed": "tsx prisma/seed.ts"
},
"scripts": {
"dev": "vite dev",
Expand Down Expand Up @@ -53,8 +53,8 @@
"svelte": "^4.2.10",
"svelte-check": "^3.4.3",
"tailwindcss": "^3.3.2",
"ts-node": "^10.9.2",
"tslib": "^2.5.2",
"tsx": "^4.7.1",
"typescript": "^5.0.4",
"vite": "^4.3.9",
"vitest": "^0.31.3"
Expand Down
13 changes: 13 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
{
"extends": "./.svelte-kit/tsconfig.json",
"include": [

// "ambient.d.ts",
// "./types/**/$types.d.ts",
// "../vite.config.js",
// "../vite.config.ts",
// "../src/**/*.js",
// "../src/**/*.ts",
// "../src/**/*.svelte",
// "../tests/**/*.js",
// "../tests/**/*.ts",
// "../tests/**/*.svelte"
],
"compilerOptions": {
"allowJs": true,
"checkJs": true,
Expand Down
Loading

0 comments on commit b0fcae8

Please sign in to comment.