mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 10:31:20 -08:00
build(site): [SITE-07] verify modified forks and preserve upstream author notices
This commit is contained in:
1 parent
d2a83f8a69
commit
3136eb2402
31 files changed
+2567
-23
No files matched your search
@@ -45,6 +45,8 @@ assert.deepEqual(consoleGroup?.components?.map(component => component.name).sort
|
||||
'is-object',
|
||||
'is-window',
|
||||
'linkifyjs',
|
||||
'murmurhash-js (Gary Court)',
|
||||
'murmurhash2 (Austin Appleby)',
|
||||
'object-assign',
|
||||
'parcel-bundler',
|
||||
'process',
|
||||
@@ -54,13 +56,15 @@ assert.deepEqual(consoleGroup?.components?.map(component => component.name).sort
|
||||
'react-inspector',
|
||||
'react-is',
|
||||
'regenerator-runtime',
|
||||
'replicator (console-feed fork)',
|
||||
'scheduler',
|
||||
'shallowequal',
|
||||
'simple-html-tokenizer',
|
||||
'styled-components',
|
||||
'stylis (Emotion fork)',
|
||||
'stylis-rule-sheet',
|
||||
], 'Do not silently drop verified console component attribution')
|
||||
assert.equal(consoleGroup?.notices.length, 38, 'Missing reviewed console notice')
|
||||
assert.equal(consoleGroup?.notices.length, 42, '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}`)
|
||||
|
||||
Reference in new issue
Block a user