feat: render scalable Alta site and group hierarchy
This commit is contained in:
@@ -171,7 +171,10 @@ function verifySource() {
|
||||
for (const [label, version] of [['lockfile', lock.version], ['lockfile root package', lock.packages?.['']?.version]]) {
|
||||
if (version !== pkg.version) fail(`${label} version ${version} does not match application version ${pkg.version}`);
|
||||
}
|
||||
const productionRoots = ['main.js', 'preload.js', 'renderer.js', 'index.html', 'src/', 'chrome-extension/'];
|
||||
const productionRoots = [
|
||||
'main.js', 'preload.js', 'renderer.js', 'renderer-controller.js', 'device-tree.js',
|
||||
'sidebar-controller.js', 'sidebar-view.js', 'index.html', 'src/', 'chrome-extension/',
|
||||
];
|
||||
const productionFiles = new Map([...files].filter(([name]) =>
|
||||
productionRoots.some((root) => name === root || name.startsWith(root))
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user