nextjs-hackathon-stack 0.1.6 → 0.1.7

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/dist/index.js CHANGED
@@ -64,7 +64,10 @@ function copyDir(src, dest, vars) {
64
64
  mkdirSync(dest, { recursive: true });
65
65
  for (const entry of readdirSync(src)) {
66
66
  const srcPath = join(src, entry);
67
- const destEntry = entry.endsWith(".tmpl") ? entry.slice(0, -5) : entry;
67
+ let destEntry = entry.endsWith(".tmpl") ? entry.slice(0, -5) : entry;
68
+ if (entry === "_gitignore" || entry === "_env.example") {
69
+ destEntry = "." + entry.slice(1);
70
+ }
68
71
  const destPath = join(dest, destEntry);
69
72
  const stat = statSync(srcPath);
70
73
  if (stat.isDirectory()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextjs-hackathon-stack",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Scaffold a full-stack Next.js hackathon starter",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,27 @@
1
+ # Dependencies
2
+ node_modules/
3
+ .pnp
4
+ .pnp.js
5
+
6
+ # Next.js
7
+ .next/
8
+ out/
9
+ build/
10
+
11
+ # Env — NEVER commit real keys
12
+ .env.local
13
+ .env.*.local
14
+ # .env.example is committed intentionally
15
+
16
+ # Testing
17
+ coverage/
18
+ playwright-report/
19
+ test-results/
20
+
21
+ # Misc
22
+ .DS_Store
23
+ *.pem
24
+ npm-debug.log*
25
+
26
+ # Drizzle
27
+ drizzle/
File without changes