create-jsc-vite-react-ts 1.2.4 → 1.2.6

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/cli.js CHANGED
@@ -58,6 +58,12 @@ const run = async () => {
58
58
  },
59
59
  });
60
60
 
61
+ // Rename gitignore file
62
+ fs.renameSync(
63
+ path.join(targetDir, "gitignore"),
64
+ path.join(targetDir, ".gitignore"),
65
+ );
66
+
61
67
  // Make files fromthe "scripts" folder executable
62
68
  const scriptsDir = path.join(targetDir, "scripts");
63
69
  if (fs.existsSync(scriptsDir)) {
@@ -99,9 +105,6 @@ const run = async () => {
99
105
  console.log(chalk.bold.green("\n✨ Success! Your project is ready.\n"));
100
106
  console.log(chalk.bold("Next steps:\n"));
101
107
  console.log(chalk.cyan(` cd ${projectName}`));
102
- console.log(chalk.cyan(` git init`));
103
- console.log(chalk.cyan(` git add .`));
104
- console.log(chalk.cyan(` git commit -m "Initial commit"`));
105
108
  console.log(chalk.cyan(` ${packageManager} dev`));
106
109
  console.log();
107
110
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-jsc-vite-react-ts",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "Create a modern React app with TypeScript, Vite, Tailwind CSS, and Vitest",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,21 @@
1
+ # Dependencies
2
+ node_modules
3
+
4
+ # Build output
5
+ dist
6
+ coverage
7
+
8
+ # Logs
9
+ *.log
10
+ yarn-debug.log*
11
+ yarn-error.log*
12
+
13
+ # Environment files
14
+ *.local
15
+
16
+ # OS files
17
+ .DS_Store
18
+
19
+ # Editor
20
+ .vscode/*
21
+ !.vscode/extensions.json
@@ -14,7 +14,8 @@
14
14
  "format": "prettier --write .",
15
15
  "update-version": "./scripts/update-version.sh",
16
16
  "create-tag": "./scripts/create-tag.sh",
17
- "full-tag": "yarn update-version && yarn create-tag"
17
+ "full-tag": "yarn update-version && yarn create-tag",
18
+ "prepare": "git init"
18
19
  },
19
20
  "dependencies": {
20
21
  "react": "^19.2.0",