create-zhx-monorepo 0.1.2 → 0.1.3

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
@@ -63,6 +63,13 @@ async function main() {
63
63
  execSync(`git remote add origin ${gitRemote}`, { stdio: "ignore" });
64
64
  }
65
65
 
66
+ const gitignoreSrc = path.join(projectPath, "gitignore");
67
+ const gitignoreDest = path.join(projectPath, ".gitignore");
68
+
69
+ if (fs.existsSync(gitignoreSrc)) {
70
+ fs.renameSync(gitignoreSrc, gitignoreDest);
71
+ }
72
+
66
73
  console.log(green("✅ Project ready!"));
67
74
  console.log();
68
75
  console.log("Next steps:");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-zhx-monorepo",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Create a ZHX monorepo with one command",
5
5
  "bin": {
6
6
  "create-zhx-monorepo": "bin/index.js"
@@ -0,0 +1,43 @@
1
+ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2
+
3
+ # Dependencies
4
+ node_modules
5
+ .pnp
6
+ .pnp.js
7
+
8
+ # Local env files
9
+ .env
10
+ .env.local
11
+ .env.development.local
12
+ .env.test.local
13
+ .env.production.local
14
+
15
+ # Testing
16
+ coverage
17
+
18
+ # Turbo
19
+ .turbo
20
+
21
+ # Vercel
22
+ .vercel
23
+
24
+ # Build Outputs
25
+ .next/
26
+ out/
27
+ build
28
+ dist
29
+
30
+
31
+ # Debug
32
+ npm-debug.log*
33
+ logs
34
+
35
+ # Misc
36
+ .DS_Store
37
+ *.pem
38
+
39
+ # Prisma
40
+ /generated/prisma
41
+
42
+ # others
43
+ .history