Skip to content

Miscellaneous updates#1

Open
sol-mocha wants to merge 7 commits intoSquads-Protocol:mainfrom
sol-mocha:mocha/misc
Open

Miscellaneous updates#1
sol-mocha wants to merge 7 commits intoSquads-Protocol:mainfrom
sol-mocha:mocha/misc

Conversation

@sol-mocha
Copy link
Copy Markdown

@sol-mocha sol-mocha commented Mar 4, 2024

Miscellaneous updates:

  • removes marinade bloat and adds bn.js as a dep directly
  • adds deps referenced in code but not in package.json
  • git ignores some un-wanted .yarn/ files/folders.

@sol-mocha sol-mocha changed the title chore: ignore .yarn/ files Miscellaneous updates Mar 4, 2024
Comment thread action.yml
branding:
icon: "upload"
color: "black"
color: "gray-dark"
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently black is not a valid value.
https://json.schemastore.org/github-action.json

Comment thread package.json
{
"name": "squads-v4-program-upgrade",
"main": "lib/main.js",
"private": false,
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default value is false.

Comment thread package.json
"dependencies": {
"@actions/core": "^1.10.1",
"@marinade.finance/marinade-ts-sdk": "^5.0.6",
"@coral-xyz/anchor": "^0.29.0",
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was referenced in utils but not added as a dep.

Comment thread package.json
"@coral-xyz/anchor": "^0.29.0",
"@solana/web3.js": "^1.78.4",
"@sqds/multisig": "^1.9.0",
"bn.js": "^5.2.1",
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason to add all the bloat of @marinade.finance/marinade-ts-sdk just for bn.js.

@sol-mocha sol-mocha marked this pull request as ready for review March 4, 2024 21:57
@sol-mocha sol-mocha marked this pull request as draft March 4, 2024 22:05
@sol-mocha sol-mocha marked this pull request as ready for review March 4, 2024 22:10
@valentinmadrid
Copy link
Copy Markdown
Contributor

@sol-mocha Have you been able to build this ? (yarn build)

@sol-mocha
Copy link
Copy Markdown
Author

@sol-mocha Have you been able to build this ? (yarn build)

Seems to build just fine, or is another output expected?

image

@sol-mocha
Copy link
Copy Markdown
Author

@sol-mocha Have you been able to build this ? (yarn build)

Seems to build just fine, or is another output expected?

image

Hey @valentinmadrid curious on your thoughts for this PR. Any requested changes?

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