Skip to content

vue-language-server: 3.2.9 -> 3.3.6 - #537169

Merged
gepbird merged 1 commit into
NixOS:masterfrom
TyceHerrman:vue-language-server-metadata-updater
Jul 4, 2026
Merged

gepbird merged 1 commit into
NixOS:masterfrom
TyceHerrman:vue-language-server-metadata-updater

Conversation

@TyceHerrman

@TyceHerrman TyceHerrman commented Jun 30, 2026 •

Copy link
Copy Markdown
Contributor

Supersedes: #523360

Summary

  • Update vue-language-server from 3.2.9 to 3.3.6.
  • Add a package-local update.sh that reads upstream package.json packageManager and syncs the pnpm recipe metadata.
  • Move the recipe from insecure pnpm 10.34.0 metadata to pnpm 11 metadata required by upstream.

Automating pnpm recipe

updateScript now reads upstream package.json packageManager and syncs pnpm recipe metadata.
This prevents a stale pnpm_10 recipe when upstream requires pnpm 11.

Before:

package.json: packageManager = [email protected]
package.nix: pnpm_10 + fetcherVersion 3

After updateScript:

package.nix: pnpm_11 + nodejs-slim_22 + fetcherVersion 4
hashes refreshed
package builds

pnpm 11 issues

pnpm 11 exposed missing pkg.pr.new integrities in the upstream lockfile.
The recipe patches those exact integrities locally so pnpm verification stays enabled rather than disabling checks.

If that's too much for one PR, I can split the update/build fix and the metadata-sync updater into separate PRs.

Verification

nix-shell maintainers/scripts/update.nix --argstr package vue-language-server --argstr skip-prompt true
nix-build -A vue-language-server --no-out-link
nix eval --raw -f . vue-language-server.version
nix-shell -p shellcheck --run 'shellcheck pkgs/by-name/vu/vue-language-server/update.sh'

Codex was used to help with code implementation and PR drafting, but all work was reviewed and edited by me.

@nixpkgs-ci
nixpkgs-ci Bot requested a review from friedow June 30, 2026 20:18
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 2.status: merge conflict This PR has merge conflicts with the target branch 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jun 30, 2026
@TyceHerrman
TyceHerrman force-pushed the vue-language-server-metadata-updater branch from ed3f103 to 30e3bb8 Compare June 30, 2026 20:36
@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Jun 30, 2026

@gepbird gepbird left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TyceHerrman
TyceHerrman force-pushed the vue-language-server-metadata-updater branch from 30e3bb8 to c78fbd0 Compare July 2, 2026 17:51
@jaredmontoya jaredmontoya mentioned this pull request Jul 3, 2026
2 of 13 tasks
@uncenter

uncenter commented Jul 3, 2026

Copy link
Copy Markdown
Member

Please squash the review feedback commit into the first one so we have a single commit fixing the issue here.

};

patches = [ ./add-pkg-pr-new-integrities.patch ];

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like upstream fixed the issues in vuejs/language-tools@26ceb0c, the commit immediately after release v3.3.6. Doesn't look like there has been a new release yet so we can continue with the patch until the next release maybe?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could fetchpatch that commit instead of vendoring our own patch, but looking at upstream's release cycle they should make a new release in weeks where we can drop this patch, so it doesn't really matter. Plus I don't want to lengthen this by another review cycle when it is broken on stable and actively annoys users.

@TyceHerrman
TyceHerrman force-pushed the vue-language-server-metadata-updater branch from 4ab1675 to c9f655e Compare July 3, 2026 19:00
Assisted-by: Codex (GPT-5.5)
@TyceHerrman
TyceHerrman force-pushed the vue-language-server-metadata-updater branch from c9f655e to 990f3a5 Compare July 3, 2026 19:13
@uncenter

uncenter commented Jul 3, 2026

Copy link
Copy Markdown
Member

Please squash the review feedback commit into the first one so we have a single commit fixing the issue here.

@TyceHerrman what's with the thumb down reaction here? I don't make the rules, those are the Nixpkgs commit conventions: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#commit-conventions.

@TyceHerrman

Copy link
Copy Markdown
Contributor Author

@uncenter - sorry was an accident! my chromium browser (helium) doesn't render emojis right in lockdown mode on macos

@gepbird gepbird left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Diff looks good, binary behaves the same without arguments.

@gepbird
gepbird added this pull request to the merge queue Jul 4, 2026
@gepbird gepbird added the backport release-26.05 Backport PR automatically label Jul 4, 2026
Merged via the queue into NixOS:master with commit 8049018 Jul 4, 2026
27 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Backport failed for release-26.05, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release-26.05
git worktree add -d .worktree/backport-537169-to-release-26.05 origin/release-26.05
cd .worktree/backport-537169-to-release-26.05
git switch --create backport-537169-to-release-26.05
git cherry-pick -x 990f3a5ccaf4fbecdc99c22ecd95764f081de139

@gepbird

gepbird commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Backport: #538319

@TyceHerrman
TyceHerrman deleted the vue-language-server-metadata-updater branch July 4, 2026 12:45
gepbird added a commit to tchfoo/raspi-dotfiles that referenced this pull request Jul 4, 2026
This changes nixos-raspberrypi's branch from main to nixos-unstable
to avoid the buildDTBs eval error.

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb' (2026-05-13)
  → 'github:hercules-ci/flake-parts/17c9d6cdfc60c64f4ee8d306f9bc0b4ccb51481e' (2026-07-01)
• Updated input 'gep-dotfiles':
    'git+https://git.tchfoo.com/gepbird/dotfiles?ref=refs/heads/main&rev=564ffc714a5519fbe196f78185d6aeb999b6604b' (2026-06-13)
  → 'git+https://git.tchfoo.com/gepbird/dotfiles?ref=refs/heads/main&rev=6fb26343823cf0865201fcb27983e75b8f5488da' (2026-07-03)
• Added input 'gep-dotfiles/nixpkgs-patch-stylelint-lsp-fix-build':
    'NixOS/nixpkgs#536260'
• Updated input 'gep-dotfiles/nvim-gep':
    'git+https://git.tchfoo.com/gepbird/nvim?ref=refs/heads/main&rev=36611e8c35563967ee311f5480e786eb1a9631b9' (2026-06-13)
  → 'git+https://git.tchfoo.com/gepbird/nvim?ref=refs/heads/main&rev=133bc0b630df398c78d0d24fa8633e879f2a4105' (2026-07-01)
• Updated input 'gep-dotfiles/nvim-gep/neovim-nightly':
    'github:nix-community/neovim-nightly-overlay/62f5f65a671a990fa809031d64379374e89ef225' (2026-06-13)
  → 'github:nix-community/neovim-nightly-overlay/2b5cf92633caaf2604e7b78d8d16ad92dbb502c6' (2026-06-29)
• Updated input 'gep-dotfiles/nvim-gep/neovim-nightly/neovim-src':
    'github:neovim/neovim/400f2473972898ecfd89ac3c55222ace0cc248dd' (2026-06-12)
  → 'github:neovim/neovim/84cd87908e81da33c8daa5646668939d7ea6afa7' (2026-06-28)
• Added input 'gep-dotfiles/nvim-gep/nixpkgs-patch-stylelint-lsp-fix-build':
    'NixOS/nixpkgs#536260'
• Updated input 'gep-dotfiles/nvim-gep/nixvim':
    'github:nix-community/nixvim/56f95d165580d4c814955798fa408c66d6843069' (2026-06-13)
  → 'github:nix-community/nixvim/78acb50d9aa9cbb5d8e0ac1518d0842a29d70553' (2026-07-01)
• Updated input 'home-manager':
    'github:nix-community/home-manager/5b6f5733726a1b2ccafb5dec6ac4ca7299fad66c' (2026-06-13)
  → 'github:nix-community/home-manager/b885baad531fa3d3beae2ba9a0712d22974d8016' (2026-07-04)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/1a2ea89c917781e88508d9fd2b507f2d2a0e173c' (2026-06-07)
  → 'github:nix-community/nix-index-database/f8ed6cdcb1fd28a6ab7b61f4467a4f67fe2d9074' (2026-07-02)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/6358ff76821101c178e3ab4919a62799bfe3652e' (2026-06-11)
  → 'github:NixOS/nixos-hardware/a9cf7546a938c737b079e738de73934a13de9784' (2026-06-27)
• Updated input 'nixos-raspberrypi':
    'github:nvmd/nixos-raspberrypi/06c6e3513e1ee64b651913193fc6ac38aa4963f5' (2026-05-17)
  → 'github:nvmd/nixos-raspberrypi/19f53ada5ede32d171956f06a842e72016010931' (2026-06-29)
• Updated input 'nixos-raspberrypi/nixpkgs':
    'github:NixOS/nixpkgs/d7a713c0b7e47c908258e71cba7a2d77cc8d71d5' (2026-05-14)
  → 'github:NixOS/nixpkgs/e73de5be04e0eff4190a1432b946d469c794e7b4' (2026-06-26)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9ae611a455b90cf061d8f332b977e387bda8e1ca' (2026-06-10)
  → 'github:NixOS/nixpkgs/65179426c83bb3f6bc14898b42ea1c6f01d374b0' (2026-07-02)
• Updated input 'nixpkgs-patch-ncps-0-10-0':
    'NixOS/nixpkgs#529765'
  → 'NixOS/nixpkgs#529765'
• Updated input 'nixpkgs-patch-nixos-nginx-add-build-time-syntax-validation':
    'NixOS/nixpkgs#474858'
  → 'NixOS/nixpkgs#474858'
• Added input 'nixpkgs-patch-stylelint-lsp-fix-build':
    'NixOS/nixpkgs#536260'
• Added input 'nixpkgs-patch-vue-language-server-fix-build':
    'NixOS/nixpkgs#537169'
• Updated input 'nixpkgs-patcher':
    'github:gepbird/nixpkgs-patcher/5e3b493622367a11ead8d53134d2dd2be88bd168' (2026-06-13)
  → 'github:gepbird/nixpkgs-patcher/d2abed2b94b7955e05b4e2e8a9b8ac45597ecf94' (2026-06-18)
• Updated input 'nur':
    'github:nix-community/NUR/058bd96c478835e243de857c4c0d585364eb2c2d' (2026-06-13)
  → 'github:nix-community/NUR/b1c0055fdc7a24866d9e6a1b65df207c7a373095' (2026-07-04)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/9ed65852b6257fbeae4355bc24ecfea307ca759a' (2026-06-04)
  → 'github:Mic92/sops-nix/f1406619a3884cd5c47992a70b8b35c9c0fcb4c9' (2026-07-04)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. backport release-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants