test(CLI): add another sandboxed test (with options inverted)
This commit is contained in:
@@ -105,16 +105,21 @@ export async function typescriptStarter(
|
||||
]);
|
||||
spinner5.succeed();
|
||||
|
||||
const spinner6 = ora('Updating README.md').start();
|
||||
const spinner6 = ora('Creating README.md').start();
|
||||
renameSync(
|
||||
join(projectPath, 'README-starter.md'),
|
||||
join(projectPath, 'README.md')
|
||||
);
|
||||
await replace({
|
||||
files: join(projectPath, 'README.md'),
|
||||
from: 'package-name',
|
||||
from: '[package-name]',
|
||||
to: projectName
|
||||
});
|
||||
await replace({
|
||||
files: join(projectPath, 'README.md'),
|
||||
from: '[description]',
|
||||
to: description
|
||||
});
|
||||
spinner6.succeed();
|
||||
|
||||
if (!domDefinitions) {
|
||||
|
||||
Reference in New Issue
Block a user