1
0
Fork 0

chore(new-design): Include banner

This commit is contained in:
joostdecock 2022-12-30 16:38:55 +01:00
parent 93de1d698f
commit c13adff8f1
3 changed files with 15 additions and 4 deletions

View file

@ -51,6 +51,17 @@ const repo = {
*/
const log = process.stdout
// Step 0: Avoid symlink so Windows users don't complain
const copyThese = [
{
from: ['scripts', 'banner.mjs'],
to: ['packages', 'new-design', 'lib', 'banner.mjs'],
},
]
for (const cp of copyThese) {
fs.copyFile(path.join(repo.path, ...cp.from), path.join(repo.path, ...cp.to), (err) => null)
}
// Step 1: Generate main README file from template
log.write(chalk.blueBright('Generating out main README file...'))
fs.writeFileSync(