Enhanced theme for Fractal, a tool to help you build & document web component libraries
- node.js v7.x.x
- yarn v0.24.0 or newer for dependency management
- IDE or editor with EditorConfig enabled
- Watch for changes: In the project root run
npm run webpack:watch
- Start Fractal: Enter desired project folder (i.e.
/tests/simple
) and runyarn fractal start
this should open the local URL in your browser.
A big part of this setup is about how we work with the Kuchenblech theme. Its open-source repository is maintained by our ressourcenmangel organization on GitHub.
You can use the Kesselblech theme in the Kuchenblech boilerplate with the related npm package. If you want to contribute and use the new version in this repository, you have to commit your changes to the GitHub repository and publish it with a new version tag on npm.
- Commit your changes with a proper commit message to the GitHub repository
- Create a version commit:
- Add your changes to the changelog
- Update the version number in
package.json
and the changelog. - Commit message: "🔖 Version X.X.X"
- Add a tag with version to this commit ("X.X.X")
- Push to master branch (make sure to push all tags!)
- Publish on npm
- Run
npm login
and fill in your login data from your npm account (make sure you have the rights to publish in the @rsm namespace) - Run
npm publish
- Run