chore(new-design): Include banner
This commit is contained in:
parent
93de1d698f
commit
c13adff8f1
3 changed files with 15 additions and 4 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue