Skip to content

Commit

Permalink
fix: disable preconditions during create (#288)
Browse files Browse the repository at this point in the history
* disable preconditions during `create`

* changeset
  • Loading branch information
AdrianGonz97 authored Nov 10, 2024
1 parent 4aeaa7d commit 9857030
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/small-queens-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'sv': patch
---

fix: disable add-on preconditions during `create`
2 changes: 1 addition & 1 deletion packages/cli/commands/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ async function createProject(cwd: string, options: Options) {
if (options.addOns) {
// `runAddCommand` includes installing dependencies
const { nextSteps, packageManager: pm } = await runAddCommand(
{ cwd: projectPath, install: options.install, preconditions: true, community: [] },
{ cwd: projectPath, install: options.install, preconditions: false, community: [] },
[]
);
packageManager = pm;
Expand Down

0 comments on commit 9857030

Please sign in to comment.