build(site): [SITE-07] verify embedded inspector and tokenizer sources

This commit is contained in:
Harvey Zhao committed 2026-09-15 07:34:42 +08:00
1 parent 199021c8a9
commit d2a83f8a69
24 files changed
+822 -21

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ test('Console notice CLI rejects omitted package or embedded attribution before
const manifestPath = path.join(root, 'scripts/site-vendor/manifest.json')
fs.mkdirSync(path.dirname(manifestPath), { recursive: true })
const original = JSON.parse(fs.readFileSync('scripts/site-vendor/manifest.json', 'utf8'))
for (const name of ['console-feed', 'parcel-bundler', 'styled-components', 'chromium-string-utils', 'stylis-rule-sheet']) {
for (const name of ['console-feed', 'parcel-bundler', 'styled-components', 'chromium-string-utils', 'stylis-rule-sheet', '@babel/runtime (react-inspector embedded)', 'regenerator-runtime', 'simple-html-tokenizer']) {
for (const field of ['components', 'notices']) {
const manifest = structuredClone(original)
const group = manifest.groups.find(group => group.name === 'console')