create-tigra 1.0.3 → 1.0.4
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/create-tigra.js +7 -2
- package/package.json +1 -1
package/bin/create-tigra.js
CHANGED
|
@@ -223,8 +223,13 @@ program
|
|
|
223
223
|
// Always include the root
|
|
224
224
|
if (!relativePath) return true;
|
|
225
225
|
|
|
226
|
-
// Special case:
|
|
227
|
-
if (basename === '.env
|
|
226
|
+
// Special case: ALWAYS include .env.example
|
|
227
|
+
if (basename === '.env.example') {
|
|
228
|
+
return true;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
// Special case: exclude .env (but not .env.example which was already handled)
|
|
232
|
+
if (basename === '.env') {
|
|
228
233
|
return false;
|
|
229
234
|
}
|
|
230
235
|
|