Skip to content

Commit

Permalink
bump packages
Browse files Browse the repository at this point in the history
  • Loading branch information
xHomu committed Feb 16, 2024
1 parent 21ccc13 commit bf38cab
Show file tree
Hide file tree
Showing 4 changed files with 468 additions and 438 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ Then run the app in production mode:
```sh
yarn start
```

This template comes with Github Action for continuous deployment to [Fly.io](https://fly.io/docs/speedrun/), but it can also be deployed to any host that accepts a docker image.

You can disable the the action by deleting `./github/workflows` and `fly.toml`, or in the Actions Workflows tab on Github.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"sideEffects": false,
"scripts": {
"build": "run-s \"build:*\"",
"build:remix": "vite build && vite build --ssr",
"build:remix": "remix vite:build",
"build:payload": "payload build",
"build:server": "tsc -p tsconfig.server.json",
"dev": "node -r ts-node/register --watch-path ./server.ts server.ts",
"start": "cross-env PAYLOAD_CONFIG_PATH=dist/payload.config.js NODE_ENV=production node dist/server.js",
"typecheck": "tsc -p tsconfig.server.json",
"generate:types": "payload generate:types",
"clean": "shx rm -rf node_modules dist build public/build"
"clean": "shx rm -rf node_modules dist build public/build",
"typecheck": "tsc"
},
"dependencies": {
"@payloadcms/bundler-vite": "^0.1.6",
Expand All @@ -23,7 +23,7 @@
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"isbot": "^3.7.0",
"isbot": "^5.1.0",
"morgan": "^1.10.0",
"payload": "^2.11.1",
"react": "^18.2.0",
Expand All @@ -43,7 +43,6 @@
"@types/react-dom": "^18.2.14",
"@types/source-map-support": "^0.5.9",
"autoprefixer": "^10.4.15",
"chokidar": "^3.5.3",
"eslint": "^8.52.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.29",
Expand Down
2 changes: 1 addition & 1 deletion server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async function start() {
app.all(
"*",
createRequestHandler({
// @ts-ignore
// @ts-expect-error
build: vite
? () => vite.ssrLoadModule("virtual:remix/server-build")
: await import("./build/server/index.js"),
Expand Down
Loading

0 comments on commit bf38cab

Please sign in to comment.