0.0.2 • Published 5 years ago
typescriptifire v0.0.2
typescriptifire
CLI for easily publishing modern React libraries with Rollup and example usage via create-react-app.
Intro
The purpose of this CLI is to make publishing our own libraries as easy as possible.
Features
- Easy-to-use CLI
- Handles all modern TS features
Prerequisite :
- use yarn
Install
yarn global add typescriptifire
ou
npm install -g typescriptifire
Creating a New Package
typescriptifire
Answer some basic prompts about your module, and then the CLI will perform the following steps:
- copy over the template to a new folder in the current directory
- install dependencies via yarn
- link packages together for local development
- initialize local git repo
At this point, the new module is all setup for local development.
Roadmap
- add more automation by folling this article
- add rollup again to handle different outputs and see how dependencies are externalized ( see this )
- add git repo url ( and perform validations ( if not, prompt 'are you sure ? '))
- be able to parse a ~/.conf to override the default values for typescriptifire ( whivch are ?)
License
MIT © Maximilien Garenne