@vercel/build-utils 2.12.3-canary.43 → 2.12.3-canary.47
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.
@@ -6,7 +6,7 @@ import type { BuildOptions } from './types';
|
|
6
6
|
* @param packageName - the name of the package, for example `vercel-plugin-python`
|
7
7
|
* @param ext - the file extension, for example `.py`
|
8
8
|
*/
|
9
|
-
export declare function
|
9
|
+
export declare function _experimental_convertRuntimeToPlugin(buildRuntime: (options: BuildOptions) => Promise<{
|
10
10
|
output: Lambda;
|
11
11
|
}>, packageName: string, ext: string): ({ workPath }: {
|
12
12
|
workPath: string;
|
@@ -15,7 +15,7 @@ export declare function convertRuntimeToPlugin(buildRuntime: (options: BuildOpti
|
|
15
15
|
* If `.output/functions-manifest.json` exists, append to the pages
|
16
16
|
* property. Otherwise write a new file.
|
17
17
|
*/
|
18
|
-
export declare function
|
18
|
+
export declare function _experimental_updateFunctionsManifest({ workPath, pages, }: {
|
19
19
|
workPath: string;
|
20
20
|
pages: {
|
21
21
|
[key: string]: any;
|
@@ -25,7 +25,7 @@ export declare function updateFunctionsManifest({ workPath, pages, }: {
|
|
25
25
|
* Append routes to the `routes-manifest.json` file.
|
26
26
|
* If the file does not exist, it will be created.
|
27
27
|
*/
|
28
|
-
export declare function
|
28
|
+
export declare function _experimental_updateRoutesManifest({ workPath, redirects, rewrites, headers, dynamicRoutes, staticRoutes, }: {
|
29
29
|
workPath: string;
|
30
30
|
redirects?: {
|
31
31
|
source: string;
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
6
|
+
exports._experimental_updateRoutesManifest = exports._experimental_updateFunctionsManifest = exports._experimental_convertRuntimeToPlugin = void 0;
|
7
7
|
const fs_extra_1 = __importDefault(require("fs-extra"));
|
8
8
|
const path_1 = require("path");
|
9
9
|
const glob_1 = __importDefault(require("./fs/glob"));
|
@@ -46,7 +46,7 @@ const getSourceFiles = async (workPath, ignoreFilter) => {
|
|
46
46
|
* @param packageName - the name of the package, for example `vercel-plugin-python`
|
47
47
|
* @param ext - the file extension, for example `.py`
|
48
48
|
*/
|
49
|
-
function
|
49
|
+
function _experimental_convertRuntimeToPlugin(buildRuntime, packageName, ext) {
|
50
50
|
// This `build()` signature should match `plugin.build()` signature in `vercel build`.
|
51
51
|
return async function build({ workPath }) {
|
52
52
|
// We also don't want to provide any files to Runtimes that were ignored
|
@@ -224,10 +224,10 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
|
|
224
224
|
}
|
225
225
|
// Add any Serverless Functions that were exposed by the Legacy Runtime
|
226
226
|
// to the `functions-manifest.json` file provided in `.output`.
|
227
|
-
await
|
227
|
+
await _experimental_updateFunctionsManifest({ workPath, pages });
|
228
228
|
};
|
229
229
|
}
|
230
|
-
exports.
|
230
|
+
exports._experimental_convertRuntimeToPlugin = _experimental_convertRuntimeToPlugin;
|
231
231
|
async function readJson(filePath) {
|
232
232
|
try {
|
233
233
|
const str = await fs_extra_1.default.readFile(filePath, 'utf8');
|
@@ -244,7 +244,7 @@ async function readJson(filePath) {
|
|
244
244
|
* If `.output/functions-manifest.json` exists, append to the pages
|
245
245
|
* property. Otherwise write a new file.
|
246
246
|
*/
|
247
|
-
async function
|
247
|
+
async function _experimental_updateFunctionsManifest({ workPath, pages, }) {
|
248
248
|
const functionsManifestPath = path_1.join(workPath, '.output', 'functions-manifest.json');
|
249
249
|
const functionsManifest = await readJson(functionsManifestPath);
|
250
250
|
if (!functionsManifest.version)
|
@@ -256,12 +256,12 @@ async function updateFunctionsManifest({ workPath, pages, }) {
|
|
256
256
|
}
|
257
257
|
await fs_extra_1.default.writeFile(functionsManifestPath, JSON.stringify(functionsManifest));
|
258
258
|
}
|
259
|
-
exports.
|
259
|
+
exports._experimental_updateFunctionsManifest = _experimental_updateFunctionsManifest;
|
260
260
|
/**
|
261
261
|
* Append routes to the `routes-manifest.json` file.
|
262
262
|
* If the file does not exist, it will be created.
|
263
263
|
*/
|
264
|
-
async function
|
264
|
+
async function _experimental_updateRoutesManifest({ workPath, redirects, rewrites, headers, dynamicRoutes, staticRoutes, }) {
|
265
265
|
const routesManifestPath = path_1.join(workPath, '.output', 'routes-manifest.json');
|
266
266
|
const routesManifest = await readJson(routesManifestPath);
|
267
267
|
if (!routesManifest.version)
|
@@ -295,4 +295,4 @@ async function updateRoutesManifest({ workPath, redirects, rewrites, headers, dy
|
|
295
295
|
}
|
296
296
|
await fs_extra_1.default.writeFile(routesManifestPath, JSON.stringify(routesManifest));
|
297
297
|
}
|
298
|
-
exports.
|
298
|
+
exports._experimental_updateRoutesManifest = _experimental_updateRoutesManifest;
|
@@ -6,7 +6,8 @@ interface Metadata {
|
|
6
6
|
}
|
7
7
|
/**
|
8
8
|
* If the Deployment can be built with the new File System API,
|
9
|
-
*
|
9
|
+
* return the new Builder. Otherwise an "Exclusion Condition"
|
10
|
+
* was hit so return `null` builder with a `reason` for exclusion.
|
10
11
|
*/
|
11
12
|
export declare function detectFileSystemAPI({ files, projectSettings, builders, vercelConfig, pkg, tag, enableFlag, }: {
|
12
13
|
files: {
|
@@ -9,7 +9,8 @@ const _1 = require("./");
|
|
9
9
|
const enableFileSystemApiFrameworks = new Set(['solidstart']);
|
10
10
|
/**
|
11
11
|
* If the Deployment can be built with the new File System API,
|
12
|
-
*
|
12
|
+
* return the new Builder. Otherwise an "Exclusion Condition"
|
13
|
+
* was hit so return `null` builder with a `reason` for exclusion.
|
13
14
|
*/
|
14
15
|
async function detectFileSystemAPI({ files, projectSettings, builders, vercelConfig, pkg, tag, enableFlag = false, }) {
|
15
16
|
const framework = projectSettings.framework || '';
|
@@ -113,22 +114,39 @@ async function detectFileSystemAPI({ files, projectSettings, builders, vercelCon
|
|
113
114
|
reason: `Detected Next.js with Output Directory \`${projectSettings.outputDirectory}\` override. Please change it back to the default.`,
|
114
115
|
};
|
115
116
|
}
|
116
|
-
const
|
117
|
-
if (!
|
117
|
+
const nextVersion = deps['next'];
|
118
|
+
if (!nextVersion) {
|
118
119
|
return {
|
119
120
|
metadata,
|
120
121
|
fsApiBuilder: null,
|
121
122
|
reason: `Detected Next.js in Project Settings but missing \`next\` package.json dependencies. Please run \`npm i next\`.`,
|
122
123
|
};
|
123
124
|
}
|
124
|
-
// TODO:
|
125
|
-
if (
|
126
|
-
const fixedVersion = semver_1.default.valid(semver_1.default.coerce(
|
125
|
+
// TODO: Read version from lockfile instead of package.json
|
126
|
+
if (nextVersion !== 'latest' && nextVersion !== 'canary') {
|
127
|
+
const fixedVersion = semver_1.default.valid(semver_1.default.coerce(nextVersion) || '');
|
127
128
|
if (!fixedVersion || !semver_1.default.gte(fixedVersion, '12.0.0')) {
|
128
129
|
return {
|
129
130
|
metadata,
|
130
131
|
fsApiBuilder: null,
|
131
|
-
reason: `Detected legacy Next.js version "${
|
132
|
+
reason: `Detected legacy Next.js version "${nextVersion}" in package.json. Please run \`npm i next@latest\` to upgrade.`,
|
133
|
+
};
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
if (!hasDotOutput) {
|
138
|
+
// TODO: Read version from lockfile instead of package.json
|
139
|
+
const vercelCliVersion = deps['vercel'];
|
140
|
+
if (vercelCliVersion &&
|
141
|
+
vercelCliVersion !== 'latest' &&
|
142
|
+
vercelCliVersion !== 'canary') {
|
143
|
+
const fixedVersion = semver_1.default.valid(semver_1.default.coerce(vercelCliVersion) || '');
|
144
|
+
// TODO: we might want to use '24.0.0' once its released
|
145
|
+
if (!fixedVersion || !semver_1.default.gte(fixedVersion, '23.1.3-canary.68')) {
|
146
|
+
return {
|
147
|
+
metadata,
|
148
|
+
fsApiBuilder: null,
|
149
|
+
reason: `Detected legacy Vercel CLI version "${vercelCliVersion}" in package.json. Please run \`npm i vercel@latest\` to upgrade.`,
|
132
150
|
};
|
133
151
|
}
|
134
152
|
}
|
package/dist/index.d.ts
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="node" />
|
2
1
|
import FileBlob from './file-blob';
|
3
2
|
import FileFsRef from './file-fs-ref';
|
4
3
|
import FileRef from './file-ref';
|
@@ -21,7 +20,7 @@ export { detectFramework } from './detect-framework';
|
|
21
20
|
export { DetectorFilesystem } from './detectors/filesystem';
|
22
21
|
export { readConfigFile } from './fs/read-config-file';
|
23
22
|
export { normalizePath } from './fs/normalize-path';
|
24
|
-
export {
|
23
|
+
export { _experimental_convertRuntimeToPlugin, _experimental_updateFunctionsManifest, _experimental_updateRoutesManifest, } from './convert-runtime-to-plugin';
|
25
24
|
export * from './schemas';
|
26
25
|
export * from './types';
|
27
26
|
export * from './errors';
|
@@ -35,8 +34,3 @@ export declare const isStaticRuntime: (name?: string | undefined) => boolean;
|
|
35
34
|
* Throws an error if *both* env vars are defined.
|
36
35
|
*/
|
37
36
|
export declare const getPlatformEnv: (name: string) => string | undefined;
|
38
|
-
/**
|
39
|
-
* Helper function for generating file or directories names in `.output/inputs`
|
40
|
-
* for dependencies of files provided to the File System API.
|
41
|
-
*/
|
42
|
-
export declare const getInputHash: (source: Buffer | string) => string;
|
package/dist/index.js
CHANGED
@@ -27108,6 +27108,44 @@ exports.frameworks = [
|
|
27108
27108
|
},
|
27109
27109
|
],
|
27110
27110
|
},
|
27111
|
+
{
|
27112
|
+
name: 'SolidStart',
|
27113
|
+
slug: 'solidstart',
|
27114
|
+
demo: 'https://solidstart.examples.vercel.com',
|
27115
|
+
logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/solid.svg',
|
27116
|
+
tagline: 'Simple and performant reactivity for building user interfaces.',
|
27117
|
+
description: 'A Solid app, created with SolidStart.',
|
27118
|
+
website: 'https://solidjs.com',
|
27119
|
+
envPrefix: 'VITE_',
|
27120
|
+
detectors: {
|
27121
|
+
every: [
|
27122
|
+
{
|
27123
|
+
path: 'package.json',
|
27124
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"solid-js":\\s*".+?"[^}]*}',
|
27125
|
+
},
|
27126
|
+
{
|
27127
|
+
path: 'package.json',
|
27128
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"solid-start":\\s*".+?"[^}]*}',
|
27129
|
+
},
|
27130
|
+
],
|
27131
|
+
},
|
27132
|
+
settings: {
|
27133
|
+
installCommand: {
|
27134
|
+
placeholder: '`yarn install` or `npm install`',
|
27135
|
+
},
|
27136
|
+
buildCommand: {
|
27137
|
+
placeholder: '`npm run build` or `solid-start build`',
|
27138
|
+
value: 'solid-start build',
|
27139
|
+
},
|
27140
|
+
devCommand: {
|
27141
|
+
value: 'solid-start dev',
|
27142
|
+
},
|
27143
|
+
outputDirectory: {
|
27144
|
+
value: '.output',
|
27145
|
+
},
|
27146
|
+
},
|
27147
|
+
getOutputDirName: async () => '.output',
|
27148
|
+
},
|
27111
27149
|
{
|
27112
27150
|
name: 'Dojo',
|
27113
27151
|
slug: 'dojo',
|
@@ -27578,6 +27616,7 @@ exports.frameworks = [
|
|
27578
27616
|
tagline: 'SvelteKit is a framework for building web applications of all sizes.',
|
27579
27617
|
description: 'A SvelteKit app optimized to work for serverless.',
|
27580
27618
|
website: 'https://kit.svelte.dev',
|
27619
|
+
envPrefix: 'VITE_',
|
27581
27620
|
detectors: {
|
27582
27621
|
every: [
|
27583
27622
|
{
|
@@ -32685,7 +32724,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
32685
32724
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
32686
32725
|
};
|
32687
32726
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
32688
|
-
exports.
|
32727
|
+
exports._experimental_updateRoutesManifest = exports._experimental_updateFunctionsManifest = exports._experimental_convertRuntimeToPlugin = void 0;
|
32689
32728
|
const fs_extra_1 = __importDefault(__webpack_require__(5392));
|
32690
32729
|
const path_1 = __webpack_require__(5622);
|
32691
32730
|
const glob_1 = __importDefault(__webpack_require__(4240));
|
@@ -32728,7 +32767,7 @@ const getSourceFiles = async (workPath, ignoreFilter) => {
|
|
32728
32767
|
* @param packageName - the name of the package, for example `vercel-plugin-python`
|
32729
32768
|
* @param ext - the file extension, for example `.py`
|
32730
32769
|
*/
|
32731
|
-
function
|
32770
|
+
function _experimental_convertRuntimeToPlugin(buildRuntime, packageName, ext) {
|
32732
32771
|
// This `build()` signature should match `plugin.build()` signature in `vercel build`.
|
32733
32772
|
return async function build({ workPath }) {
|
32734
32773
|
// We also don't want to provide any files to Runtimes that were ignored
|
@@ -32906,10 +32945,10 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
|
|
32906
32945
|
}
|
32907
32946
|
// Add any Serverless Functions that were exposed by the Legacy Runtime
|
32908
32947
|
// to the `functions-manifest.json` file provided in `.output`.
|
32909
|
-
await
|
32948
|
+
await _experimental_updateFunctionsManifest({ workPath, pages });
|
32910
32949
|
};
|
32911
32950
|
}
|
32912
|
-
exports.
|
32951
|
+
exports._experimental_convertRuntimeToPlugin = _experimental_convertRuntimeToPlugin;
|
32913
32952
|
async function readJson(filePath) {
|
32914
32953
|
try {
|
32915
32954
|
const str = await fs_extra_1.default.readFile(filePath, 'utf8');
|
@@ -32926,7 +32965,7 @@ async function readJson(filePath) {
|
|
32926
32965
|
* If `.output/functions-manifest.json` exists, append to the pages
|
32927
32966
|
* property. Otherwise write a new file.
|
32928
32967
|
*/
|
32929
|
-
async function
|
32968
|
+
async function _experimental_updateFunctionsManifest({ workPath, pages, }) {
|
32930
32969
|
const functionsManifestPath = path_1.join(workPath, '.output', 'functions-manifest.json');
|
32931
32970
|
const functionsManifest = await readJson(functionsManifestPath);
|
32932
32971
|
if (!functionsManifest.version)
|
@@ -32938,12 +32977,12 @@ async function updateFunctionsManifest({ workPath, pages, }) {
|
|
32938
32977
|
}
|
32939
32978
|
await fs_extra_1.default.writeFile(functionsManifestPath, JSON.stringify(functionsManifest));
|
32940
32979
|
}
|
32941
|
-
exports.
|
32980
|
+
exports._experimental_updateFunctionsManifest = _experimental_updateFunctionsManifest;
|
32942
32981
|
/**
|
32943
32982
|
* Append routes to the `routes-manifest.json` file.
|
32944
32983
|
* If the file does not exist, it will be created.
|
32945
32984
|
*/
|
32946
|
-
async function
|
32985
|
+
async function _experimental_updateRoutesManifest({ workPath, redirects, rewrites, headers, dynamicRoutes, staticRoutes, }) {
|
32947
32986
|
const routesManifestPath = path_1.join(workPath, '.output', 'routes-manifest.json');
|
32948
32987
|
const routesManifest = await readJson(routesManifestPath);
|
32949
32988
|
if (!routesManifest.version)
|
@@ -32977,7 +33016,7 @@ async function updateRoutesManifest({ workPath, redirects, rewrites, headers, dy
|
|
32977
33016
|
}
|
32978
33017
|
await fs_extra_1.default.writeFile(routesManifestPath, JSON.stringify(routesManifest));
|
32979
33018
|
}
|
32980
|
-
exports.
|
33019
|
+
exports._experimental_updateRoutesManifest = _experimental_updateRoutesManifest;
|
32981
33020
|
|
32982
33021
|
|
32983
33022
|
/***/ }),
|
@@ -33856,7 +33895,8 @@ const _1 = __webpack_require__(2855);
|
|
33856
33895
|
const enableFileSystemApiFrameworks = new Set(['solidstart']);
|
33857
33896
|
/**
|
33858
33897
|
* If the Deployment can be built with the new File System API,
|
33859
|
-
*
|
33898
|
+
* return the new Builder. Otherwise an "Exclusion Condition"
|
33899
|
+
* was hit so return `null` builder with a `reason` for exclusion.
|
33860
33900
|
*/
|
33861
33901
|
async function detectFileSystemAPI({ files, projectSettings, builders, vercelConfig, pkg, tag, enableFlag = false, }) {
|
33862
33902
|
const framework = projectSettings.framework || '';
|
@@ -33960,22 +34000,39 @@ async function detectFileSystemAPI({ files, projectSettings, builders, vercelCon
|
|
33960
34000
|
reason: `Detected Next.js with Output Directory \`${projectSettings.outputDirectory}\` override. Please change it back to the default.`,
|
33961
34001
|
};
|
33962
34002
|
}
|
33963
|
-
const
|
33964
|
-
if (!
|
34003
|
+
const nextVersion = deps['next'];
|
34004
|
+
if (!nextVersion) {
|
33965
34005
|
return {
|
33966
34006
|
metadata,
|
33967
34007
|
fsApiBuilder: null,
|
33968
34008
|
reason: `Detected Next.js in Project Settings but missing \`next\` package.json dependencies. Please run \`npm i next\`.`,
|
33969
34009
|
};
|
33970
34010
|
}
|
33971
|
-
// TODO:
|
33972
|
-
if (
|
33973
|
-
const fixedVersion = semver_1.default.valid(semver_1.default.coerce(
|
34011
|
+
// TODO: Read version from lockfile instead of package.json
|
34012
|
+
if (nextVersion !== 'latest' && nextVersion !== 'canary') {
|
34013
|
+
const fixedVersion = semver_1.default.valid(semver_1.default.coerce(nextVersion) || '');
|
33974
34014
|
if (!fixedVersion || !semver_1.default.gte(fixedVersion, '12.0.0')) {
|
33975
34015
|
return {
|
33976
34016
|
metadata,
|
33977
34017
|
fsApiBuilder: null,
|
33978
|
-
reason: `Detected legacy Next.js version "${
|
34018
|
+
reason: `Detected legacy Next.js version "${nextVersion}" in package.json. Please run \`npm i next@latest\` to upgrade.`,
|
34019
|
+
};
|
34020
|
+
}
|
34021
|
+
}
|
34022
|
+
}
|
34023
|
+
if (!hasDotOutput) {
|
34024
|
+
// TODO: Read version from lockfile instead of package.json
|
34025
|
+
const vercelCliVersion = deps['vercel'];
|
34026
|
+
if (vercelCliVersion &&
|
34027
|
+
vercelCliVersion !== 'latest' &&
|
34028
|
+
vercelCliVersion !== 'canary') {
|
34029
|
+
const fixedVersion = semver_1.default.valid(semver_1.default.coerce(vercelCliVersion) || '');
|
34030
|
+
// TODO: we might want to use '24.0.0' once its released
|
34031
|
+
if (!fixedVersion || !semver_1.default.gte(fixedVersion, '23.1.3-canary.68')) {
|
34032
|
+
return {
|
34033
|
+
metadata,
|
34034
|
+
fsApiBuilder: null,
|
34035
|
+
reason: `Detected legacy Vercel CLI version "${vercelCliVersion}" in package.json. Please run \`npm i vercel@latest\` to upgrade.`,
|
33979
34036
|
};
|
33980
34037
|
}
|
33981
34038
|
}
|
@@ -35233,8 +35290,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
35233
35290
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
35234
35291
|
};
|
35235
35292
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
35236
|
-
exports.
|
35237
|
-
const crypto_1 = __webpack_require__(6417);
|
35293
|
+
exports.getPlatformEnv = exports.isStaticRuntime = exports.isOfficialRuntime = exports._experimental_updateRoutesManifest = exports._experimental_updateFunctionsManifest = exports._experimental_convertRuntimeToPlugin = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectFileSystemAPI = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.getIgnoreFilter = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.shouldServe = exports.streamToBuffer = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = exports.runShellScript = exports.runPipInstall = exports.runBundleInstall = exports.runNpmInstall = exports.getNodeBinPath = exports.walkParentDirs = exports.spawnCommand = exports.execCommand = exports.runPackageJsonScript = exports.installDependencies = exports.getScriptName = exports.spawnAsync = exports.execAsync = exports.rename = exports.glob = exports.getWriteableDirectory = exports.download = exports.Prerender = exports.createLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
35238
35294
|
const file_blob_1 = __importDefault(__webpack_require__(2397));
|
35239
35295
|
exports.FileBlob = file_blob_1.default;
|
35240
35296
|
const file_fs_ref_1 = __importDefault(__webpack_require__(9331));
|
@@ -35301,9 +35357,9 @@ Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: funct
|
|
35301
35357
|
var normalize_path_1 = __webpack_require__(6261);
|
35302
35358
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
35303
35359
|
var convert_runtime_to_plugin_1 = __webpack_require__(7276);
|
35304
|
-
Object.defineProperty(exports, "
|
35305
|
-
Object.defineProperty(exports, "
|
35306
|
-
Object.defineProperty(exports, "
|
35360
|
+
Object.defineProperty(exports, "_experimental_convertRuntimeToPlugin", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1._experimental_convertRuntimeToPlugin; } }));
|
35361
|
+
Object.defineProperty(exports, "_experimental_updateFunctionsManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1._experimental_updateFunctionsManifest; } }));
|
35362
|
+
Object.defineProperty(exports, "_experimental_updateRoutesManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1._experimental_updateRoutesManifest; } }));
|
35307
35363
|
__exportStar(__webpack_require__(2416), exports);
|
35308
35364
|
__exportStar(__webpack_require__(5748), exports);
|
35309
35365
|
__exportStar(__webpack_require__(3983), exports);
|
@@ -35346,14 +35402,6 @@ const getPlatformEnv = (name) => {
|
|
35346
35402
|
return n;
|
35347
35403
|
};
|
35348
35404
|
exports.getPlatformEnv = getPlatformEnv;
|
35349
|
-
/**
|
35350
|
-
* Helper function for generating file or directories names in `.output/inputs`
|
35351
|
-
* for dependencies of files provided to the File System API.
|
35352
|
-
*/
|
35353
|
-
const getInputHash = (source) => {
|
35354
|
-
return crypto_1.createHash('sha1').update(source).digest('hex');
|
35355
|
-
};
|
35356
|
-
exports.getInputHash = getInputHash;
|
35357
35405
|
|
35358
35406
|
|
35359
35407
|
/***/ }),
|
@@ -35743,14 +35791,6 @@ module.exports = require("constants");
|
|
35743
35791
|
|
35744
35792
|
/***/ }),
|
35745
35793
|
|
35746
|
-
/***/ 6417:
|
35747
|
-
/***/ ((module) => {
|
35748
|
-
|
35749
|
-
"use strict";
|
35750
|
-
module.exports = require("crypto");
|
35751
|
-
|
35752
|
-
/***/ }),
|
35753
|
-
|
35754
35794
|
/***/ 8614:
|
35755
35795
|
/***/ ((module) => {
|
35756
35796
|
|
package/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/build-utils",
|
3
|
-
"version": "2.12.3-canary.
|
3
|
+
"version": "2.12.3-canary.47",
|
4
4
|
"license": "MIT",
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"types": "./dist/index.d.js",
|
7
|
-
"homepage": "https://github.com/vercel/vercel/blob/
|
7
|
+
"homepage": "https://github.com/vercel/vercel/blob/main/DEVELOPING_A_RUNTIME.md",
|
8
8
|
"repository": {
|
9
9
|
"type": "git",
|
10
10
|
"url": "https://github.com/vercel/vercel.git",
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"@types/node-fetch": "^2.1.6",
|
31
31
|
"@types/semver": "6.0.0",
|
32
32
|
"@types/yazl": "^2.4.1",
|
33
|
-
"@vercel/frameworks": "0.5.1-canary.
|
33
|
+
"@vercel/frameworks": "0.5.1-canary.19",
|
34
34
|
"@vercel/ncc": "0.24.0",
|
35
35
|
"aggregate-error": "3.0.1",
|
36
36
|
"async-retry": "1.2.3",
|
@@ -49,5 +49,5 @@
|
|
49
49
|
"typescript": "4.3.4",
|
50
50
|
"yazl": "2.4.3"
|
51
51
|
},
|
52
|
-
"gitHead": "
|
52
|
+
"gitHead": "38d643a8e68ad0c71433788f3b770e4b4c1378ee"
|
53
53
|
}
|