Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,10 @@ jobs:
# The `npm ci` in the other jobs only checks the dependency tree, so drift in
# the lockfile's own metadata (name, version, bin, engines) passes it silently.
# `--package-lock-only` needs no install, so this job does not run `npm ci`.
# It installs nothing, so `prepare` would call a patch-package that is not there.
- name: Check package-lock.json is up to date
run: |
npm install --package-lock-only --no-audit --no-fund
npm install --package-lock-only --no-audit --no-fund --ignore-scripts
git diff --exit-code -- package-lock.json || {
echo "::error file=package-lock.json::package-lock.json is out of date; run \`npm install\` and commit the result. Use Node 24 as \`engines\` requires: older npm keeps optional peer entries this npm drops, so the lockfile it writes fails here."
exit 1
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
# docker run --rm -v "$PWD:/src:ro" -w /src nixos/nix nix build 'path:/src#default' --no-link --extra-experimental-features 'nix-command flakes' 2>&1
# or in one:
# hash=$(docker run --rm -v "$PWD:/src:ro" -w /src nixos/nix nix build 'path:/src#default' --no-link --extra-experimental-features 'nix-command flakes' 2>&1 | sed -n 's/.*got: *//p' | tail -1) && test -n "$hash" && sed -i "s|npmDepsHash = \".*\";|npmDepsHash = \"$hash\";|" flake.nix
npmDepsHash = "sha256-rVc08aMmK27aqKQMzt9fO8YLJYVTPh+lUigbHeIaYv0=";
npmDepsHash = "sha256-AMR0rqtdhfLrWIfG031xAJtTfMpZ1NQQ1SR9vtY+YHY=";

nativeBuildInputs = [ pkgs.makeWrapper ];
postInstall = ''
Expand Down
Loading
Loading