Skip to content

Commit

Permalink
Merge pull request #285 from IgnaceMaes/patch-1
Browse files Browse the repository at this point in the history
docs: update install instructions to use pnpm and remove `skip-npm`
  • Loading branch information
NullVoxPopuli authored Apr 27, 2024
2 parents 8b2a311 + 1ca1e5e commit a27ffcc
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The blueprint contains a number of assumptions, e.g. using a monorepo using (`ya
## Usage

```bash
ember addon my-addon -b @embroider/addon-blueprint --yarn
ember addon my-addon -b @embroider/addon-blueprint --pnpm
```

### Options
Expand All @@ -26,27 +26,23 @@ For all these options, you'll see a warning printed from `ember-cli` about unsup
#### `--pnpm`

Sets up the new addon with [`pnpm`](https://pnpm.io/) as a default package manager.
Note, that because `ember-cli` doesn't support this flag, you'll need to also add `--skip-npm` (which skips install).

Example:

```bash
ember addon my-addon -b @embroider/addon-blueprint --pnpm --skip-npm
ember addon my-addon -b @embroider/addon-blueprint --pnpm
cd my-addon
pnpm install
```

#### `--npm`

Sets up the new addon with `npm` as a default.
Note, that because `ember-cli` doesn't support this flag, you'll need to also add `--skip-npm` (which skips install).

Example:

```bash
ember addon my-addon -b @embroider/addon-blueprint --npm --skip-npm
ember addon my-addon -b @embroider/addon-blueprint --npm
cd my-addon
npm install
```

#### `--yarn`
Expand All @@ -58,7 +54,6 @@ Example:
```bash
ember addon my-addon -b @embroider/addon-blueprint --yarn
cd my-addon
yarn install
```

#### `--addon-location`
Expand Down

0 comments on commit a27ffcc

Please sign in to comment.