1.0.0 • Published 3 years ago

markitshared v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

MarkitShared

For our shared repo, we use Bit Version Manager (https://github.com/teambit/bvm) (https://bit.dev/)

  • Allows us to utilize shared files across our different repositories

Onboarding: (instructions not finalized) 1. Install Bit Version Manager: npx @teambit/bvm install - Might give you additional instructions about ~/.bash_profile and ~/.zshrc - you can just follow them

  1. Restart your terminal and run 'bit' to verify everything is installed properly if it isn’t run the following commands echo 'export PATH=$HOME/bin:$PATH' > ~/.bash_profile echo 'export PATH=$HOME/bin:$PATH' > ~/.zshrc
  2. run 'bit login' and login with your markit email

  3. run 'bit install' to install all dependencies

Using Bit:

  • Pull latest remote main branch npm run update
  • Push new changes to shared files git commit -m "commit message" git push
  • Deploy changes to live npm run deploy
  • Update bit on other repos npm run bitUpdate

If needed: run 'npm config set '@markit:registry' https://node.bit.cloud' verify that ~/.npmrc has lines that start with both @bit and @markit

1.0.0

3 years ago