Repository navigation
Keep Renovate's npm constraint on 11 until npm/cli#9800 is fixed - #20
Merged
Merged
Conversation
Renovate raised the npm tool constraint to ^12.0.0 (#9), which brings back the EALLOWREMOTE failure in lock file maintenance for web/: npm 12 refuses the registry tarball of @tailwindcss/oxide-wasm32-wasi (bundleDependencies) with --package-lock-only. Restore ^11 and limit the tool constraint that the renovate-config manager extracts to versions below 12, so Renovate stops proposing npm 12 until the upstream bug is fixed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Renovate's #9 raised
constraints.npmfrom^11to^12.0.0. That undoes the workaround from #8: lock file maintenance forweb/package-lock.jsonfails again withEALLOWREMOTE, because npm 12 refuses the registry tarball of@tailwindcss/oxide-wasm32-wasi(a package withbundleDependencies) when it runs with--package-lock-only. The upstream bug, npm/cli#9800, is still open; both fix PRs (npm/cli#9818, npm/cli#9819) are unmerged.Change
constraints.npmback to^11.allowedVersions: "<12"for the dependency that raised it. Therenovate-configmanager extracts every entry ofconstraintsinrenovate.jsonas a dependency withdepType: tool-constraint(datasourcenpm, packagenpm), so the rule matches exactly that and leaves the npm packages inpackage.jsonalone.Verification
renovate-config-validator --strictpasses.renovate --platform=local --dry-run=lookuplists no update for the npm tool constraint. With the rule's limit removed, the same run proposes^12.0.0as a major update again.Once npm/cli#9800 is fixed and released, remove the rule and the constraint together. The next lock file maintenance runs on its monthly schedule; to check the fix earlier, tick "Lock file maintenance" under "Awaiting Schedule" in the Dependency Dashboard (#1) after merging.