|
|
@ -61,9 +61,9 @@ const configFlat = (name) => ({
|
|
|
|
for (const name of ['plugins', 'modules']) {
|
|
|
|
for (const name of ['plugins', 'modules']) {
|
|
|
|
if (!fs.existsSync(path.resolve(process.cwd(), name))) {
|
|
|
|
if (!fs.existsSync(path.resolve(process.cwd(), name))) {
|
|
|
|
fs.mkdirSync(path.resolve(process.cwd(), name));
|
|
|
|
fs.mkdirSync(path.resolve(process.cwd(), name));
|
|
|
|
// Write an empty file to make eslint happy
|
|
|
|
|
|
|
|
fs.writeFileSync(path.resolve(process.cwd(), name, 'nop.ts'), 'export default {};\n');
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Write an empty file to make eslint happy
|
|
|
|
|
|
|
|
fs.writeFileSync(path.resolve(process.cwd(), name, 'nop.ts'), 'export default {};\n');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const modules = [
|
|
|
|
const modules = [
|
|
|
|