Skip to content

Commit

Permalink
build: move playwright from each sample to root
Browse files Browse the repository at this point in the history
  • Loading branch information
sdorra committed Sep 12, 2024
1 parent 0ece5f2 commit b3a10d7
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 58 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
run: pnpm build

- name: Install Playwright Browsers
run: pnpx playwright install --with-deps
run: pnpm playwright install --with-deps

- name: Test
run: pnpm test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"husky": "^9.0.11",
"turbo": "^2.0.14"
"turbo": "^2.0.14",
"@playwright/test": "^1.47.0"
},
"packageManager": "[email protected]"
}
65 changes: 19 additions & 46 deletions pnpm-lock.yaml

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

1 change: 0 additions & 1 deletion samples/markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@playwright/test": "^1.46.1",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
Expand Down
1 change: 0 additions & 1 deletion samples/mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"@content-collections/core": "0.7.0",
"@content-collections/mdx": "0.1.4",
"@content-collections/next": "0.2.1",
"@playwright/test": "^1.46.1",
"@types/node": "^20",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
Expand Down
1 change: 0 additions & 1 deletion samples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"react-dom": "^18"
},
"devDependencies": {
"@playwright/test": "^1.46.1",
"@types/node": "^20",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
Expand Down
1 change: 0 additions & 1 deletion samples/qwik/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"@builder.io/qwik-city": "^1.8.0",
"@content-collections/core": "0.7.0",
"@content-collections/vite": "0.2.2",
"@playwright/test": "^1.46.1",
"@types/eslint": "^8.56.7",
"@types/node": "^20.14.9",
"@typescript-eslint/eslint-plugin": "^6.19.1",
Expand Down
1 change: 0 additions & 1 deletion samples/react-markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"react-markdown": "^9.0.1"
},
"devDependencies": {
"@playwright/test": "^1.46.1",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
Expand Down
1 change: 0 additions & 1 deletion samples/remix-mdx-routes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"@content-collections/core": "0.7.0",
"@content-collections/vite": "0.2.2",
"@mdx-js/rollup": "^3.0.1",
"@playwright/test": "^1.46.1",
"@remix-run/dev": "^2.11.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
Expand Down
1 change: 0 additions & 1 deletion samples/remix-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"devDependencies": {
"@content-collections/core": "0.7.0",
"@content-collections/remix-vite": "0.1.1",
"@playwright/test": "^1.46.1",
"@remix-run/dev": "^2.11.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
Expand Down
1 change: 0 additions & 1 deletion samples/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"@content-collections/core": "0.7.0",
"@content-collections/markdown": "0.1.1",
"@content-collections/solid-start": "0.1.2",
"@playwright/test": "^1.46.1",
"@solidjs/start": "^1.0.0-rc.0",
"solid-js": "^1.8.16",
"vinxi": "^0.4.1"
Expand Down
1 change: 0 additions & 1 deletion samples/svelte-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"@content-collections/core": "0.7.0",
"@content-collections/markdown": "0.1.1",
"@content-collections/vite": "0.2.2",
"@playwright/test": "^1.46.1",
"@sveltejs/adapter-auto": "^3.2.2",
"@sveltejs/kit": "^2.5.18",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
Expand Down
1 change: 0 additions & 1 deletion samples/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@playwright/test": "^1.46.1",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
Expand Down

0 comments on commit b3a10d7

Please sign in to comment.