Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

clipped

clippedjs18ISC2.6.4TypeScript support: included

Reduce pain of configuration to once

readme

Clipped

More than boilerplate :muscle:

All Contributors npm version Build Status Greenkeeper badge codecov semantic-release XO code style USThing

Requirements

  • Node.js >= 8.0.0

How to use

If you have yarn:

  1. yarn create clipped

Otherwise:

  1. npm i -g clipped
  2. clipped create <app-name>
  3. Run clipped to see available actions, and use them!

How it works

Most often our boilerplates are disposable items i.e. we cannot share them across projects.

For example we use are likely to use similar loaders and plugins across webpack projects, yet we keep having to rewrite them over and over again.

Clipped makes it so configurations are functions of static configurations and dynamic task runners. You can even use existing projects as preset!

You do not have to use Webpack to use Clipped, feel free to contribute to presets like Rollup, Parcel, Fuse-box... :blush:

How to contribute

# Clone the repo
git clone git@github.com:clippedjs/clipped.git

# Install dependencies
yarn

# Watch the project
cd packages/clipped && npm run test:watch

You are free to make your very own presets and put on your own npm account, but if the preset is for new extensions or build tools, we encourage you to contribute to our presets folder so that others can suffer less as well :smile:

Credits

Made with code and :heart: by USThing team

Heavily inspired by mozilla-neutrino

Contributors

Thanks goes to these wonderful people (emoji key):

IniZio
IniZio

💻
Cristi Jora
Cristi Jora

📖
Elliot Ng
Elliot Ng

🤔

This project follows the all-contributors specification. Contributions of any kind welcome!

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.6.4 (2019-03-01)

Note: Version bump only for package clipped

2.6.3 (2019-02-28)

Note: Version bump only for package clipped

2.6.2 (2018-11-20)

Note: Version bump only for package clipped

2.6.1 (2018-11-19)

Bug Fixes

  • babel: fix alias temporarily (052745c)

2.6.0 (2018-11-19)

Features

  • order: adds order checking for presets (7732b8e)

2.5.0 (2018-11-19)

Features

  • plugin: adds plugin description function (#136) (5fbfd69)

2.4.2 (2018-11-14)

Note: Version bump only for package clipped

2.4.1 (2018-11-14)

Bug Fixes

  • defer: config were not ordered correcrly (270c75b)

2.4.0 (2018-11-13)

Features

  • cli: install needed deps on template init (179b83d)

2.3.2 (2018-11-13)

Bug Fixes

  • cli: use keywords searching instead of github api (ec04e40)

2.3.1 (2018-11-12)

Bug Fixes

  • cli: config template syntax (bdbd579)

2.3.0 (2018-11-12)

Features

  • cli: adds create-clipped with improvements (#127) (38b07ab)

2.2.0 (2018-11-12)

Features

2.1.5 (2018-11-04)

Bug Fixes

  • spawn: use cross-spawn and window-specific command (324ca41)

2.1.4 (2018-11-04)

Bug Fixes

  • spawn: use cross-spawn and window-specific command (324ca41)

2.1.4 (2018-11-03)

Bug Fixes

  • dist: include dist in publish (bc9ba8d)

2.1.2 (2018-11-02)

Bug Fixes

2.1.1 (2018-11-02)

Note: Version bump only for package clipped

2.1.0 (2018-11-02)

Bug Fixes

  • cli: suggest plugins and templates instead of presets (1758644)
  • options: make options accessible in preset (54740c2)
  • plugin: safer preset execution (f1a63f1)
  • plugin: safer preset execution 2 (d68eee9)
  • preset: enables array-in-array presets (3468704)
  • preset: ignore primitive return value (c382dd7)
  • typings: wow so i ignored the typings the whole time... (b67b228)
  • typings: wrong return type of Hook (f7564e1)

Features

  • generator: adds 'create' hook to install presets and add config file (639c1af)
  • plugin: allows using return value of plugins to modify config (417a3cb)
  • plugins: transform various plugins from presets (fcc5dc6)
  • preset: support new preset format (654450b)
  • prompt: adds prompts as helper function (3c2c09e)
  • verbose: write json from config (f26fd6b)

1.17.0 (2018-03-22)

Bug Fixes

  • resolves support for key-value in config array (8384b29)

Features

1.15.3 (2018-03-21)

Bug Fixes

  • update jointed for multiple bug fixes (#88) (2aaa0e0)

1.15.1 (2018-02-15)

Bug Fixes

1.14.0 (2018-02-10)

Features

1.13.1 (2018-02-09)

Bug Fixes

  • Git pull when fail clone, and yarn install (#80) (c787c64)

1.13.0 (2018-02-09)

Features

1.11.6 (2018-01-31)

1.11.5 (2018-01-30)

Bug Fixes

  • Babel presets not added in webpack preset (#62) (f33e012)

1.11.4 (2018-01-30)

Bug Fixes

1.11.1 (2018-01-29)

Bug Fixes

1.11.0 (2018-01-29)

Features

  • Support use by bumping jointed version (#51) (9899c35)

1.10.0 (2018-01-28)

Features

1.9.2 (2018-01-20)

Bug Fixes

1.9.0 (2018-01-03)

Bug Fixes

  • clipped: Fix using absolute path to source-map-support due to lerna (#36) (5b4a8bf)

Features

  • copyTpl with clipped as context (1f6c03d)

1.16.0 (2018-03-21)

Features

1.15.3 (2018-03-21)

Bug Fixes

  • update jointed for multiple bug fixes (#88) (2aaa0e0)

1.15.1 (2018-02-15)

Bug Fixes

1.14.0 (2018-02-10)

Features

1.13.1 (2018-02-09)

Bug Fixes

  • Git pull when fail clone, and yarn install (#80) (c787c64)

1.13.0 (2018-02-09)

Features

1.11.6 (2018-01-31)

1.11.5 (2018-01-30)

Bug Fixes

  • Babel presets not added in webpack preset (#62) (f33e012)

1.11.4 (2018-01-30)

Bug Fixes

1.11.1 (2018-01-29)

Bug Fixes

1.11.0 (2018-01-29)

Features

  • Support use by bumping jointed version (#51) (9899c35)

1.10.0 (2018-01-28)

Features

1.9.2 (2018-01-20)

Bug Fixes

1.9.0 (2018-01-03)

Bug Fixes

  • clipped: Fix using absolute path to source-map-support due to lerna (#36) (5b4a8bf)

Features

  • copyTpl with clipped as context (1f6c03d)

1.11.6 (2018-01-31)

Note: Version bump only for package clipped