移除导入时的缩略图生成

This commit is contained in:
tianmo committed 2026-09-17 14:23:33 +08:00
1 parent bb73cc9227
commit fe71d2d6ce
32 files changed
+35 -4192

No files matched your search

+6 -1
View File
@@ -38,6 +38,11 @@ for (const [label, files] of [
]) {
assert.equal(files.some((file) => /\.log$/i.test(file)), false, label + ' must not contain runtime or historical logs');
assert.equal(files.some((file) => /(^|\/)\.DS_Store$/i.test(file)), false, label + ' must not contain macOS metadata');
assert.equal(files.includes('thumbnail/spine.js'), false, label + ' must not contain an import-time Spine thumbnail handler');
assert.equal(files.some((file) => /^node_modules\//.test(file)), false, label + ' must not contain unused native thumbnail dependencies');
}
console.log('PASS: release directory and .eagleplugin contain no logs or .DS_Store files');
const manifest = JSON.parse(fs.readFileSync(path.join(releaseDir, 'manifest.json'), 'utf8'));
assert.equal(Object.values(manifest.preview || {}).some((entry) => entry && entry.thumbnail), false);
console.log('PASS: release has no logs, metadata, import thumbnail handler, or unused native thumbnail dependencies');