create-thunderous 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/index.js CHANGED
@@ -162,7 +162,8 @@ function copyDirectoryContents(sourceDir, targetDir) {
162
162
 
163
163
  for (const entry of fs.readdirSync(sourceDir, { withFileTypes: true })) {
164
164
  const sourcePath = path.join(sourceDir, entry.name);
165
- const targetPath = path.join(targetDir, entry.name);
165
+ const targetName = entry.name === 'gitignore' ? '.gitignore' : entry.name;
166
+ const targetPath = path.join(targetDir, targetName);
166
167
 
167
168
  if (entry.isDirectory()) {
168
169
  fs.cpSync(sourcePath, targetPath, { recursive: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-thunderous",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "A CLI tool to scaffold a new project using the Thunderous stack.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -0,0 +1,3 @@
1
+ node_modules
2
+ dist
3
+ *.tmp.*