[all] Rename packages to vercel and add logic to publish legacy package names to npm (#4233)

https://vercel.com/blog/zeit-is-now-vercel

* Updates all org packages from `@now` to `@vercel`
* Updates Now CLI package name from `now` to `vercel`
  * Packages contains `"bin"` entries for _both_ `vercel` and `now` in the package.json
* Updates `now-client` package name to `@vercel/client` (org scoped, for authenticity)

There is also a new `publish-legacy.sh` script which ensures that all the legacy package names (i.e. `now`, `now-client`, `@now/node`, etc.) will still be published as well.

We will remove this legacy publishing logic on Jan 1, 2021.
This commit is contained in:
Nathan Rajlich
2020-05-05 16:43:57 -07:00
committed by GitHub
parent 2765207c93
commit 8a68211cad
247 changed files with 696 additions and 519 deletions

View File

@@ -1,7 +1,4 @@
const {
glob,
getWriteableDirectory,
} = require('@now/build-utils');
const { glob, getWriteableDirectory } = require('@vercel/build-utils');
function runAnalyze(wrapper, context) {
if (wrapper.analyze) {