vercel 28.11.1 → 28.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/dist/get-latest-worker.js +2 -0
- package/dist/index.js +153821 -155586
- package/package.json +21 -19
package/README.md
CHANGED
@@ -41,8 +41,8 @@ To develop Vercel CLI, first check out the source code, install dependencies, an
|
|
41
41
|
```bash
|
42
42
|
git clone https://github.com/vercel/vercel.git
|
43
43
|
cd vercel
|
44
|
-
|
45
|
-
|
44
|
+
pnpm install
|
45
|
+
pnpm build
|
46
46
|
```
|
47
47
|
|
48
48
|
At this point you can make modifications to the CLI source code and test them out locally. The CLI source code is located in the `packages/cli` directory.
|
@@ -51,15 +51,15 @@ At this point you can make modifications to the CLI source code and test them ou
|
|
51
51
|
cd packages/cli
|
52
52
|
```
|
53
53
|
|
54
|
-
### `
|
54
|
+
### `pnpm dev <cli-commands...>`
|
55
55
|
|
56
56
|
From within the `packages/cli` directory, you can use the "dev" script to quickly execute Vercel CLI from its TypeScript source code directly (without having to manually compile first). For example:
|
57
57
|
|
58
58
|
```bash
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
59
|
+
pnpm dev deploy
|
60
|
+
pnpm dev whoami
|
61
|
+
pnpm dev login
|
62
|
+
pnpm dev switch --debug
|
63
63
|
```
|
64
64
|
|
65
65
|
When you are satisfied with your changes, make a commit and create a pull request!
|