chore(deps): 更新多个依赖项版本
This commit is contained in:
28
package.json
28
package.json
@ -1,5 +1,5 @@
|
||||
{
|
||||
"packageManager": "pnpm@10.5.2",
|
||||
"packageManager": "pnpm@10.7.0",
|
||||
"name": "vue-ts-example",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
@ -41,8 +41,8 @@
|
||||
"dependencies": {
|
||||
"@alova/adapter-axios": "^2.0.12",
|
||||
"@formkit/auto-animate": "^0.8.2",
|
||||
"@intlify/unplugin-vue-i18n": "^6.0.3",
|
||||
"@pinia/colada": "^0.13.5",
|
||||
"@intlify/unplugin-vue-i18n": "^6.0.5",
|
||||
"@pinia/colada": "^0.14.2",
|
||||
"@primeuix/themes": "^1.0.0",
|
||||
"@unhead/vue": "^2.0.2",
|
||||
"@vant/use": "^1.6.0",
|
||||
@ -83,22 +83,22 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/compat": "^1.2.6",
|
||||
"@faker-js/faker": "^9.4.0",
|
||||
"@iconify-json/carbon": "^1.2.6",
|
||||
"@faker-js/faker": "^9.6.0",
|
||||
"@iconify-json/carbon": "^1.2.8",
|
||||
"@iconify/utils": "^2.3.0",
|
||||
"@playwright/test": "^1.50.1",
|
||||
"@playwright/test": "^1.51.1",
|
||||
"@primevue/auto-import-resolver": "^4.3.1",
|
||||
"@tsconfig/node22": "^22.0.0",
|
||||
"@tsconfig/node22": "^22.0.1",
|
||||
"@types/archiver": "^6.0.3",
|
||||
"@types/mockjs": "^1.0.10",
|
||||
"@types/node": "^22.13.10",
|
||||
"@types/node": "^22.13.14",
|
||||
"@types/nprogress": "^0.2.3",
|
||||
"@unocss/preset-rem-to-px": "^66.0.0",
|
||||
"@vant/auto-import-resolver": "^1.2.1",
|
||||
"@vitejs/plugin-vue": "^5.2.1",
|
||||
"@vitejs/plugin-vue-jsx": "^4.1.1",
|
||||
"@vue/eslint-config-prettier": "^10.2.0",
|
||||
"@vue/eslint-config-typescript": "^14.3.0",
|
||||
"@vue/eslint-config-typescript": "^14.5.0",
|
||||
"@vue/test-utils": "^2.4.6",
|
||||
"@vue/tsconfig": "^0.7.0",
|
||||
"archiver": "^7.0.1",
|
||||
@ -107,7 +107,7 @@
|
||||
"depcheck": "^1.4.7",
|
||||
"eruda": "^3.4.1",
|
||||
"eslint": "^9.20.1",
|
||||
"eslint-plugin-import-x": "^4.6.1",
|
||||
"eslint-plugin-import-x": "^4.9.3",
|
||||
"eslint-plugin-oxlint": "^0.15.15",
|
||||
"eslint-plugin-perfectionist": "^4.8.0",
|
||||
"eslint-plugin-unicorn": "^58.0.0",
|
||||
@ -117,7 +117,7 @@
|
||||
"lint-staged": "^15.4.3",
|
||||
"mockjs": "^1.1.0",
|
||||
"npm-run-all2": "^7.0.2",
|
||||
"oxlint": "^0.15.13",
|
||||
"oxlint": "^0.15.15",
|
||||
"prettier": "3.5.3",
|
||||
"sass-embedded": "^1.83.4",
|
||||
"surge": "^0.24.6",
|
||||
@ -127,19 +127,19 @@
|
||||
"unocss-preset-animations": "^1.1.1",
|
||||
"unocss-preset-chinese": "^0.3.3",
|
||||
"unocss-preset-shadcn": "^0.5.0",
|
||||
"unplugin-auto-import": "^19.1.1",
|
||||
"unplugin-auto-import": "^19.1.2",
|
||||
"unplugin-icons": "^22.1.0",
|
||||
"unplugin-vue-components": "^28.4.1",
|
||||
"unplugin-vue-macros": "^2.14.5",
|
||||
"unplugin-vue-markdown": "^28.3.1",
|
||||
"unplugin-vue-router": "^0.12.0",
|
||||
"vite": "^6.1.0",
|
||||
"vite": "^6.2.3",
|
||||
"vite-plugin-cdn-import": "^1.0.1",
|
||||
"vite-plugin-fake-server": "^2.2.0",
|
||||
"vite-plugin-purgecss-updated-v5": "^1.2.4",
|
||||
"vite-plugin-singlefile": "^2.2.0",
|
||||
"vite-plugin-static-copy": "^2.3.0",
|
||||
"vite-plugin-vue-devtools": "^7.7.1",
|
||||
"vite-plugin-vue-devtools": "^7.7.2",
|
||||
"vite-plugin-vue-layouts": "^0.11.0",
|
||||
"vite-plugin-vue-meta-layouts": "^0.5.1",
|
||||
"vite-plugin-webfont-dl": "^3.10.4",
|
||||
|
@ -1,59 +1,57 @@
|
||||
import { defineConfig, devices } from '@playwright/test';
|
||||
import process from 'node:process';
|
||||
|
||||
/**
|
||||
* Read environment variables from file.
|
||||
* https://github.com/motdotla/dotenv
|
||||
*/
|
||||
// import dotenv from 'dotenv';
|
||||
// import path from 'path';
|
||||
// dotenv.config({ path: path.resolve(__dirname, '.env') });
|
||||
// require('dotenv').config();
|
||||
|
||||
/**
|
||||
* See https://playwright.dev/docs/test-configuration.
|
||||
*/
|
||||
export default defineConfig({
|
||||
expect: {
|
||||
timeout: 30 * 1000,
|
||||
/**
|
||||
* Maximum time expect() should wait for the condition to be met.
|
||||
* For example in `await expect(locator).toHaveText();`
|
||||
*/
|
||||
timeout: 5000,
|
||||
},
|
||||
/* Fail the build on CI if you accidentally left test.only in the source code. */
|
||||
forbidOnly: !!process.env.CI,
|
||||
/* Run tests in files in parallel */
|
||||
fullyParallel: true,
|
||||
/* Configure projects for major browsers */
|
||||
projects: [
|
||||
{
|
||||
name: 'chromium',
|
||||
use: { ...devices['Desktop Chrome'] },
|
||||
},
|
||||
|
||||
{
|
||||
name: 'firefox',
|
||||
use: { ...devices['Desktop Firefox'] },
|
||||
},
|
||||
|
||||
{
|
||||
name: 'webkit',
|
||||
use: { ...devices['Desktop Safari'] },
|
||||
},
|
||||
{ name: 'chromium', use: { ...devices['Desktop Chrome'] } },
|
||||
{ name: 'firefox', use: { ...devices['Desktop Firefox'] } },
|
||||
{ name: 'webkit', use: { ...devices['Desktop Safari'] } },
|
||||
|
||||
/* Test against mobile viewports. */
|
||||
// {
|
||||
// name: 'Mobile Chrome',
|
||||
// use: { ...devices['Pixel 5'] },
|
||||
// use: {
|
||||
// ...devices['Pixel 5'],
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// name: 'Mobile Safari',
|
||||
// use: { ...devices['iPhone 12'] },
|
||||
// use: {
|
||||
// ...devices['iPhone 12'],
|
||||
// },
|
||||
// },
|
||||
|
||||
/* Test against branded browsers. */
|
||||
// {
|
||||
// name: 'Microsoft Edge',
|
||||
// use: { ...devices['Desktop Edge'], channel: 'msedge' },
|
||||
// use: {
|
||||
// channel: 'msedge',
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// name: 'Google Chrome',
|
||||
// use: { ...devices['Desktop Chrome'], channel: 'chrome' },
|
||||
// use: {
|
||||
// channel: 'chrome',
|
||||
// },
|
||||
// },
|
||||
],
|
||||
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
||||
@ -61,22 +59,37 @@ export default defineConfig({
|
||||
/* Retry on CI only */
|
||||
retries: process.env.CI ? 2 : 0,
|
||||
testDir: './tests/playwright',
|
||||
/* Maximum time one test can run for. */
|
||||
timeout: 30 * 1000,
|
||||
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
|
||||
use: {
|
||||
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
|
||||
actionTimeout: 0,
|
||||
/* Base URL to use in actions like `await page.goto('/')`. */
|
||||
baseURL: process.env.BASE_URL || 'https://vue-ts-example.oo1.dev',
|
||||
|
||||
/* Only on CI systems run the tests headless */
|
||||
headless: !!process.env.CI,
|
||||
|
||||
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
|
||||
trace: 'on-first-retry',
|
||||
},
|
||||
|
||||
/* Opt out of parallel tests on CI. */
|
||||
workers: process.env.CI ? 1 : undefined,
|
||||
|
||||
/* Run your local dev server before starting the tests */
|
||||
// /* Run your local dev server before starting the tests */
|
||||
// webServer: {
|
||||
// command: 'npm run start',
|
||||
// url: 'http://127.0.0.1:3000',
|
||||
// /**
|
||||
// * Use the dev server by default for faster feedback loop.
|
||||
// * Use the preview server on CI for more realistic testing.
|
||||
// * Playwright will re-use the local server if there is already a dev-server running.
|
||||
// */
|
||||
// command: process.env.CI ? 'npm run preview' : 'npm run dev',
|
||||
// port: process.env.CI ? 4173 : 5173,
|
||||
// reuseExistingServer: !process.env.CI,
|
||||
// },
|
||||
|
||||
/* Folder for test artifacts such as screenshots, videos, traces, etc. */
|
||||
// outputDir: 'test-results/',
|
||||
|
||||
/* Opt out of parallel tests on CI. */
|
||||
workers: process.env.CI ? 1 : undefined,
|
||||
});
|
||||
|
3422
pnpm-lock.yaml
generated
3422
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user