File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed
Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 1+ # Create Pattern Lab
2+
3+ To get started, simply run:
4+
5+ ``` bash
6+ npm create pattern-lab
7+ ```
8+
9+ Then follow the prompts.
10+
11+ This is the same as using the main Pattern Lab CLI's ` init ` command:
12+
13+ ``` bash
14+ npm i -g @pattern-lab/cli
15+ pattern-lab init
16+ ```
Original file line number Diff line number Diff line change 11#! /usr/bin/env node
2- console . log (
3- 'This is deprecated; please use "npm create pattern-lab" now, which is the `create-pattern-lab` package. Have a nice day!'
4- ) ;
5- process . exit ( 1 ) ;
62const init = require ( '@pattern-lab/cli/bin/cli-actions/init' ) ;
73
84init ( { } ) ;
Original file line number Diff line number Diff line change 11{
2- "name" : " @ pattern-lab/create " ,
2+ "name" : " create- pattern-lab" ,
33 "version" : " 1.0.3" ,
44 "description" : " " ,
55 "bin" : " index.js" ,
You can’t perform that action at this time.
0 commit comments