create-jsc-vite-react-ts 1.2.3 → 1.2.5
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 +6 -0
- package/package.json +1 -1
- package/template/gitignore +21 -0
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)) {
|
package/package.json
CHANGED
|
@@ -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
|