Skip to content

Commit c18bcf6

Browse files
committed
chore: remove CHANGELOG.md and reset version during clean-up
1 parent 25aa9a5 commit c18bcf6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/init.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function deleteFolderRecursive(path: any) {
5252
}
5353

5454
// Note: These should all be relative to the project root directory
55-
const rmDirs = ['.git', 'tools'];
55+
const rmDirs = ['.git', 'tools', 'CHANGELOG.md'];
5656
const rmFiles = ['.all-contributorsrc', '.gitattributes'];
5757
const modifyFiles = [
5858
'LICENSE',
@@ -146,6 +146,8 @@ function finalize() {
146146
['colors', 'prompt', 'replace-in-file', 'ts-node'].forEach((dep) => {
147147
delete pkg.devDependencies[dep];
148148
});
149+
150+
pkg.version = "0.1.0";
149151

150152
writeFileSync(jsonPackage, JSON.stringify(pkg, null, 2));
151153
console.log(green('Postinstall script has been removed'));

0 commit comments

Comments
 (0)