Skip to content

Commit 9857030

Browse files
authored
fix: disable preconditions during create (#288)
* disable preconditions during `create` * changeset
1 parent 4aeaa7d commit 9857030

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/small-queens-press.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'sv': patch
3+
---
4+
5+
fix: disable add-on preconditions during `create`

packages/cli/commands/create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ async function createProject(cwd: string, options: Options) {
161161
if (options.addOns) {
162162
// `runAddCommand` includes installing dependencies
163163
const { nextSteps, packageManager: pm } = await runAddCommand(
164-
{ cwd: projectPath, install: options.install, preconditions: true, community: [] },
164+
{ cwd: projectPath, install: options.install, preconditions: false, community: [] },
165165
[]
166166
);
167167
packageManager = pm;

0 commit comments

Comments
 (0)