-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Attempt at updating to vite 5 * Fix test * Skip test on unsupported Node/Vite version combinations * Lock playwright version * Upgrade dependencies * FORCE Upgrade dependencies * Move dependencies to devDependencies * Set yarn to ignore engines version check in CI * yarn format * Fix skipped tests on Node.js 14 --------- Co-authored-by: Menci <[email protected]>
- Loading branch information
1 parent
dbe2779
commit 9d500ce
Showing
13 changed files
with
3,977 additions
and
2,644 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
import * as vite from "vite"; | ||
import { default as vitePluginLegacy } from "@vitejs/plugin-legacy"; | ||
import { default as vitePluginTopLevelAwait } from "vite-plugin-top-level-await"; | ||
|
||
import { runTests } from "../e2e"; | ||
|
||
runTests(2, { | ||
vite, | ||
vitePluginLegacy, | ||
vitePluginTopLevelAwait | ||
}); | ||
runTests(2, async () => ({ | ||
vite: await import("vite"), | ||
vitePluginLegacy: (await import("@vitejs/plugin-legacy")).default, | ||
vitePluginTopLevelAwait: (await import("vite-plugin-top-level-await")).default | ||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
import * as vite from "vite"; | ||
import { default as vitePluginLegacy } from "@vitejs/plugin-legacy"; | ||
import { default as vitePluginTopLevelAwait } from "vite-plugin-top-level-await"; | ||
|
||
import { runTests } from "../e2e"; | ||
|
||
runTests(3, { | ||
vite, | ||
vitePluginLegacy, | ||
vitePluginTopLevelAwait | ||
}); | ||
runTests(3, async () => ({ | ||
vite: await import("vite"), | ||
vitePluginLegacy: (await import("@vitejs/plugin-legacy")).default, | ||
vitePluginTopLevelAwait: (await import("vite-plugin-top-level-await")).default | ||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
import * as vite from "vite"; | ||
import { default as vitePluginLegacy } from "@vitejs/plugin-legacy"; | ||
import { default as vitePluginTopLevelAwait } from "vite-plugin-top-level-await"; | ||
|
||
import { runTests } from "../e2e"; | ||
|
||
runTests(4, { | ||
vite, | ||
vitePluginLegacy, | ||
vitePluginTopLevelAwait | ||
}); | ||
runTests(4, async () => ({ | ||
vite: await import("vite"), | ||
vitePluginLegacy: (await import("@vitejs/plugin-legacy")).default, | ||
vitePluginTopLevelAwait: (await import("vite-plugin-top-level-await")).default | ||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { runTests } from "../e2e"; | ||
|
||
runTests(5, async () => ({ | ||
vite: await import("vite"), | ||
vitePluginLegacy: (await import("@vitejs/plugin-legacy")).default, | ||
vitePluginTopLevelAwait: (await import("vite-plugin-top-level-await")).default | ||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "dependencies-vite5", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"private": true, | ||
"devDependencies": { | ||
"@vitejs/plugin-legacy": "^5", | ||
"vite": "5", | ||
"vite-plugin-top-level-await": "^1.1.1" | ||
} | ||
} |
Oops, something went wrong.