Skip to content

Commit

Permalink
fix(create-abell): avoid package.json script overrides in non-bun pac…
Browse files Browse the repository at this point in the history
…kage managers
  • Loading branch information
saurabhdaware committed Oct 29, 2023
1 parent 04661a5 commit 00cea98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/create-abell/src/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ async function create(
name: projectDisplayName,
scripts: {
dev:
installCommand === 'bun install' ? 'bunx --bun abell dev' : 'abell dev',
installCommand === 'bun install' ? 'bunx --bun abell dev' : undefined,
generate:
installCommand === 'bun install'
? 'bunx --bun abell generate'
: 'abell generate'
: undefined
}
});

Expand Down

0 comments on commit 00cea98

Please sign in to comment.