chore: bump vite to 4.3.3 (#22711)

This commit is contained in:
Sander 2023-05-02 00:19:49 +02:00 committed by GitHub
parent 70011c82f7
commit 5b69c4cf52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 432 additions and 314 deletions

720
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -95,7 +95,7 @@
"socksv5": "0.0.6", "socksv5": "0.0.6",
"ssim.js": "^3.5.0", "ssim.js": "^3.5.0",
"typescript": "^5.0.2", "typescript": "^5.0.2",
"vite": "^4.2.1", "vite": "^4.3.3",
"ws": "^8.5.0", "ws": "^8.5.0",
"xml2js": "^0.5.0", "xml2js": "^0.5.0",
"yaml": "^2.2.2" "yaml": "^2.2.2"

View file

@ -17,7 +17,7 @@
"./lib/vitePlugin": "./lib/vitePlugin.js" "./lib/vitePlugin": "./lib/vitePlugin.js"
}, },
"dependencies": { "dependencies": {
"vite": "^4.2.1", "vite": "^4.3.3",
"@playwright/test": "1.34.0-next" "@playwright/test": "1.34.0-next"
}, },
"bin": { "bin": {

View file

@ -27,7 +27,7 @@
}, },
"dependencies": { "dependencies": {
"@playwright/experimental-ct-core": "1.34.0-next", "@playwright/experimental-ct-core": "1.34.0-next",
"@vitejs/plugin-react": "^3.1.0" "@vitejs/plugin-react": "^4.0.0"
}, },
"bin": { "bin": {
"playwright": "./cli.js" "playwright": "./cli.js"

View file

@ -27,7 +27,7 @@
}, },
"dependencies": { "dependencies": {
"@playwright/experimental-ct-core": "1.34.0-next", "@playwright/experimental-ct-core": "1.34.0-next",
"@vitejs/plugin-react": "^3.1.0" "@vitejs/plugin-react": "^4.0.0"
}, },
"bin": { "bin": {
"playwright": "./cli.js" "playwright": "./cli.js"

View file

@ -27,7 +27,7 @@
}, },
"dependencies": { "dependencies": {
"@playwright/experimental-ct-core": "1.34.0-next", "@playwright/experimental-ct-core": "1.34.0-next",
"vite-plugin-solid": "^2.6.1" "vite-plugin-solid": "^2.7.0"
}, },
"devDependencies": { "devDependencies": {
"solid-js": "^1.7.0" "solid-js": "^1.7.0"

View file

@ -27,7 +27,7 @@
}, },
"dependencies": { "dependencies": {
"@playwright/experimental-ct-core": "1.34.0-next", "@playwright/experimental-ct-core": "1.34.0-next",
"@sveltejs/vite-plugin-svelte": "^2.0.3" "@sveltejs/vite-plugin-svelte": "^2.1.1"
}, },
"devDependencies": { "devDependencies": {
"svelte": "^3.55.1" "svelte": "^3.55.1"

View file

@ -27,7 +27,7 @@
}, },
"dependencies": { "dependencies": {
"@playwright/experimental-ct-core": "1.34.0-next", "@playwright/experimental-ct-core": "1.34.0-next",
"@vitejs/plugin-vue": "^4.1.0" "@vitejs/plugin-vue": "^4.2.1"
}, },
"bin": { "bin": {
"playwright": "./cli.js" "playwright": "./cli.js"

View file

@ -17,11 +17,11 @@
import { config as loadEnv } from 'dotenv'; import { config as loadEnv } from 'dotenv';
loadEnv({ path: path.join(__dirname, '..', '..', '.env') }); loadEnv({ path: path.join(__dirname, '..', '..', '.env') });
import type { Config } from './stable-test-runner'; import { defineConfig } from './stable-test-runner';
import * as path from 'path'; import * as path from 'path';
const outputDir = path.join(__dirname, '..', '..', 'test-results'); const outputDir = path.join(__dirname, '..', '..', 'test-results');
const config: Config = { export default defineConfig({
timeout: 30000, timeout: 30000,
forbidOnly: !!process.env.CI, forbidOnly: !!process.env.CI,
workers: process.env.CI ? 2 : undefined, workers: process.env.CI ? 2 : undefined,
@ -45,6 +45,4 @@ const config: Config = {
] : [ ] : [
['list'] ['list']
], ],
}; });
export default config;

View file

@ -175,6 +175,7 @@ test('should extract component list', async ({ runInlineTest }, testInfo) => {
], ],
deps: [ deps: [
expect.stringContaining('clashingNames1.tsx'), expect.stringContaining('clashingNames1.tsx'),
expect.stringContaining('jsx-runtime.js'),
expect.stringContaining('clashingNames2.tsx'), expect.stringContaining('clashingNames2.tsx'),
], ],
}); });
@ -187,6 +188,7 @@ test('should extract component list', async ({ runInlineTest }, testInfo) => {
], ],
deps: [ deps: [
expect.stringContaining('defaultExport.tsx'), expect.stringContaining('defaultExport.tsx'),
expect.stringContaining('jsx-runtime.js'),
] ]
}); });
} }
@ -199,6 +201,7 @@ test('should extract component list', async ({ runInlineTest }, testInfo) => {
], ],
deps: [ deps: [
expect.stringContaining('components.tsx'), expect.stringContaining('components.tsx'),
expect.stringContaining('jsx-runtime.js'),
] ]
}); });
} }
@ -210,6 +213,7 @@ test('should extract component list', async ({ runInlineTest }, testInfo) => {
], ],
deps: [ deps: [
expect.stringContaining('button.tsx'), expect.stringContaining('button.tsx'),
expect.stringContaining('jsx-runtime.js'),
] ]
}); });
} }