create-velox-app 0.6.71 → 0.6.73

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # create-velox-app
2
2
 
3
+ ## 0.6.73
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(create): add @veloxts/auth as explicit dependency in auth template
8
+
9
+ ## 0.6.72
10
+
11
+ ### Patch Changes
12
+
13
+ - fix(create): prompt for database and package manager when template is passed
14
+
3
15
  ## 0.6.71
4
16
 
5
17
  ### Patch Changes
package/dist/index.js CHANGED
@@ -175,10 +175,11 @@ async function promptProjectConfig(initialName, initialTemplate, initialDatabase
175
175
  }
176
176
  template = selectedTemplate;
177
177
  }
178
- // Database selection
178
+ // Database selection (prompt unless provided via CLI or running in CI/non-interactive mode)
179
179
  let database = initialDatabase ?? 'sqlite';
180
- // Only show database prompt in interactive mode (when not provided via CLI)
181
- if (!initialDatabase && !initialTemplate) {
180
+ // Only show database prompt if not provided via CLI
181
+ // SKIP_INSTALL is set in smoke tests to skip interactive prompts
182
+ if (!initialDatabase && process.env.SKIP_INSTALL !== 'true') {
182
183
  const databases = getAvailableDatabases();
183
184
  const selectedDatabase = await p.select({
184
185
  message: 'Choose a database',
@@ -198,9 +199,10 @@ async function promptProjectConfig(initialName, initialTemplate, initialDatabase
198
199
  throw new Error(`Database "${database}" is not yet available. Please choose SQLite for now.`);
199
200
  }
200
201
  }
201
- // Package manager selection (only in interactive mode)
202
+ // Package manager selection (prompt unless running in CI/non-interactive mode)
202
203
  let packageManager = detectPackageManager();
203
- if (!initialTemplate) {
204
+ // SKIP_INSTALL is set in smoke tests to skip interactive prompts
205
+ if (process.env.SKIP_INSTALL !== 'true') {
204
206
  const selectedPackageManager = await p.select({
205
207
  message: 'Choose a package manager',
206
208
  initialValue: packageManager,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-velox-app",
3
- "version": "0.6.71",
3
+ "version": "0.6.73",
4
4
  "description": "Project scaffolder for VeloxTS framework",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -20,6 +20,7 @@
20
20
  "@prisma/adapter-better-sqlite3": "7.2.0",
21
21
  "@prisma/client": "7.2.0",
22
22
  "@prisma/client-runtime-utils": "7.2.0",
23
+ "@veloxts/auth": "__VELOXTS_VERSION__",
23
24
  "@veloxts/velox": "__VELOXTS_VERSION__",
24
25
  "bcrypt": "6.0.0",
25
26
  "better-sqlite3": "12.5.0",
@@ -7,4 +7,7 @@ export default defineConfig({
7
7
  clean: true,
8
8
  dts: false,
9
9
  sourcemap: true,
10
+ // Don't bundle dependencies - let Node.js resolve them at runtime
11
+ // This avoids issues with native modules and dynamic requires
12
+ skipNodeModulesBundle: true,
10
13
  });