johnameyer / cards-ts

A card game framework and various games in Typescript. The framework allows for bot development and playing card games in the terminal or in a browser.
4 stars 2 forks source link

Migrate off of Lerna and setup actions publishing #90

Closed johnameyer closed 2 years ago

johnameyer commented 2 years ago

Lerna has caused a number of headaches due to:

  1. it publishing to git before actually publishing to npm / building packages
  2. it using the global typescript over the locally installed one (e.g. lerna run prepack works fine

along with others, causing around a 50% success rate when trying to publish a new version.

We should also try to move away from local publishing and towards publishing in a Github action.

johnameyer commented 2 years ago

At which point we can also use "workspace:*" as package versions to use from within workspace

johnameyer commented 2 years ago

Currently thinking about using https://github.com/intuit/auto (since it gives us nice plugin options) and then https://github.com/atlassian/changesets/ on top of that through exec plugin or as a custom plugin. Potentially could use https://github.com/tophat/monodeploy but doesn't give us the hooks for control.

johnameyer commented 2 years ago

Running into additional headaches yet again today... time to move!

johnameyer commented 2 years ago

Completed with the most recent commits - primarily #99 through c660cfb