create-evikit 2.2.2 → 2.2.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.
@@ -18,12 +18,7 @@ const target = resolve(process.cwd(), name);
18
18
  if (existsSync(target)) {
19
19
  mkdirSync(target, { recursive: true });
20
20
  }
21
- for (const file of [
22
- ...template,
23
- ".gitignore",
24
- "eslint.config.js",
25
- "tsconfig.json",
26
- ]) {
21
+ for (const file of [...template, "eslint.config.js", "tsconfig.json"]) {
27
22
  const path = join(target, file);
28
23
  mkdirSync(dirname(path), { recursive: true });
29
24
  writeFileSync(
@@ -37,6 +32,21 @@ for (const file of [
37
32
 
38
33
  // ---
39
34
 
35
+ writeFileSync(
36
+ join(target, ".gitignore"),
37
+ `
38
+ node_modules
39
+ /dist
40
+ *~
41
+ *swp
42
+ *.mo
43
+ .env
44
+ package-lock.json
45
+ `.trimStart(),
46
+ );
47
+
48
+ // ---
49
+
40
50
  writeFileSync(
41
51
  join(target, "src/lib/index.js"),
42
52
  `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-evikit",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "type": "module",
5
5
  "bin": "bin/create-evikit.js",
6
6
  "scripts": {