1.0.13 • Published 1 year ago

talenttale-common v1.0.13

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
1 year ago

common

This repo contains common code needed by TalentTale projects

usage

In order to use this package you need to:

  • create ~/.npmrc file in ~ directory with the following 2 lines: //npm.pkg.github.com/:_authToken=<<<PUT_GITHUB_TOKEN_HERE>>> @talenttale:registry=https://npm.pkg.github.com/
  • the GITHUB_TOKEN you need to generate it from your github developer settings, check the package read option, generate the token & put it in ~/.npmrc
  • once you have that you will be able to use this package by adding it as a dependency in your project either by running yarn add talenttale-common or adding @tallenttale/common: ^1.0.0 in your package.json in dependencies

release

In order to be able to see the changes you've made on this repo you will need to create a PR with the changes. Once it's approved & merged a github action will automatically bump the package.json version, publish it to the private npm registry on github, create a new tag on github & pushe the new package.json in a new commit (meaning your local changes will be behind the HEAD once the github action will finish)

local test

You won't want to wait for the PR to be merged in order to use/test it locally All you need to do is:

  • run yarn build and yarn link on this repository
  • go to the project you want to use it & run yarn link talenttale-common - this command creates a symlink in the node_modules with talenttale-common to this local repo
  • if you want to remove the link & use the version from registry just run yarn unlink talenttale-common & yarn install to install it from the registry
1.0.13

1 year ago

1.0.12

1 year ago