build(site): [SITE-07] preserve exact Stack Overflow revision and attribution

This commit is contained in:
Harvey Zhao committed 2026-09-15 08:09:53 +08:00
1 parent 3136eb2402
commit 0503fe8aa8
30 files changed
+1941 -27

No files matched your search

+2 -1
View File
@@ -60,11 +60,12 @@ assert.deepEqual(consoleGroup?.components?.map(component => component.name).sort
'scheduler',
'shallowequal',
'simple-html-tokenizer',
'stackoverflow-custom-stringify',
'styled-components',
'stylis (Emotion fork)',
'stylis-rule-sheet',
], 'Do not silently drop verified console component attribution')
assert.equal(consoleGroup?.notices.length, 42, 'Missing reviewed console notice')
assert.equal(consoleGroup?.notices.length, 45, 'Missing reviewed console notice')
const vconsoleNotices = manifest.groups.find(group => group.name === 'vconsole')?.notices.map(notice => notice.target)
for (const name of ['LICENSE', 'MIT-LICENSE', 'ATTRIBUTION.md'])
assert(vconsoleNotices?.includes(`docs/licenses/vconsole/${name}`), `Missing vConsole notice: ${name}`)