-
-
Notifications
You must be signed in to change notification settings - Fork 0
fix(check-languages): enforce the current policy, not the one it replaced #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
hyperpolymath
wants to merge
3
commits into
main
Choose a base branch
from
fix/language-checker-current-policy
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: hyperpolymath/candy-crash
Length of output: 4180
Remove the conflicting Deno package guidance.
When
package.jsonchanges are staged,.husky/pre-commitrecommendsdeno.json, whilescripts/check-languages.shdeclares Bun as tier 1. Align the guidance and scope anyfrontend/deno.jsongrandfathering explicitly.🤖 Prompt for AI Agents
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: hyperpolymath/candy-crash
Length of output: 9687
🌐 Web query:
Bun documentation package.json dependencies node_modules bun install💡 Result:
Bun functions as a fast, Node.js-compatible package manager that works with existing package.json files [1][2][3]. When you run bun install, it reads the dependencies, devDependencies, and optionalDependencies listed in your package.json, installs them into a node_modules directory, and generates a bun.lock lockfile to ensure reproducible builds [1][2][4]. Key aspects of how Bun manages these components include: Installation Strategies: Bun supports two primary strategies for organizing packages within node_modules [1][2]: 1. Hoisted (Default): Similar to npm, this approach hoists shared dependencies to the root node_modules directory to save space and reduce duplication [5][6]. 2. Isolated: Similar to pnpm, this creates strict dependency isolation by using a central store in node_modules/.bun/ with symlinks in the top-level node_modules, preventing issues with "phantom dependencies" [1][2]. Efficiency and Performance: - Caching: Bun stores package manifests in a highly efficient binary format and caches downloaded packages, allowing it to skip redundant network requests and parsing [4][7]. - Lazy Loading: When a bun.lock file exists and the package.json remains unchanged, Bun performs lazy installation, downloading only missing packages rather than re-verifying the entire tree [1][2]. - Hardlinking: On supported systems (Linux/Windows), Bun uses hardlinks to speed up installs and minimize disk usage [3]. Runtime Behavior: - Auto-install: If you run a file using the bun runtime without a node_modules folder, Bun can auto-install imported packages on the fly into a global cache, effectively bypassing the need to run an explicit install command [8]. - Module Resolution: Bun implements the standard Node.js module resolution algorithm, scanning up the file system for node_modules and respecting the exports and main fields in a package's package.json to determine the correct entrypoint [9]. For managing your project, common commands include bun install to install dependencies, bun add to add new ones to package.json, and bun why to inspect the dependency chain that caused a specific package to be installed [10][3][11].
Citations:
Do not classify Bun project files as legacy.
Bun uses
package.jsonandnode_modules. These conditions therefore warn on valid Bun projects. Restrict the checks to disallowed package-manager usage.WARNINGSdoes not fail the script because this branch exits with status 0.🤖 Prompt for AI Agents
Source: MCP tools