This commit is contained in:
Andrew Pareles
2024-11-09 20:11:20 -08:00
parent 8da76e72df
commit e8ff4d8328
2 changed files with 17 additions and 17 deletions

View File

@ -56,7 +56,7 @@ const dirs = [
// Void added these:
// 'extensions/void',
'void-imports',
// 'void-imports',
];

View File

@ -141,19 +141,19 @@ cp.execSync('git config pull.rebase merges');
cp.execSync('git config blame.ignoreRevsFile .git-blame-ignore-revs');
// Void added this (inject void-imports into project):
const buildVoidImports = () => {
console.log('\n\nVoid is injecting void-imports...')
cp.execSync(`npm install`, { // this goes here, not in postinstall, because we need to
env: process.env,
cwd: path.join(__dirname, '..', '..', '/void-imports'),
stdio: 'inherit'
});
cp.execSync(`node build-index.mjs`, {
env: process.env,
cwd: path.join(__dirname, '..', '..', '/void-imports'),
stdio: 'inherit'
});
console.log('Done injecting void-imports.')
}
buildVoidImports()
// // Void added this (inject void-imports into project):
// const buildVoidImports = () => {
// console.log('\n\nVoid is injecting void-imports...')
// cp.execSync(`npm install`, { // this goes here, not in postinstall, because we need to
// env: process.env,
// cwd: path.join(__dirname, '..', '..', '/void-imports'),
// stdio: 'inherit'
// });
// cp.execSync(`node build-index.mjs`, {
// env: process.env,
// cwd: path.join(__dirname, '..', '..', '/void-imports'),
// stdio: 'inherit'
// });
// console.log('Done injecting void-imports.')
// }
// buildVoidImports()