|
18 hours ago | |
---|---|---|
.storybook | 18 hours ago | |
src/Chakra | 4 months ago | |
stories | 18 hours ago | |
.README.template.md | 19 hours ago | |
.dockerignore | 5 months ago | |
.eslintrc.js | 5 months ago | |
.gitignore | 5 months ago | |
.gitlab-ci.yml | 5 months ago | |
.npmignore | 5 months ago | |
.npmrc | 5 months ago | |
.prettierrc.js | 5 months ago | |
CHANGELOG.md | 5 months ago | |
Dockerfile | 5 months ago | |
LICENSE | 5 months ago | |
README.md | 19 hours ago | |
package.json | 19 hours ago | |
pnpm-lock.yaml | 19 hours ago | |
tsconfig.json | 5 months ago |
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
all of the commands assume you have pnpm
installed so either switch all of these for npm run
or yarn
or just install pnpm
test suite
playwright is used for testing
$ pnpm test:setup # only needed once to download the browsers
$ pnpm 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
$ pnpm 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