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 1
1
#! /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 ) ;
6
2
const init = require ( '@pattern-lab/cli/bin/cli-actions/init' ) ;
7
3
8
4
init ( { } ) ;
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " @ pattern-lab/create " ,
2
+ "name" : " create- pattern-lab" ,
3
3
"version" : " 1.0.3" ,
4
4
"description" : " " ,
5
5
"bin" : " index.js" ,
You can’t perform that action at this time.
0 commit comments