Indigo UI library, its CSS and React components. Also Styleguide app showing usages of this library.
node -v
yarn global add grunt-cli
yarn
yarn dev
docker-compose build
(See Dockerfile
to check what's inside)docker-compose run --rm --service-ports node
yarn
, yarn dev
, ...)yarn dev
: Start Storybook serveryarn test
: Run testsyarn build-lib
: Build package prepared for publishing to npmjs registryyarn build-storybook
: Prepare Storybook for deploymentyarn stylelint
: Check less files for errorssrc/indigo/components
(e.g. Loader.jsx
).Loader.test.js
).src/indigo/components/index.js
to enable its export.indigo-ui
in kbc-ui
Make sure you have package prepared yarn build-lib
.
yarn link
(preferred)yarn link
yarn link "@keboola/indigo-ui"
Similar (but reversed) process applies for yarn unlink
.
yarn add
yarn add file:/path/to/indigo-ui
Check KBC.md
First, check the content of .travis.yml
file and documentation about
Travis Deployment.
main
branchsrc/indigo
folder and you want to make
those changes available for users.Steps:
main
branchyarn version
command
package.json
) and tag for you.package.json
manually or create tag manually.main
branch - e.g git push origin main
main
branch is deployed)git push origin v2.0.0-beta-3
<- This triggers deploy to npmjs!Run yarn test
. It'll start tests in interactive mode.
Run npm pack
. Check its manual here.
If published version does not match installed version.
git clone git@github.com:react-bootstrap/react-bootstrap.git
cd react-bootstrap
git fetch --all
git checkout v0.31.5 # use version you need
npm run docs
Open browser at localhost:4000
MIT licensed, see LICENSE file.