Skip to content
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

Miscellaneous updates #1

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

sol-mocha
Copy link

@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
@@ -3,7 +3,7 @@ description: "Squads v4 program upgrade Github Action"
author: "Valentin Madrid"
branding:
icon: "upload"
color: "black"
color: "gray-dark"
Copy link
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

@@ -1,7 +1,6 @@
{
"name": "squads-v4-program-upgrade",
"main": "lib/main.js",
"private": false,
Copy link
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.

"@types/inquirer": "^9.0.3",
"patch-package": "^8.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.0.2"
},
"dependencies": {
"@actions/core": "^1.10.1",
"@marinade.finance/marinade-ts-sdk": "^5.0.6",
"@coral-xyz/anchor": "^0.29.0",
Copy link
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.

"@solana/web3.js": "^1.78.4",
"@sqds/multisig": "^1.9.0",
"bn.js": "^5.2.1",
Copy link
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
Contributor

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

@sol-mocha
Copy link
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
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