-
Notifications
You must be signed in to change notification settings - Fork 45
[osprey-ui] migrate from npm to pnpm via Corepack #252
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
haileyok
wants to merge
15
commits into
main
Choose a base branch
from
hailey/pnpm-migration
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
15 commits
Select commit
Hold shift + click to select a range
4305f25
chore(osprey_ui): pin pnpm 10 via Corepack packageManager field
haileyok b6e0e41
chore(osprey_ui): swap .npmrc to pnpm peer-dep flags
haileyok 79d611d
chore(osprey_ui): pin transitives via pnpm.overrides for strict parity
haileyok 840d8a7
chore(osprey_ui): drop package-lock.json (replaced by pnpm-lock.yaml)
haileyok 19f50e2
chore(osprey_ui): commit pnpm-lock.yaml as new source of truth
haileyok e4381fa
chore(osprey_ui): switch Dockerfile to pnpm via Corepack
haileyok ebea9b2
ci(osprey_ui): migrate ui-quality job from npm to pnpm
haileyok 5426a12
docs: replace npm references with pnpm throughout
haileyok d6b5807
chore(osprey_ui): set node-linker=hoisted for type-resolution parity
haileyok b14a188
chore(osprey_ui): drop pnpm migration helper script
haileyok 56903ef
docs(osprey_ui): explain node-linker=hoisted rationale in .npmrc
haileyok 2ac73ea
chore(osprey_ui): drop pnpm.overrides; lockfile is the parity contract
haileyok 0d1ea2d
docs: update AGENTS.md after dropping pnpm.overrides
haileyok 5d0a0b5
Merge branch 'main' into hailey/pnpm-migration
haileyok 166c854
chore(osprey_ui): refresh pnpm-lock.yaml against current main npm bas…
haileyok 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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ This guide provides comprehensive instructions for setting up a development envi | |
| - **[Python](https://www.python.org/) 3.11 or higher** (check with `python --version`) | ||
| - **[Git](https://git-scm.com/)** for version control | ||
| - **[uv](https://docs.astral.sh/uv/)** for Python package management | ||
| - **[npm](https://nodejs.org/en/download)** | ||
| - **[Node.js](https://nodejs.org/en/download/) 18+** for the UI (Corepack ships with Node and auto-resolves pnpm from `osprey_ui/package.json`'s `packageManager` field — no separate pnpm install needed) | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is corepack what we want? im unfamiliar with it, though it does seem useful from my brief understanding |
||
|
|
||
| ## Project Setup | ||
|
|
||
|
|
||
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,7 @@ | ||
| legacy-peer-deps=true | ||
| auto-install-peers=true | ||
| strict-peer-dependencies=false | ||
| # hoisted layout: TypeScript needs a single cytoscape module identity. | ||
| # The default isolated layout exposes both cytoscape's bundled types and | ||
| # the older @types/cytoscape (pulled in by @types/cytoscape-dagre) and the | ||
| # two definitions collide at compile time. | ||
| node-linker=hoisted |
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
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.
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.
should probably update this at some point, but that can happen later