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

Self-hosted cargo-messages crate #5

Merged
merged 2 commits into from
Apr 30, 2023
Merged

Self-hosted cargo-messages crate #5

merged 2 commits into from
Apr 30, 2023

Conversation

dherman
Copy link
Collaborator

@dherman dherman commented Apr 30, 2023

Initial implementation of a self-hosted cargo-messages crate. I'm still in bootstrapping mode so there are key missing pieces:

  • test suite
  • code review
  • full release automation for the @neon-rs namespace, i.e. this whole repo

But this is the first step. The key self-hosting trick is that @neon-rs/cli is bundled with ncc, which will boil away any explicit dependency on cargo-messages. That way @neon-rs/cli-source can have a dependency on cargo-messages, and cargo-messages can have a dev dependency on any published version of @neon-rs/cli, without creating a cycle:

IMG_6954

Next steps:

  • Configure the npm auth for the repo
  • Setup GH Actions automation for publishing cargo-messages to npm, with prebuilds
  • Then we'll be able to replace cargo.ts with a dependency on cargo-messages
  • Setup GH Actions automation for publishing @neon-rs/cli

@dherman dherman merged commit c623a7c into main Apr 30, 2023
@dherman dherman deleted the cargo-messages branch April 30, 2023 18:32
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.

None yet

1 participant