@vercel/next 4.17.6 → 4.18.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.
- package/dist/index.js +26 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -16607,6 +16607,7 @@ var build = async (buildOptions) => {
|
|
|
16607
16607
|
const nodeVersion = await (0, import_build_utils3.getNodeVersion)(entryPath, void 0, config, meta);
|
|
16608
16608
|
const {
|
|
16609
16609
|
cliType,
|
|
16610
|
+
lockfilePath,
|
|
16610
16611
|
lockfileVersion,
|
|
16611
16612
|
packageJsonPackageManager,
|
|
16612
16613
|
turboSupportsCorepackHome
|
|
@@ -16826,6 +16827,21 @@ More info: http://err.sh/vercel/vercel/next-functions-config-optimized-lambdas`
|
|
|
16826
16827
|
if (buildCallback) {
|
|
16827
16828
|
await buildCallback(buildOptions);
|
|
16828
16829
|
}
|
|
16830
|
+
try {
|
|
16831
|
+
await (0, import_build_utils3.generateProjectManifest)({
|
|
16832
|
+
workPath,
|
|
16833
|
+
nodeVersion,
|
|
16834
|
+
cliType,
|
|
16835
|
+
lockfilePath,
|
|
16836
|
+
lockfileVersion,
|
|
16837
|
+
framework: config.framework ?? void 0,
|
|
16838
|
+
serviceType: buildOptions.service ? (0, import_build_utils3.getReportedServiceType)(buildOptions.service) : void 0
|
|
16839
|
+
});
|
|
16840
|
+
} catch (err) {
|
|
16841
|
+
(0, import_build_utils3.debug)(
|
|
16842
|
+
`Failed to write next manifest: ${err instanceof Error ? err.message : String(err)}`
|
|
16843
|
+
);
|
|
16844
|
+
}
|
|
16829
16845
|
let buildOutputVersion;
|
|
16830
16846
|
try {
|
|
16831
16847
|
const data = await (0, import_fs_extra6.readJSON)(
|
|
@@ -18634,11 +18650,13 @@ More info: http://err.sh/vercel/vercel/next-functions-config-optimized-lambdas`
|
|
|
18634
18650
|
...deploymentId && { deploymentId }
|
|
18635
18651
|
};
|
|
18636
18652
|
};
|
|
18653
|
+
var packageManifestDiagnostics = (0, import_build_utils3.createDiagnostics)("node");
|
|
18637
18654
|
var diagnostics = async ({
|
|
18638
18655
|
config,
|
|
18639
18656
|
entrypoint,
|
|
18640
18657
|
workPath,
|
|
18641
|
-
repoRootPath
|
|
18658
|
+
repoRootPath,
|
|
18659
|
+
...rest
|
|
18642
18660
|
}) => {
|
|
18643
18661
|
const entryDirectory = import_path6.default.dirname(entrypoint);
|
|
18644
18662
|
const entryPath = import_path6.default.join(workPath, entryDirectory);
|
|
@@ -18649,6 +18667,13 @@ var diagnostics = async ({
|
|
|
18649
18667
|
`Reading diagnostics file in diagnosticsEntrypoint=${diagnosticsEntrypoint}`
|
|
18650
18668
|
);
|
|
18651
18669
|
return {
|
|
18670
|
+
...await packageManifestDiagnostics({
|
|
18671
|
+
config,
|
|
18672
|
+
entrypoint,
|
|
18673
|
+
workPath,
|
|
18674
|
+
repoRootPath,
|
|
18675
|
+
...rest
|
|
18676
|
+
}),
|
|
18652
18677
|
// Collect output in `.next/diagnostics`
|
|
18653
18678
|
...await (0, import_build_utils3.glob)(
|
|
18654
18679
|
"*",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/next",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.18.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"text-table": "0.2.0",
|
|
54
54
|
"vitest": "2.0.3",
|
|
55
55
|
"webpack-sources": "3.2.3",
|
|
56
|
-
"@vercel/
|
|
57
|
-
"@vercel/
|
|
56
|
+
"@vercel/build-utils": "13.28.0",
|
|
57
|
+
"@vercel/routing-utils": "6.2.0"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "node build.mjs",
|