chore(envrc): add watch_file for pnpm-lock.yaml and pnpm-workspace.yaml#319
Merged
chore(envrc): add watch_file for pnpm-lock.yaml and pnpm-workspace.yaml#319
Conversation
Ensures direnv reloads the environment when dependency lockfile or workspace configuration changes, so the shell stays in sync with project settings such as allowBuilds and strictDepBuilds.
|
Static Code Review 📊 ✅ All quality checks passed! |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the repository’s direnv configuration so developer shells automatically reload when key pnpm workspace/dependency files change.
Changes:
- Add
watch_file pnpm-lock.yamlto triggerdirenvreloads when dependencies change. - Add
watch_file pnpm-workspace.yamlto triggerdirenvreloads when workspace configuration changes.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Adds direnv watch_file entries for pnpm-lock.yaml and pnpm-workspace.yaml so the shell environment reloads when dependencies or workspace security settings change.
Summary by cubic
Teach direnv to watch pnpm-lock.yaml and pnpm-workspace.yaml so the shell reloads when dependencies or workspace settings change. Keeps the environment in sync with pnpm config (e.g., allowBuilds, strictDepBuilds) without manual reloads.
Written for commit 7a3e021. Summary will update on new commits.
PR Summary by Typo
Overview
This PR updates the
.envrcfile to includewatch_filedirectives forpnpm-lock.yamlandpnpm-workspace.yaml. This ensures that the environment is reloaded bydirenvwhen changes occur in these PNPM configuration files, improving development workflow.Key Changes
watch_file pnpm-lock.yamlto.envrc.watch_file pnpm-workspace.yamlto.envrc.Work Breakdown
Linked JIRA Issues
No issues found.
To turn off PR summary, please visit Notification settings.