Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
poteto committed Sep 27, 2024
1 parent 8c32360 commit dbb8133
Show file tree
Hide file tree
Showing 4 changed files with 242 additions and 12 deletions.
13 changes: 8 additions & 5 deletions compiler/apps/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "NODE_ENV=development next dev",
"build:compiler": "cd ../.. && yarn workspace babel-plugin-react-compiler build && yarn workspace react-compiler-runtime build",
"build": "yarn build:compiler && yarn link:compiler && next build && node ./scripts/downloadFonts.js",
"link:compiler": "./scripts/link-compiler.sh",
"dev": "cd ../.. && concurrently --kill-others -n compiler,runtime,playground \"yarn workspace babel-plugin-react-compiler run build --watch\" \"yarn workspace react-compiler-runtime run build --watch\" \"wait-on packages/babel-plugin-react-compiler/dist/index.js && cd apps/playground && NODE_ENV=development next dev\"",
"build:compiler": "cd ../.. && concurrently -n compiler,runtime \"yarn workspace babel-plugin-react-compiler run build\" \"yarn workspace react-compiler-runtime run build\"",
"build": "yarn build:compiler && next build",
"postbuild": "node ./scripts/downloadFonts.js",
"postinstall": "./scripts/link-compiler.sh",
"vercel-build": "yarn build",
"start": "next start",
"lint": "next lint",
Expand Down Expand Up @@ -48,11 +49,13 @@
"@types/react-dom": "18.3.0",
"autoprefixer": "^10.4.13",
"clsx": "^1.2.1",
"concurrently": "^7.4.0",
"eslint": "^8.28.0",
"eslint-config-next": "^13.5.6",
"hermes-parser": "^0.22.0",
"monaco-editor-webpack-plugin": "^7.1.0",
"postcss": "^8.4.31",
"tailwindcss": "^3.2.4"
"tailwindcss": "^3.2.4",
"wait-on": "^7.2.0"
}
}
2 changes: 1 addition & 1 deletion compiler/apps/playground/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default defineConfig({
// Run your local dev server before starting the tests:
// https://playwright.dev/docs/test-advanced#launching-a-development-web-server-during-the-tests
webServer: {
command: 'yarn build:compiler && yarn dev',
command: 'yarn dev',
url: baseURL,
timeout: 300 * 1000,
reuseExistingServer: !process.env.CI,
Expand Down
Loading

0 comments on commit dbb8133

Please sign in to comment.