kaddidlehopper 0.7.3 → 0.7.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli.ts +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaddidlehopper",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "Create TanStack Start applications for Netlify",
5
5
  "bin": "./dist/index.js",
6
6
  "type": "module",
package/src/cli.ts CHANGED
@@ -193,7 +193,12 @@ export function cli() {
193
193
  'pnpm'
194
194
  console.log(chalk.gray(`⟳ Installing dependencies with ${pm}...`))
195
195
  try {
196
- execSync(`${pm} install`, { cwd: targetDir, stdio: 'inherit' })
196
+ let cmd = `${pm} install`
197
+ if (pm === 'npm') {
198
+ cmd += ' --no-audit --no-fund --prefer-offline'
199
+ console.log(chalk.gray(` ${cmd}`))
200
+ }
201
+ execSync(cmd, { cwd: targetDir, stdio: 'inherit' })
197
202
  console.log(chalk.green('✓ Dependencies installed'))
198
203
  } catch {
199
204
  console.error(