feat: add dev deps for test

This commit is contained in:
Methapon2001 2025-01-15 09:35:40 +07:00
parent 4596ba747e
commit 28dfa728fa
3 changed files with 20 additions and 5 deletions

View file

@ -40,6 +40,7 @@
"vue-router": "^4.4.3" "vue-router": "^4.4.3"
}, },
"devDependencies": { "devDependencies": {
"@faker-js/faker": "^9.3.0",
"@iconify/vue": "^4.1.2", "@iconify/vue": "^4.1.2",
"@intlify/unplugin-vue-i18n": "^4.0.0", "@intlify/unplugin-vue-i18n": "^4.0.0",
"@playwright/test": "^1.46.1", "@playwright/test": "^1.46.1",
@ -50,6 +51,7 @@
"@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0", "@typescript-eslint/parser": "^7.18.0",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"dotenv": "^16.4.7",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-vue": "^9.27.0", "eslint-plugin-vue": "^9.27.0",

View file

@ -1,3 +1,4 @@
import 'dotenv/config';
import { defineConfig, devices } from '@playwright/test'; import { defineConfig, devices } from '@playwright/test';
/** /**

22
pnpm-lock.yaml generated
View file

@ -78,6 +78,9 @@ importers:
specifier: ^4.4.3 specifier: ^4.4.3
version: 4.4.3(vue@3.4.38(typescript@5.5.4)) version: 4.4.3(vue@3.4.38(typescript@5.5.4))
devDependencies: devDependencies:
'@faker-js/faker':
specifier: ^9.3.0
version: 9.3.0
'@iconify/vue': '@iconify/vue':
specifier: ^4.1.2 specifier: ^4.1.2
version: 4.1.2(vue@3.4.38(typescript@5.5.4)) version: 4.1.2(vue@3.4.38(typescript@5.5.4))
@ -108,6 +111,9 @@ importers:
autoprefixer: autoprefixer:
specifier: ^10.4.20 specifier: ^10.4.20
version: 10.4.20(postcss@8.4.41) version: 10.4.20(postcss@8.4.41)
dotenv:
specifier: ^16.4.7
version: 16.4.7
eslint: eslint:
specifier: ^8.57.0 specifier: ^8.57.0
version: 8.57.0 version: 8.57.0
@ -455,6 +461,10 @@ packages:
resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==} resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
'@faker-js/faker@9.3.0':
resolution: {integrity: sha512-r0tJ3ZOkMd9xsu3VRfqlFR6cz0V/jFYRswAIpC+m/DIfAUXq7g8N7wTAlhSANySXYGKzGryfDXwtwsY8TxEIDw==}
engines: {node: '>=18.0.0', npm: '>=9.0.0'}
'@humanwhocodes/config-array@0.11.14': '@humanwhocodes/config-array@0.11.14':
resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==}
engines: {node: '>=10.10.0'} engines: {node: '>=10.10.0'}
@ -1587,8 +1597,8 @@ packages:
resolution: {integrity: sha512-8NHi73otpWsZGBSZwwknTXS5pqMOrk9+Ssrna8xCaxkzEpU9OTf9R5ArQGVw03//Zmk9MOwLPng9WwndvpAJ5g==} resolution: {integrity: sha512-8NHi73otpWsZGBSZwwknTXS5pqMOrk9+Ssrna8xCaxkzEpU9OTf9R5ArQGVw03//Zmk9MOwLPng9WwndvpAJ5g==}
engines: {node: '>=12'} engines: {node: '>=12'}
dotenv@16.4.5: dotenv@16.4.7:
resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==}
engines: {node: '>=12'} engines: {node: '>=12'}
duplexify@3.7.1: duplexify@3.7.1:
@ -3902,6 +3912,8 @@ snapshots:
'@eslint/js@8.57.0': {} '@eslint/js@8.57.0': {}
'@faker-js/faker@9.3.0': {}
'@humanwhocodes/config-array@0.11.14': '@humanwhocodes/config-array@0.11.14':
dependencies: dependencies:
'@humanwhocodes/object-schema': 2.0.3 '@humanwhocodes/object-schema': 2.0.3
@ -4058,7 +4070,7 @@ snapshots:
compression: 1.7.4 compression: 1.7.4
cross-spawn: 7.0.3 cross-spawn: 7.0.3
dot-prop: 9.0.0 dot-prop: 9.0.0
dotenv: 16.4.5 dotenv: 16.4.7
dotenv-expand: 11.0.6 dotenv-expand: 11.0.6
elementtree: 0.1.7 elementtree: 0.1.7
esbuild: 0.23.1 esbuild: 0.23.1
@ -5270,9 +5282,9 @@ snapshots:
dotenv-expand@11.0.6: dotenv-expand@11.0.6:
dependencies: dependencies:
dotenv: 16.4.5 dotenv: 16.4.7
dotenv@16.4.5: {} dotenv@16.4.7: {}
duplexify@3.7.1: duplexify@3.7.1:
dependencies: dependencies: