vercel 28.11.1 → 28.12.4

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 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
- yarn
45
- yarn build
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
- ### `yarn dev <cli-commands...>`
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
- yarn dev deploy
60
- yarn dev whoami
61
- yarn dev login
62
- yarn dev switch --debug
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!
@@ -42,6 +42,8 @@ class WorkerOutput {
42
42
  }
43
43
 
44
44
  print(type, args) {
45
+ // note: `args` may contain an `Error` that will be toString()'d and thus
46
+ // no stack trace
45
47
  const str = format(
46
48
  ...args.map(s => (typeof s === 'string' ? s : inspect(s)))
47
49
  );