fix: 将 playwright 移到 production dependencies
问题:Docker 构建时使用 --production 标志,导致 playwright 无法找到 修复:将 @playwright/test 从 devDependencies 移到 dependencies
This commit is contained in:
2
bun.lock
2
bun.lock
@@ -5,6 +5,7 @@
|
||||
"": {
|
||||
"name": "dsas-cca-backend-bun",
|
||||
"dependencies": {
|
||||
"@playwright/test": "^1.49.0",
|
||||
"axios": "^1.9.0",
|
||||
"cors": "^2.8.5",
|
||||
"crypto": "^1.0.1",
|
||||
@@ -16,7 +17,6 @@
|
||||
"uuid": "^11.1.0",
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.49.0",
|
||||
"@types/bun": "latest",
|
||||
"typescript-language-server": "^5.1.3",
|
||||
},
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
"test:ui": "bunx playwright test --ui"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.49.0",
|
||||
"@types/bun": "latest",
|
||||
"typescript-language-server": "^5.1.3"
|
||||
},
|
||||
@@ -19,6 +18,7 @@
|
||||
"typescript": "^5.9.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@playwright/test": "^1.49.0",
|
||||
"axios": "^1.9.0",
|
||||
"cors": "^2.8.5",
|
||||
"crypto": "^1.0.1",
|
||||
|
||||
Reference in New Issue
Block a user