Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move express server to TS #5085

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions utopia-remix/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ node_modules
/public/build
.env
vegeta

server.js
25 changes: 16 additions & 9 deletions utopia-remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
"sideEffects": false,
"type": "module",
"scripts": {
"build": "remix build",
"dev": "remix dev -c \"node server.js\"",
"build": "pnpm run build:remix && pnpm run build:server",
"build:server": "esbuild --platform=node --format=esm ./server.ts --outdir=./",
"build:remix": "remix build",
"dev": "remix dev -c \"npm run dev:server\" --manual",
"dev:server": "tsx watch --clear-screen=false --ignore 'app/**' --ignore 'build/**' --ignore 'node_modules/**' --inspect ./server.ts",
"lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
"start": "node ./server.js",
"typecheck": "tsc",
Expand All @@ -28,16 +31,17 @@
"@radix-ui/react-slot": "1.0.2",
"@radix-ui/react-tooltip": "1.0.7",
"@radix-ui/themes": "2.0.3",
"@remix-run/css-bundle": "2.5.1",
"@remix-run/express": "2.8.0",
"@remix-run/node": "2.5.1",
"@remix-run/react": "2.5.1",
"@remix-run/serve": "2.5.1",
"@remix-run/css-bundle": "2.8.1",
"@remix-run/express": "2.8.1",
"@remix-run/node": "2.8.1",
"@remix-run/react": "2.8.1",
"@remix-run/serve": "2.8.1",
"@tailwindcss/aspect-ratio": "0.4.2",
"@tailwindcss/typography": "0.5.10",
"classnames": "2.5.1",
"cookie": "0.6.0",
"cors": "2.8.5",
"cross-env": "7.0.3",
"dotenv": "16.4.1",
"express": "4.18.3",
"framer-motion": "11.0.6",
Expand All @@ -49,6 +53,7 @@
"react-dom": "18.2.0",
"slugify": "1.6.6",
"tiny-invariant": "1.3.1",
"tsx": "4.7.1",
"url-join": "5.0.0",
"zustand": "4.5.0"
},
Expand All @@ -64,6 +69,7 @@
"@types/node": "20.11.15",
"@types/react": "18.2.20",
"@types/react-dom": "18.2.7",
"@types/source-map-support": "0.5.10",
"@types/uuid": "9.0.8",
"@typescript-eslint/eslint-plugin": "6.7.4",
"@typescript-eslint/parser": ">=6.0.0 <7.0.0",
Expand All @@ -73,16 +79,17 @@
"@vanilla-extract/sprinkles": "1.6.1",
"babel-eslint": "10.0.1",
"chokidar": "3.6.0",
"esbuild": "0.20.2",
"eslint": "8.38.0",
"eslint-config-prettier": "6.9.0",
"eslint-config-utopia": "link:../eslint-config-utopia",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-jest": "25.3.0",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-config-utopia": "link:../eslint-config-utopia",
"jest": "29.7.0",
"prettier": "3.0.3",
"prisma": "5.9.0",
Expand Down
Loading
Loading