@homerun/ats-theme v2.4.0
homerun-ats-theme
Common styles for Homerun ATS products
Usage
In the project where you can make use of this theme, run:
yarn add "ssh://git@github.com:homerunco/homerun-ats-theme#vX.X.X"
Development
If you want to make changes to the theme, clone this repository next to your project and run:
yarn add "link:./../homerun-ats-theme"
Changes made in this folder will be reflected in your project.
Publish a new version
Bump the version in package.json
file and run npm install
, it will also update the version name in package.lock
file. Create a new commit in the following format: chore(release): X.Y.Z [skip ci]
and push the changes.
To publish a new version of the theme, you can make use of Ted The Releaser. ted-the-releaser
is a CLI tool that will determine the next release tag, show the changelog and ask for confirmation before creating the tag. It will also create a GitHub release containing the changelog based on the commit messages. Install it with npm install -g @homerun/ted-the-releaser
and then run ted release
every time you want to create a new.
If you are not a fan of Node CLI tools, Ted
refuses to work or you are away from your laptop, you can still create releases using git tags:
- On your terminal, checkout latest changes on
master
(git checkout master && git pull && git fetch --all
) and create a tag withgit tag vX.X.X
. Make sure you specify the correct version. Push the changes withgit push --follow-tags
and it will trigger a release via CI. - On GitHub, you can create a tag using their releases feature interface. Again, make sure you specify the correct tag. Release title and description are optional.
To be able to publish new versions of this package to NPM, login into our Homerun npm account (you can find the credentials in 1Password), and publish it with public access. You should see the new version being published to NPM.
npm login
npm publish --access public