Skip to content

Commit 9f77d73

Browse files
committed
chore: move deps to root
1 parent b9bcb44 commit 9f77d73

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"devDependencies": {
1515
"@antfu/eslint-config": "^2.6.4",
1616
"@changesets/cli": "^2.27.1",
17+
"@playwright/test": "^1.41.2",
1718
"@rushstack/eslint-patch": "^1.3.3",
1819
"@vue/eslint-config-typescript": "^12.0.0",
1920
"eslint": "^8.56.0"

playground/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"vue-router": "4"
1919
},
2020
"devDependencies": {
21-
"@playwright/test": "^1.41.2",
2221
"@tsconfig/node18": "^18.2.2",
2322
"@types/node": "^18.19.3",
2423
"@vitejs/plugin-vue": "^4.5.2",

playground/tsconfig.node.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"vitest.config.*",
1313
"cypress.config.*",
1414
"nightwatch.conf.*",
15-
"playwright.config.*"
16-
]
15+
"playwright.config.*",
16+
"../playwright.config.ts"]
1717
}

playground/playwright.config.ts playwright.config.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { defineConfig, devices } from '@playwright/test'
1010
* See https://playwright.dev/docs/test-configuration.
1111
*/
1212
export default defineConfig({
13-
testDir: './e2e',
13+
testDir: './playground/e2e',
1414
/* Maximum time one test can run for. */
1515
timeout: 30 * 1000,
1616
expect: {
@@ -104,6 +104,7 @@ export default defineConfig({
104104
*/
105105
command: process.env.CI ? 'vite build && vite preview --port 5173' : 'vite dev',
106106
port: 5173,
107+
cwd: './playground',
107108
reuseExistingServer: !process.env.CI,
108109
},
109110
})

pnpm-lock.yaml

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)