Updates component explorer & adopts rspack for fixture serving (#306484)

This commit is contained in:
Henning Dieterichs
2026-04-01 05:25:14 +02:00
committed by GitHub
parent eac55d867e
commit b533ee4b6e
19 changed files with 4770 additions and 3868 deletions

29
.vscode/tasks.json vendored
View File

@@ -393,9 +393,9 @@
]
},
{
"label": "Launch Component Explorer",
"label": "Component Explorer Server",
"type": "shell",
"command": "npx component-explorer serve -c ./test/componentFixtures/component-explorer.json -vv --kill-if-running",
"command": "npx component-explorer serve -p ./test/componentFixtures/component-explorer.json -vv --kill-if-running",
"isBackground": true,
"inSessions": true,
"problemMatcher": {
@@ -408,7 +408,7 @@
"column": 3
},
"background": {
"activeOnStart": true,
"activeOnStart": false,
"beginsPattern": ".*Setting up sessions.*",
"endsPattern": " current: (?<componentExplorerUrl>.*) \\(current\\)"
}
@@ -426,6 +426,29 @@
"runOn": "worktreeCreated"
}
},
{
"label": "Serve Out (rspack)",
"type": "npm",
"script": "serve-out-rspack",
"isBackground": true,
"problemMatcher": {
"owner": "rspack",
"fileLocation": "absolute",
"pattern": {
"regexp": "^(.+?):(\\d+):(\\d+):\\s+(error|warning)\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
},
"background": {
"activeOnStart": true,
"beginsPattern": ".*compiling.*",
"endsPattern": ".*compiled.*successfully.*"
}
}
},
{
"label": "Echo E2E Status",
"type": "shell",