Skip to content
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

v9.0.5 release ignores "frozen-lockfile" flag #7991

Closed
2 of 4 tasks
jekanik opened this issue Apr 22, 2024 · 4 comments · Fixed by #8006
Closed
2 of 4 tasks

v9.0.5 release ignores "frozen-lockfile" flag #7991

jekanik opened this issue Apr 22, 2024 · 4 comments · Fixed by #8006

Comments

@jekanik
Copy link

jekanik commented Apr 22, 2024

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

No response

Which area(s) of pnpm are affected? (leave empty if unsure)

Lockfile

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

npm i -g pnpm@9.0.5
pnpm install --frozen-lockfile

Describe the Bug

Lockfile is updated even if "frozen-lockfile" flag is provided.

Expected Behavior

Lockfile is not changed

Which Node.js version are you using?

18.19.0

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

@zkochan
Copy link
Member

zkochan commented Apr 22, 2024

We'll fix it.

It isn't an urgent issue as --frozen-lockfile happens mostly in CI envs, where an update to the lockfile will just be ignored.

@jekanik
Copy link
Author

jekanik commented Apr 22, 2024

@zkochan thanks for response.
In some Teamcity builds we analyse used dependencies by parsing lockfile. And this scenario is started to fall after update to 9.0.5 :)
For now, we rollbacked to 9.0.4.

@AndreaPontrandolfo
Copy link

This issue is also present in 9.0.4 and is breaking our builds.
We had to revert back to 8.x.x.

@zkochan
Copy link
Member

zkochan commented Apr 24, 2024

🚢 9.0.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants