Skip to content

Commit

Permalink
docs: add yarn and bun (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu authored Mar 4, 2024
1 parent 635c014 commit 8c1e362
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,41 @@ Create a coc extension quickly 🚀

```sh
npx create-coc-extension [extension-name]
# or
npm exec create-coc-extension [extension-name]
cd [extension-name]
npm install
npm run build
```

### npm

```sh
npm create coc-extension [extension-name]
# or
npm init coc-extension [extension-name]
cd [extension-name]
npm install
npm run build
```

then cd to your extension root:
### yarn

- `npm install`
- `npm run build`
```sh
yarn create coc-extension [extension-name]
cd [extension-name]
yarn install
yarn run build
```

### bun

```sh
bun create coc-extension [extension-name]
cd [extension-name]
bun install
bun run build
```

## Example

Expand Down

0 comments on commit 8c1e362

Please sign in to comment.