create-fluxstack 1.0.18 → 1.0.19
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/create-fluxstack.ts +117 -1
- package/package.json +1 -1
package/create-fluxstack.ts
CHANGED
|
@@ -62,7 +62,6 @@ program
|
|
|
62
62
|
'tsconfig.json',
|
|
63
63
|
'vite.config.ts',
|
|
64
64
|
'.env.example', // ✅ Use .env.example as template
|
|
65
|
-
'.gitignore', // ✅ Git ignore file for proper repository setup
|
|
66
65
|
'CLAUDE.md', // ✅ Project instructions for AI assistants
|
|
67
66
|
'README.md'
|
|
68
67
|
]
|
|
@@ -76,6 +75,123 @@ program
|
|
|
76
75
|
}
|
|
77
76
|
}
|
|
78
77
|
|
|
78
|
+
// Generate .gitignore using template (instead of copying)
|
|
79
|
+
const gitignoreContent = `# Dependencies
|
|
80
|
+
node_modules/
|
|
81
|
+
.pnp
|
|
82
|
+
.pnp.js
|
|
83
|
+
|
|
84
|
+
# Production builds
|
|
85
|
+
/dist
|
|
86
|
+
/build
|
|
87
|
+
/.next/
|
|
88
|
+
/out/
|
|
89
|
+
|
|
90
|
+
# Environment variables
|
|
91
|
+
.env
|
|
92
|
+
.env.local
|
|
93
|
+
.env.development.local
|
|
94
|
+
.env.test.local
|
|
95
|
+
.env.production.local
|
|
96
|
+
|
|
97
|
+
# Logs
|
|
98
|
+
npm-debug.log*
|
|
99
|
+
yarn-debug.log*
|
|
100
|
+
yarn-error.log*
|
|
101
|
+
lerna-debug.log*
|
|
102
|
+
.pnpm-debug.log*
|
|
103
|
+
|
|
104
|
+
# Runtime data
|
|
105
|
+
pids
|
|
106
|
+
*.pid
|
|
107
|
+
*.seed
|
|
108
|
+
*.pid.lock
|
|
109
|
+
|
|
110
|
+
# Coverage directory used by tools like istanbul
|
|
111
|
+
coverage/
|
|
112
|
+
*.lcov
|
|
113
|
+
|
|
114
|
+
# nyc test coverage
|
|
115
|
+
.nyc_output
|
|
116
|
+
|
|
117
|
+
# Dependency directories
|
|
118
|
+
jspm_packages/
|
|
119
|
+
|
|
120
|
+
# TypeScript cache
|
|
121
|
+
*.tsbuildinfo
|
|
122
|
+
|
|
123
|
+
# Optional npm cache directory
|
|
124
|
+
.npm
|
|
125
|
+
|
|
126
|
+
# Optional eslint cache
|
|
127
|
+
.eslintcache
|
|
128
|
+
|
|
129
|
+
# Optional stylelint cache
|
|
130
|
+
.stylelintcache
|
|
131
|
+
|
|
132
|
+
# Microbundle cache
|
|
133
|
+
.rpt2_cache/
|
|
134
|
+
.rts2_cache_cjs/
|
|
135
|
+
.rts2_cache_es/
|
|
136
|
+
.rts2_cache_umd/
|
|
137
|
+
|
|
138
|
+
# Optional REPL history
|
|
139
|
+
.node_repl_history
|
|
140
|
+
|
|
141
|
+
# Output of 'npm pack'
|
|
142
|
+
*.tgz
|
|
143
|
+
|
|
144
|
+
# Yarn Integrity file
|
|
145
|
+
.yarn-integrity
|
|
146
|
+
|
|
147
|
+
# parcel-bundler cache (https://parceljs.org/)
|
|
148
|
+
.cache
|
|
149
|
+
.parcel-cache
|
|
150
|
+
|
|
151
|
+
# Next.js build output
|
|
152
|
+
.next
|
|
153
|
+
|
|
154
|
+
# Nuxt.js build / generate output
|
|
155
|
+
.nuxt
|
|
156
|
+
dist
|
|
157
|
+
|
|
158
|
+
# Storybook build outputs
|
|
159
|
+
.out
|
|
160
|
+
.storybook-out
|
|
161
|
+
|
|
162
|
+
# Temporary folders
|
|
163
|
+
tmp/
|
|
164
|
+
temp/
|
|
165
|
+
|
|
166
|
+
# Editor directories and files
|
|
167
|
+
.vscode/*
|
|
168
|
+
!.vscode/extensions.json
|
|
169
|
+
.idea
|
|
170
|
+
*.suo
|
|
171
|
+
*.ntvs*
|
|
172
|
+
*.njsproj
|
|
173
|
+
*.sln
|
|
174
|
+
*.sw?
|
|
175
|
+
|
|
176
|
+
# OS generated files
|
|
177
|
+
.DS_Store
|
|
178
|
+
.DS_Store?
|
|
179
|
+
._*
|
|
180
|
+
.Spotlight-V100
|
|
181
|
+
.Trashes
|
|
182
|
+
ehthumbs.db
|
|
183
|
+
Thumbs.db
|
|
184
|
+
|
|
185
|
+
# FluxStack specific
|
|
186
|
+
uploads/
|
|
187
|
+
public/uploads/
|
|
188
|
+
.fluxstack/
|
|
189
|
+
|
|
190
|
+
# Bun
|
|
191
|
+
bun.lockb
|
|
192
|
+
`
|
|
193
|
+
writeFileSync(join(projectPath, '.gitignore'), gitignoreContent)
|
|
194
|
+
|
|
79
195
|
// Create package.json from template
|
|
80
196
|
const packageJsonPath = join(projectPath, 'package.json')
|
|
81
197
|
const templatePath = join(import.meta.dir, 'package-template.json')
|