git-sbt
A lightweight Git Subtree wrapper for tracking remotes, and ensuring devs don't overwrite subtrees accidentally (via Git Hooks!)
Development
In order to test the package locally, run npm run build && npm link
. Since this installs the current repo to the global node_modules
directory, I recommend using nvm
in order to keep the these testing packages separate from your normal global node_modules
. If you do use nvm
, run these commands after cloning the repo:
nvm install v17.1.0 # This is the node version the project uses.
nvm alias git-sbt v17.1.0
Then, while inside the root directory of this project, run nvm use
to enable the node environment with the git-sbt
testing packages. Run nvm link git-sbt
to install a local testing git-sbt
version to another project.
Run npm run test:remove
to remove the testing packages from the global node_modules
directory.
Later we need to add npm pack
support.