Repository navigation
Conversation
This was referenced Aug 18, 2026
prek
|
zanieb
pushed a commit
that referenced
this pull request
Aug 18, 2026
The WebAssembly test and npm publication jobs select `node-version: 24`, so the Node.js and bundled `npm` versions can change between runs without a workflow change. Pin both selectors to `24.19.0`, keeping the existing Node major and publication permissions. The existing Renovate GitHub Actions manager continues to track these inputs. Related: #27838, #27839, and #27844 pin the playground runtimes; #27842 covers the `prek`-managed runtime. astral-sh/packse#326 makes the corresponding exact Node.js 24 pin for formatter CI. Co-authored-by: zaniebot <[email protected]>
zanieb
pushed a commit
that referenced
this pull request
Aug 19, 2026
The playground workflows disable dependency lifecycle scripts, but ordinary local installs in the playground, its API, and the ty benchmark project still enable them. Set `ignore-scripts` in each project's `.npmrc` so the same default applies outside CI, while preserving the existing seven-day release-age policy. Because `ignore-scripts` also suppresses first-party pre/post hooks, the playground's `build`, `dev:build`, and `start` commands invoke their required WASM preparation explicitly. The datastore instructions now install from the API lockfile and invoke its local Wrangler instead of allowing `npx` to resolve a separate dependency tree. Related: astral-sh/ruff-vscode#1151 and astral-sh/ty-vscode#525 apply the same install-script default to the editor extensions. #27844 enforces the cooldown-supporting `npm` floor, #27842 hardens the native `prek` formatter environment, and #27838 locks the playground deployment toolchain. --------- Co-authored-by: zaniebot <[email protected]>
|
This branch has not been deployed
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.
The YAML hook already uses a frozen
[email protected]revision, but its Node/npm installation policy is implicit, and the README generator fetches[email protected]throughnpx. Keep both versions in nativeprekhook environments, requireprek==0.4.13, and pin managed Node to24.19.0with Renovate updates limited to Node 24. Configure frozen revisions and a seven-day tag cooldown forprek update, and applynpm_config_ignore_scripts=trueandnpm_config_min_release_age=7in CI and documented contributor shells. The README generator passes the same policy to project-lockedprek exec prettier-readmes; its frozen3.8.3alias is invoked explicitly and updated deliberately. This freezes hook revisions, not the full transitive npm dependency tree.Related: astral-sh/ty#4314 applies the matching native
prekpolicy. astral-sh/docstring-adder#236 removes an unnecessaryprettierhook instead. astral-sh/uv#21193 uses a separate lockednpmtoolchain for its direct formatter invocations, and #27837 sets the install-script defaults for Ruff's other JavaScript projects. #27843 separately manages the documentation build through a dependency group.