From 98570309ff5f498a9ee1bd4302d597115dbbbda3 Mon Sep 17 00:00:00 2001 From: CokaKoala <31664583+AdrianGonz97@users.noreply.github.com> Date: Sun, 10 Nov 2024 05:04:06 -0500 Subject: [PATCH] fix: disable preconditions during `create` (#288) * disable preconditions during `create` * changeset --- .changeset/small-queens-press.md | 5 +++++ packages/cli/commands/create.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/small-queens-press.md diff --git a/.changeset/small-queens-press.md b/.changeset/small-queens-press.md new file mode 100644 index 00000000..1e785175 --- /dev/null +++ b/.changeset/small-queens-press.md @@ -0,0 +1,5 @@ +--- +'sv': patch +--- + +fix: disable add-on preconditions during `create` diff --git a/packages/cli/commands/create.ts b/packages/cli/commands/create.ts index 37a5267d..be255a5e 100644 --- a/packages/cli/commands/create.ts +++ b/packages/cli/commands/create.ts @@ -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;