Add playground for current version (#18830)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
authored and GitHub committed 2026-02-05 22:29:59 +08:00
1 parent efcc72d91b
commit d9bd8abfeb
17 files changed
+412 -199

No files matched your search

+7 -1
View File
@@ -1,6 +1,8 @@
const fs = require("node:fs");
const path = require("node:path");
const root = path.join(__dirname, "../../");
function setupVscode() {
const settingsFile = path.join(__dirname, "../../.vscode/settings.json");
@@ -27,7 +29,11 @@ module.exports = {
name: "plugin-prepare",
factory: () => ({
hooks: {
async afterAllInstalled() {
async afterAllInstalled({ cwd }) {
if (cwd !== root) {
return;
}
setupVscode();
try {
await buildBabelCodeFrameForTest();