Adds source code of published npm package, cashtab-components. Codebase currently available at https://github.com/josephroyking/cashtab-components. NPM module here: https://www.npmjs.com/package/cashtab-components. This was refactored from https://github.com/Bitcoin-com/badger-components-react , adding typescript, upgrading React, and upgrading Storybook. Starting point here because TypeScript refactor of original source code proved more involved than foreseen, more an overhaul than a diff.
- Group Reviewers
- rABC6705b69d8931: [Web - New] Adding cashtab-components source
cd web/cashtab-components npm ci npm run storybook
Component library will load at localhost:6006 (should open automatically in browser)
I recommend using npm ci instead of npm i --legacy-peer-deps, since that'll give you a deterministic build according to the existing package-lock.json which is in the diff already
also, yarn.lock should be deleted, I think?
|19 ↗||(On Diff #27428)|
this probably goes in macOS users $HOME/.gitignore file rather than the repo
|26–27 ↗||(On Diff #27428)|
|3 ↗||(On Diff #27428)|
|25 ↗||(On Diff #27428)|