![]() |
||
---|---|---|
.storybook | ||
src/Chakra | ||
stories | ||
.README.template.md | ||
.babelrc.json | ||
.dockerignore | ||
.eslintrc.js | ||
.gitignore | ||
.gitlab-ci.yml | ||
.npmignore | ||
.npmrc | ||
.prettierrc.js | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
package-lock.json | ||
package.json | ||
tsconfig.json |
README.md
komponents
common react components reused in my projects demo on juke.fr/komponents/
install
# npm/pnpm
$ echo @kay:registry=https://code.juke.fr/api/packages/kay/npm/ >> .npmrc
$ npm install @kay/komponents
# yarn
echo \"@kay:registry\" \"https://code.juke.fr/api/packages/kay/npm/\" >> .yarnrc
$ yarn add @kay/komponents
usage
demo
the latest "automatic" (me copying over sftp manually) storybook is always on juke.fr/komponents/
development
test suite
playwright is used for testing
$ npm run test:setup # only needed once to download the browsers
$ npm run test
playwright is cool because it gives you traces with screenshots you can go through step by step so yeah
tested upgrade
the test suite can be used with npm-check-updates to mass upgrade the node modules and make sure stuff still (at least somewhat) works
$ npm run tested-upgrade
it will upgrade all the packages then run the test and do them one by one incrementally if that fails and not do any of the ones that makes the tests fail
Development
To clone the repository locally:
$ git clone https://code.juke.fr/kay/komponents.git
Contributing
Feel free to contact via the email bellow with a patch or anything.
Issues
Open new issues by mailing issues+komponents@juke.fr
beep boop