Skip to content

Commit

Permalink
chore(examples/vite): swap out tsm for tsx (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolanday authored Jul 8, 2024
1 parent be05e8b commit 4da764f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 242 deletions.
4 changes: 2 additions & 2 deletions examples/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"build": "remix vite:build && tsc --project ./tsconfig.server.json",
"dev": "cross-env NODE_ENV=development node --loader tsm --enable-source-maps --watch-path ./server/index.ts ./server/index.ts",
"dev": "cross-env NODE_ENV=development tsx --enable-source-maps --watch-path ./server/index.ts ./server/index.ts",
"lint": "eslint --ignore-path .gitignore --no-error-on-unmatched-pattern --cache --cache-location node_modules/.cache/eslint --fix .",
"format": "prettier --ignore-path .gitignore --ignore-unknown --cache --cache-location node_modules/.cache/prettiercache --write .",
"start": "cross-env NODE_ENV=production node --enable-source-maps ./server/index.js",
Expand All @@ -30,7 +30,7 @@
"@types/react-dom": "^18.3.0",
"eslint": "^8.57.0",
"prettier": "^3.2.5",
"tsm": "^2.3.0",
"tsx": "^4.16.2",
"typescript": "^5.4.5",
"vite": "^5.3.2",
"vite-tsconfig-paths": "^4.3.2"
Expand Down
262 changes: 22 additions & 240 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4da764f

Please sign in to comment.