create-tsrouter-app 0.9.1 → 0.9.2

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.
@@ -306,7 +306,7 @@ export async function createApp(options, { silent = false, environment, }) {
306
306
  }
307
307
  if (shadcnComponents.size > 0) {
308
308
  s?.start(`Installing shadcn components (${Array.from(shadcnComponents).join(', ')})...`);
309
- await environment.execute('npx', ['shadcn@canary', 'add', ...shadcnComponents], resolve(targetDir));
309
+ await environment.execute('npx', ['shadcn@canary', 'add', '--force', ...shadcnComponents], resolve(targetDir));
310
310
  s?.stop(`Installed additional shadcn components`);
311
311
  }
312
312
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-tsrouter-app",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Tanstack Application Builder",
5
5
  "bin": "./dist/index.js",
6
6
  "type": "module",
package/src/create-app.ts CHANGED
@@ -487,7 +487,7 @@ export async function createApp(
487
487
  )
488
488
  await environment.execute(
489
489
  'npx',
490
- ['shadcn@canary', 'add', ...shadcnComponents],
490
+ ['shadcn@canary', 'add', '--force', ...shadcnComponents],
491
491
  resolve(targetDir),
492
492
  )
493
493
  s?.stop(`Installed additional shadcn components`)