create-aptos-dapp
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -31,3 +31,3 @@ import { green, bold, white } from "kolorist"; | ||
const write = async (file, content) => { | ||
const targetPath = path.join(targetDirectory, file); | ||
const targetPath = path.join(targetDirectory, renameFiles[file] ?? file); | ||
if (content) { | ||
@@ -40,2 +40,5 @@ await fs.writeFile(targetPath, content); | ||
}; | ||
const renameFiles = { | ||
_gitignore: ".gitignore", | ||
}; | ||
await Promise.all(files | ||
@@ -42,0 +45,0 @@ .filter((f) => f !== ".DS_Store" && |
{ | ||
"name": "create-aptos-dapp", | ||
"description": "a starter kit for dapp developers to easily bootstrap a dapp on the Aptos network", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "author": "aptoslabs.com", |
Sorry, the diff of this file is not supported yet
455589
207
7593