![npm type definitions](https://img.shields.io/npm/types/fabrique.svg)
Fabrique
Fabrique
is a cli to create and build libraries,
letting the user focus on the functionalities of its library, instead of the build process.
With Fabrique
you'll be able to:
- create rapidly a library with all the tools and scripts to:
- build and publish your library
- write tests for it
- format your code
- and debug it
- upgrade any Fabrique project to get the last functionalities in one command line.
Fabrique
is not intended to provide ci scripts and pipelines to automate the processes.
Instead, it gives a uniform and simple entry point for everyone, to publish rapidly our own libraries,
on which we may add automation, scripts, and complexity.
Motivation
When we develop javascript/typescript libraries, we frequently create new repositories,
and maintains the scripts to build, test, and debug them.
This tends to become rapidly cumbersome, especially when their number grows.
We may choose to opt in for a monorepo, and I'll tell you: yes, in many cases, this is the optimal solution.
However, in many other cases, one library per-repo makes sense, and this is where Fabrique
comes in.
Another goal is to focus on simplicity: for new incomers in javascript,
learning all the tools and build processes is complicated.
You want to write your library, but you have to learn vite
, jest
, how to build and publish a lib,
install prettier
, etc. With Fabrique
all comes in pre-configured.
📦 Installation
yarn add fabrique