mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-07 21:07:46 +00:00
[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:
@@ -78,8 +78,8 @@ async function testDeployment(
|
||||
build.config = build.config || {};
|
||||
const { config } = build;
|
||||
if (buildUtilsUrl === '@canary') {
|
||||
config.useBuildUtils = config.useBuildUtils || '@now/build-utils';
|
||||
config.useBuildUtils = `${config.useBuildUtils}@canary`;
|
||||
const buildUtils = config.useBuildUtils || '@vercel/build-utils';
|
||||
config.useBuildUtils = `${buildUtils}@canary`;
|
||||
} else {
|
||||
config.useBuildUtils = `https://${buildUtilsUrl}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user