vercel 50.8.0 → 50.9.0

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.
Files changed (3) hide show
  1. package/README.md +20 -0
  2. package/dist/index.js +3461 -3095
  3. package/package.json +9 -9
package/README.md CHANGED
@@ -61,3 +61,23 @@ pnpm vercel switch --debug
61
61
  ```
62
62
 
63
63
  When you are satisfied with your changes, make a commit and create a pull request!
64
+
65
+ ### Full Testing
66
+
67
+ `pnpm vercel` executes a locally built dist. Because this dist lives locally in this monorepo,
68
+ the existence of node_modules can sometimes affect the behavior of how `vercel` CLI picking
69
+ up dependencies. To test the full user experience of downloading the CLI from the npm registry:
70
+
71
+ ```bash
72
+ # build the dist
73
+ monorepo_dir=$(pwd)
74
+ cd packages/cli && turbo build
75
+ # use pnpm pack to create the same tarball that is uploaded to the npm registry
76
+ # and store the tarball name in a variable
77
+ dist=$(pnpm pack)
78
+
79
+ # In your test project
80
+ cd ~/dev/test-nextjs-proj
81
+
82
+ npx -p $monorepo_dir/packages/cli/$dist vercel build
83
+ ```