Skip to content

Commit 40e8c6a

Browse files
authored
docs: add package readme (#107)
1 parent 0a79521 commit 40e8c6a

File tree

12 files changed

+93
-9
lines changed

12 files changed

+93
-9
lines changed

docs/guide/contributing.md

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,41 @@
22

33
> Hi! We're really excited that you're interested in contributing to Vue DevTools! Before submitting your contribution, please read through the following guide.
44
5-
## Monorepo
5+
## Development Setup
66

7-
The Vue DevTools repo is a monorepo using pnpm workspaces. The package manager used to install and link dependencies must be [pnpm](https://pnpm.io/).
8-
After cloning the repo, run in the root folder.
7+
You will need [Node.js](https://nodejs.org) **version 18.12+**, and [PNPM](https://pnpm.io) **version 8+**.
98

10-
```sh
11-
pnpm i
9+
We also recommend installing [@antfu/ni](https://github.com/antfu/ni) to help switching between repos using different package managers. `ni` also provides the handy `nr` command which running npm scripts easier.
10+
11+
After cloning the repo, run:
12+
13+
```bash
14+
$ pnpm i # install the dependencies of the project
1215
```
1316

14-
## Development
17+
## Git Hooks
18+
19+
The project uses [simple-git-hooks](https://github.com/toplenboren/simple-git-hooks) to enforce the following on each commit:
20+
21+
- Automatically format changed files using ESLint
1522

16-
### Setup
23+
## Development
1724

18-
Build the project by
25+
Build the project with watch mode:
1926

2027
```sh
2128
pnpm dev
2229
```
2330

24-
And then run the playground
31+
OR
32+
33+
Build the project with:
34+
35+
```sh
36+
pnpm build
37+
```
38+
39+
And then run the playground:
2540

2641
```sh
2742
pnpm play
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Browser extension
2+
3+
> DevTools Browser extension, coming soon...

packages/client/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# DevTools Client
2+
3+
> Client for DevTools.

packages/core/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# @vue/devtools-core
2+
3+
> Internal core functions shared across @vue/devtools packages.

packages/devtools-api/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# @vue/devtools-api
2+
3+
> Plugins API for easier DevTools integrations.
4+
5+
## Getting Started
6+
7+
Please follow the documentation at [devtools-next.vuejs.org](https://devtools-next.vuejs.org/plugins/api).

packages/devtools-kit/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# @vue/devtools-kit
2+
3+
> Utility kit for DevTools.

packages/devtools/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# @vue/devtools
2+
3+
> This package provides a standalone vue-devtools application, that can be used to debug any Vue app regardless of the environment. Now you can debug your app opened in mobile browser, safari, native script etc. not just desktop chrome or firefox.
4+
5+
## Getting Started
6+
7+
Please follow the documentation at [devtools-next.vuejs.org](https://devtools-next.vuejs.org/guide/standalone).

packages/electron/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Electron
2+
3+
> DevTools Electron App, used in [@vue/devtools](../devtools/README.md).

packages/schema/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# @vue/devtools-ui
2+
3+
> UI kit for DevTools.

packages/shared/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# @vue/devtools-shared
2+
3+
> Internal utility types shared across @vue/devtools packages.

0 commit comments

Comments
 (0)