Skip to content
/ fractal Public
forked from frctl/fractal

A tool to help you build & document web component libraries, and then integrate them into your web projects.

License

Notifications You must be signed in to change notification settings

lucur/fractal

 
 

Repository files navigation

Fractal v2 [beta]

A toolkit for working with filesystem-based component libraries.


This branch is for development of the work-in-progress Fractal v2.0 release. Feel free to play around with it but be warned that breaking changes are likely to happen until we get to a stable release candidate 🚀

For the current v1.x release codebase please switch to the master branch.


Build Status Coverage Status NPM Version

Getting started with the v2 beta

If you are curious about the v2 beta then please read the overview first to get a feel for the scope and current status of the current beta release.

Please be aware that until the beta period is complete major (breaking) changes may still be made. Where possible we will of course try to avoid this but please do not yet start building your production codebase on these early v2 beta versions unless you are prepared to spend time and effort updating between potentially unstable releases.

To get up and running with a sample project then there is some early documentation available in the docs directory of this repository:

You may also want to check out the default starter project repo to get a feel for how some of the pieces fit together. (This repo is cloned when creating a new project via the fractal-beta new command).

Requirements

Fractal v2 requires Node v8.0+ (LTS) to run.

Development and contributing

We are moving development of Fractal v2.0 and all first-party add-ons into a 'monorepo' format, using Lerna to help manage linking and publishing individual packages within the monorepo.

Running locally

  1. Clone this repository
  2. Install dependencies - npm install
  3. Bootstrap the packages together using Lerna - npm run bootstrap

Tests

Code is linted via xo/eslint using the Fractal eslint config, and tests are written using Mocha & Chai.

Test can be run with npm test. There are also NPM package scripts available for running subsets of the tests if required.

Credits

Fractal is developed and maintained by Danielle Huntrods, Mark Perkins and all our other excellent contributors.

Ongoing support by Clearleft makes this project possible. Thank you!

About

A tool to help you build & document web component libraries, and then integrate them into your web projects.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.1%
  • Vue 4.4%
  • Other 0.5%