Skip to content

Commit 27d2c8f

Browse files
committed
fix(package): update publish config and installation target
1 parent 9895dfb commit 27d2c8f

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

packages/cli/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,8 @@
5151
"license": "MIT",
5252
"engines": {
5353
"node": ">=6.0"
54+
},
55+
"publishConfig": {
56+
"access": "public"
5457
}
5558
}

packages/cli/readme.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
> Command-line interface (CLI) for the patternlab-node core.
44
5-
[![Build Status](https://travis-ci.org/pattern-lab/patternlab-node-cli.svg?branch=master)](https://travis-ci.org/pattern-lab/patternlab-node-cli)
5+
[![Build Status](https://travis-ci.org/pattern-lab/patternlab-node.svg?branch=master)](https://travis-ci.org/pattern-lab/patternlab-node)
66

77

88
## Installation
99
*Note: Global installs are currently not supported and will be fixed when the Pattern Lab core hits v3.0.0*
1010

1111
#### Via NPM
12-
`npm install pattern-lab/patternlab-node-cli --save-dev`
12+
`npm install @pattern-lab/cli --save-dev`
1313

1414
#### Via Yarn
15-
`yarn add pattern-lab/patternlab-node-cli --dev`
15+
`yarn add @pattern-lab/cli --dev`
1616

1717
## Getting Started
1818
1. In order to use PatternLab you need to initialize a PatternLab project with `patternlab init`. The CLI will ask you some setup question and scaffold your project based on it.
@@ -30,7 +30,7 @@ Usage: patternlab <cmd> [options]
3030
init [options] Initialize a PatternLab project from scratch or import an edition and/or starterkit
3131
install|add [options] Installs Pattern Lab related modules like starterkits or plugins
3232
serve|browse [options] Starts a server to inspect files in browser
33-
33+
3434
Options:
3535
-h, --help output usage information
3636
-V, --version output the version number
@@ -42,9 +42,9 @@ Usage: patternlab <cmd> [options]
4242
### Build/Compile PatternLab
4343
```
4444
Usage: build|compile [options]
45-
45+
4646
Build the PatternLab. Optionally (re-)build only the patterns
47-
47+
4848
Options:
4949
-h, --help output usage information
5050
-p, --patterns-only Whether to only build patterns

0 commit comments

Comments
 (0)