vercel 25.1.1-canary.4 → 25.1.1-canary.7
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/dist/index.js +10 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -231159,6 +231159,7 @@ const help = () => {
|
|
231159
231159
|
-A ${chalk_1.default.bold.underline('FILE')}, --local-config=${chalk_1.default.bold.underline('FILE')} Path to the local ${'`vercel.json`'} file
|
231160
231160
|
-Q ${chalk_1.default.bold.underline('DIR')}, --global-config=${chalk_1.default.bold.underline('DIR')} Path to the global ${'`.vercel`'} directory
|
231161
231161
|
--cwd [path] The current working directory
|
231162
|
+
--output [path] Directory where built assets should be written to
|
231162
231163
|
--prod Build a production deployment
|
231163
231164
|
-d, --debug Debug mode [off]
|
231164
231165
|
-y, --yes Skip the confirmation prompt
|
@@ -231185,6 +231186,7 @@ async function main(client) {
|
|
231185
231186
|
// Parse CLI args
|
231186
231187
|
const argv = get_args_1.default(client.argv.slice(2), {
|
231187
231188
|
'--cwd': String,
|
231189
|
+
'--output': String,
|
231188
231190
|
'--prod': Boolean,
|
231189
231191
|
'--yes': Boolean,
|
231190
231192
|
});
|
@@ -231324,7 +231326,9 @@ async function main(client) {
|
|
231324
231326
|
filesMap[path] = new build_utils_1.FileFsRef({ mode, fsPath });
|
231325
231327
|
}
|
231326
231328
|
// Delete output directory from potential previous build
|
231327
|
-
const outputDir =
|
231329
|
+
const outputDir = argv['--output']
|
231330
|
+
? path_1.resolve(argv['--output'])
|
231331
|
+
: path_1.join(cwd, write_build_result_1.OUTPUT_DIR);
|
231328
231332
|
await fs_extra_1.default.remove(outputDir);
|
231329
231333
|
const buildStamp = stamp_1.default();
|
231330
231334
|
// Create fresh new output directory
|
@@ -231334,6 +231338,7 @@ async function main(client) {
|
|
231334
231338
|
ops.push(fs_extra_1.default.writeJSON(path_1.join(outputDir, 'builds.json'), {
|
231335
231339
|
'//': 'This file was generated by the `vercel build` command. It is not part of the Build Output API.',
|
231336
231340
|
target,
|
231341
|
+
argv: process.argv,
|
231337
231342
|
builds: builds.map(build => {
|
231338
231343
|
const builderWithPkg = buildersWithPkgs.get(build.use);
|
231339
231344
|
if (!builderWithPkg) {
|
@@ -231342,6 +231347,7 @@ async function main(client) {
|
|
231342
231347
|
const { builder, pkg: builderPkg } = builderWithPkg;
|
231343
231348
|
return {
|
231344
231349
|
require: builderPkg.name,
|
231350
|
+
requirePath: builderWithPkg.path,
|
231345
231351
|
apiVersion: builder.version,
|
231346
231352
|
...build,
|
231347
231353
|
};
|
@@ -231469,7 +231475,8 @@ async function main(client) {
|
|
231469
231475
|
overrides: mergedOverrides,
|
231470
231476
|
};
|
231471
231477
|
await fs_extra_1.default.writeJSON(path_1.join(outputDir, 'config.json'), config, { spaces: 2 });
|
231472
|
-
|
231478
|
+
const relOutputDir = path_1.relative(cwd, outputDir);
|
231479
|
+
output.print(`${emoji_1.prependEmoji(`Build Completed in ${chalk_1.default.bold(relOutputDir.startsWith('..') ? outputDir : relOutputDir)} ${chalk_1.default.gray(buildStamp())}`, emoji_1.emoji('success'))}\n`);
|
231473
231480
|
return 0;
|
231474
231481
|
}
|
231475
231482
|
exports.default = main;
|
@@ -252419,7 +252426,7 @@ module.exports = JSON.parse("{\"application/1d-interleaved-parityfec\":{\"source
|
|
252419
252426
|
/***/ ((module) => {
|
252420
252427
|
|
252421
252428
|
"use strict";
|
252422
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"25.1.1-canary.
|
252429
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"25.1.1-canary.7\",\"preferGlobal\":true,\"license\":\"Apache-2.0\",\"description\":\"The command-line interface for Vercel\",\"homepage\":\"https://vercel.com\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/vercel/vercel.git\",\"directory\":\"packages/cli\"},\"scripts\":{\"preinstall\":\"node ./scripts/preinstall.js\",\"test\":\"jest --env node --verbose --runInBand --bail --forceExit\",\"test-unit\":\"yarn test test/unit/\",\"test-integration-cli\":\"rimraf test/fixtures/integration && ava test/integration.js --serial --fail-fast --verbose\",\"test-integration-dev\":\"yarn test test/dev/\",\"prepublishOnly\":\"yarn build\",\"coverage\":\"codecov\",\"build\":\"node -r ts-eager/register ./scripts/build.ts\",\"build-dev\":\"node -r ts-eager/register ./scripts/build.ts --dev\"},\"bin\":{\"vc\":\"./dist/index.js\",\"vercel\":\"./dist/index.js\"},\"files\":[\"dist\",\"scripts/preinstall.js\"],\"ava\":{\"extensions\":[\"ts\"],\"require\":[\"ts-node/register/transpile-only\",\"esm\"]},\"engines\":{\"node\":\">= 14\"},\"dependencies\":{\"@vercel/build-utils\":\"4.1.1-canary.1\",\"@vercel/go\":\"2.0.2-canary.1\",\"@vercel/next\":\"3.0.4-canary.1\",\"@vercel/node\":\"2.2.1-canary.0\",\"@vercel/python\":\"3.0.2-canary.1\",\"@vercel/redwood\":\"1.0.2-canary.1\",\"@vercel/remix\":\"1.0.2-canary.1\",\"@vercel/ruby\":\"1.3.10-canary.1\",\"@vercel/static-build\":\"1.0.2-canary.1\",\"update-notifier\":\"5.1.0\"},\"devDependencies\":{\"@alex_neo/jest-expect-message\":\"1.0.5\",\"@next/env\":\"11.1.2\",\"@sentry/node\":\"5.5.0\",\"@sindresorhus/slugify\":\"0.11.0\",\"@tootallnate/once\":\"1.1.2\",\"@types/ansi-escapes\":\"3.0.0\",\"@types/ansi-regex\":\"4.0.0\",\"@types/async-retry\":\"1.2.1\",\"@types/bytes\":\"3.0.0\",\"@types/chance\":\"1.1.3\",\"@types/debug\":\"0.0.31\",\"@types/dotenv\":\"6.1.1\",\"@types/escape-html\":\"0.0.20\",\"@types/express\":\"4.17.13\",\"@types/fs-extra\":\"9.0.13\",\"@types/glob\":\"7.1.1\",\"@types/http-proxy\":\"1.16.2\",\"@types/ini\":\"1.3.31\",\"@types/inquirer\":\"7.3.1\",\"@types/jest\":\"27.4.1\",\"@types/jest-expect-message\":\"1.0.3\",\"@types/load-json-file\":\"2.0.7\",\"@types/mime-types\":\"2.1.0\",\"@types/minimatch\":\"3.0.3\",\"@types/mri\":\"1.1.0\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"11.11.0\",\"@types/node-fetch\":\"2.5.10\",\"@types/npm-package-arg\":\"6.1.0\",\"@types/pluralize\":\"0.0.29\",\"@types/progress\":\"2.0.3\",\"@types/psl\":\"1.1.0\",\"@types/semver\":\"6.0.1\",\"@types/tar-fs\":\"1.16.1\",\"@types/text-table\":\"0.2.0\",\"@types/title\":\"3.4.1\",\"@types/universal-analytics\":\"0.4.2\",\"@types/update-notifier\":\"5.1.0\",\"@types/which\":\"1.3.2\",\"@types/write-json-file\":\"2.2.1\",\"@types/yauzl-promise\":\"2.1.0\",\"@vercel/client\":\"12.0.2-canary.1\",\"@vercel/frameworks\":\"1.0.2-canary.0\",\"@vercel/ncc\":\"0.24.0\",\"@zeit/fun\":\"0.11.2\",\"@zeit/source-map-support\":\"0.6.2\",\"ajv\":\"6.12.2\",\"alpha-sort\":\"2.0.1\",\"ansi-escapes\":\"3.0.0\",\"ansi-regex\":\"3.0.0\",\"arg\":\"5.0.0\",\"async-listen\":\"1.2.0\",\"async-retry\":\"1.1.3\",\"async-sema\":\"2.1.4\",\"ava\":\"2.2.0\",\"bytes\":\"3.0.0\",\"chalk\":\"4.1.0\",\"chance\":\"1.1.7\",\"chokidar\":\"3.3.1\",\"clipboardy\":\"2.1.0\",\"codecov\":\"3.8.2\",\"cpy\":\"7.2.0\",\"credit-card\":\"3.0.1\",\"date-fns\":\"1.29.0\",\"debug\":\"3.1.0\",\"dot\":\"1.1.3\",\"dotenv\":\"4.0.0\",\"email-prompt\":\"0.3.2\",\"email-validator\":\"1.1.1\",\"epipebomb\":\"1.0.0\",\"escape-html\":\"1.0.3\",\"esm\":\"3.1.4\",\"execa\":\"3.2.0\",\"express\":\"4.17.1\",\"fast-deep-equal\":\"3.1.3\",\"fs-extra\":\"10.0.0\",\"get-port\":\"5.1.1\",\"git-last-commit\":\"1.0.1\",\"glob\":\"7.1.2\",\"http-proxy\":\"1.18.1\",\"ini\":\"3.0.0\",\"inquirer\":\"7.0.4\",\"is-docker\":\"2.2.1\",\"is-port-reachable\":\"3.1.0\",\"is-url\":\"1.2.2\",\"jaro-winkler\":\"0.2.8\",\"jsonlines\":\"0.1.1\",\"load-json-file\":\"3.0.0\",\"mime-types\":\"2.1.24\",\"minimatch\":\"3.0.4\",\"mri\":\"1.1.5\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.1\",\"npm-package-arg\":\"6.1.0\",\"open\":\"8.4.0\",\"ora\":\"3.4.0\",\"pcre-to-regexp\":\"1.0.0\",\"pluralize\":\"7.0.0\",\"progress\":\"2.0.3\",\"promisepipe\":\"3.0.0\",\"psl\":\"1.1.31\",\"qr-image\":\"3.2.0\",\"raw-body\":\"2.4.1\",\"rimraf\":\"3.0.2\",\"semver\":\"5.5.0\",\"serve-handler\":\"6.1.1\",\"strip-ansi\":\"5.2.0\",\"stripe\":\"5.1.0\",\"tar-fs\":\"1.16.3\",\"test-listen\":\"1.1.0\",\"text-table\":\"0.2.0\",\"title\":\"3.4.1\",\"tmp-promise\":\"1.0.3\",\"tree-kill\":\"1.2.2\",\"ts-node\":\"8.3.0\",\"typescript\":\"4.3.4\",\"universal-analytics\":\"0.4.20\",\"utility-types\":\"2.1.0\",\"which\":\"2.0.2\",\"write-json-file\":\"2.2.0\",\"xdg-app-paths\":\"5.1.0\",\"yauzl-promise\":\"2.1.3\"},\"jest\":{\"preset\":\"ts-jest\",\"globals\":{\"ts-jest\":{\"diagnostics\":false,\"isolatedModules\":true}},\"setupFilesAfterEnv\":[\"@alex_neo/jest-expect-message\"],\"verbose\":false,\"testEnvironment\":\"node\",\"testMatch\":[\"<rootDir>/test/**/*.test.ts\"]},\"gitHead\":\"50af9f5b75e518379bbba2b6dcba0330710b0425\"}");
|
252423
252430
|
|
252424
252431
|
/***/ }),
|
252425
252432
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "25.1.1-canary.
|
3
|
+
"version": "25.1.1-canary.7",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -44,7 +44,7 @@
|
|
44
44
|
"dependencies": {
|
45
45
|
"@vercel/build-utils": "4.1.1-canary.1",
|
46
46
|
"@vercel/go": "2.0.2-canary.1",
|
47
|
-
"@vercel/next": "3.0.
|
47
|
+
"@vercel/next": "3.0.4-canary.1",
|
48
48
|
"@vercel/node": "2.2.1-canary.0",
|
49
49
|
"@vercel/python": "3.0.2-canary.1",
|
50
50
|
"@vercel/redwood": "1.0.2-canary.1",
|
@@ -194,5 +194,5 @@
|
|
194
194
|
"<rootDir>/test/**/*.test.ts"
|
195
195
|
]
|
196
196
|
},
|
197
|
-
"gitHead": "
|
197
|
+
"gitHead": "50af9f5b75e518379bbba2b6dcba0330710b0425"
|
198
198
|
}
|