Skip to content

Commit

Permalink
Fix playgrounds not installing binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Jun 28, 2024
1 parent 65d3d6c commit a24c968
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions playground/compiler-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"build": "react-router build",
"dev": "node ./server.js",
"setup": "pnpm i react-router@workspace",
"start": "cross-env NODE_ENV=production node ./server.js",
"typecheck": "tsc"
},
Expand Down
1 change: 1 addition & 0 deletions playground/compiler-spa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"build": "react-router build",
"dev": "react-router dev",
"preview": "vite preview",
"setup": "pnpm i react-router@workspace",
"typecheck": "tsc"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions playground/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"build": "react-router build",
"dev": "react-router dev",
"setup": "pnpm i @react-router/serve@workspace react-router@workspace",
"start": "react-router-serve ./build/server/index.js",
"typecheck": "tsc"
},
Expand Down
1 change: 1 addition & 0 deletions scripts/playground.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ async function copyPlayground() {
chalk.green`To start playground, run:`,
"",
`cd ${relativeDestDir}`,
"pnpm setup",
"pnpm dev",
].join("\n")
);
Expand Down

0 comments on commit a24c968

Please sign in to comment.