-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bun ci
as an alias of bun install --frozen-lockfile
#5283
Comments
I believe this already exists in Bun as an option:
From the docs:
|
Could you make |
im getting error
when trying to execute it in my github actions like this |
That would happen with npm ci too - both fail with an error if your lockfile doesn't match package.json. |
Lots of CI scripts already use |
make it please, it makes sense |
Any time plan for this feature? |
bun ci
Clean Install Subcommandbun ci
as an alias of bun install --frozen-lockfile
yeah... bun install --frozen-lockfile is long af why not just bun ci its so short and memorable |
+1 |
Just write a makefile |
What is the problem this feature would solve?
NPM has a command,
npm ci
, that installs the exact packages in the lockfile for reproducible builds. Bun's command,bun install --frozen-lockfile
, is much more verbose, is less well documented, requires adjustment of muscle memory, and makes migration slightly harder.What is the feature you are proposing to solve the problem?
A new subcommand,
bun ci
, which is just an alias forbun install --frozen-lockfile
.What alternatives have you considered?
bun install
could do a clean install by default.The text was updated successfully, but these errors were encountered: