@botxo_team/fe-shared

Share components and utils

Usage no npm install needed!

<script type="module">
  import botxoTeamFeShared from 'https://cdn.skypack.dev/@botxo_team/fe-shared';
</script>

README

Log in

If you're a frontend developer, run npm login and login with your npm credentials If you're a BE dev, add: //registry.npmjs.org/:_authToken=aced8885-1b48-4769-b390-9893071d546a to your ~/.npmrc

Publishing new version to npm

  • cd fe-shared
  • npm version major(X.0.0)/minor(0.X.0)/patch(0.0.X)
  • commit that version and make sure it's merged to develop
  • npm publish
  • update package version number inside package.json of frontend/webchat/botxo-webchat projects

Making webpack catch up with updates in fe-shared

  1. cd fe-shared
  2. npm link
  3. cd frontend or cd webchat
  4. npm link @botxo_team/fe-shared

To unlink and start using the fe-shared folder from node_modules:

  1. cd frontend or cd webchat
  2. npm unlink @botxo_team/fe-shared