Skip to content

Build borsh package first, then build anchor package - #2306

Merged
Henry-E merged 4 commits into
otter-sec:masterfrom
Henry-E:add-borsh-to-build
Dec 7, 2022
Merged

Henry-E merged 4 commits into
otter-sec:masterfrom
Henry-E:add-borsh-to-build

Conversation

@Henry-E

@Henry-E Henry-E commented Dec 7, 2022

Copy link
Copy Markdown

Essentially you can't build anchor without first building the borsh package it depends on because of something to do with how the yarn monorepo works? If there's a better way to automatically build sibling package dependencies in yarn monorepos please let me know because it feels like kind of a hack to just add this extra command to the yarn build:node command of the anchor package. It works though!

@vercel

vercel Bot commented Dec 7, 2022

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@Henry-E Henry-E changed the title Add build borsh package to yarn build anchor package Build borsh package first, then build anchor package Dec 7, 2022
@Henry-E
Henry-E merged commit 7d7747c into otter-sec:master Dec 7, 2022
akash-osec pushed a commit to akash-osec/anchor that referenced this pull request Mar 25, 2026
* Add build borsh package to yarn build anchor package

* update changelog with rsh stuff; clean up full stops

* make it even clearer in the changelog

* missing full stop

Co-authored-by: henrye <henry@notanemail>
@jamie-osec jamie-osec added this to the Pre-1.0 milestone Jun 24, 2026
akash-osec pushed a commit to akash-osec/anchor that referenced this pull request Jul 25, 2026
* Add build borsh package to yarn build anchor package

* update changelog with rsh stuff; clean up full stops

* make it even clearer in the changelog

* missing full stop

Co-authored-by: henrye <henry@notanemail>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants