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.
- package/dist/create-app.js +1 -1
- package/package.json +1 -1
- package/src/create-app.ts +1 -1
package/dist/create-app.js
CHANGED
|
@@ -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
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`)
|