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

fix: add missing fields to package-lock.json and bump version #188

Merged
merged 3 commits into from
Jun 17, 2024

Conversation

xzfc
Copy link
Contributor

@xzfc xzfc commented Jun 15, 2024

Context: I am packaging qdrant-web-ui for Nixpkgs.

Problem: some dependencies in our package-lock.json lack of the resolved and integrity fields. This is probably caused by a bug in npm (npm/cli#4263, npm/cli#6301). Nix (and probably other sandboxed builders without internet access) relies on these fields for fetching/caching the dependencies.

The solution in this PR: run npm-lockfile-fix to add missing fields.

Possible alternative solution: delete package-lock.json and regenerate it from scratch, as proposed by this comment. The drawback is that it will bump a lot of dependencies versions. Not sure if we want to do this right now.


Other changes in this PR:

  • Run npm audit fix to avoid CI failing, see the log.
  • Bump version 0.1.27 -> 0.1.28.

@generall generall merged commit e72cc75 into master Jun 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants