@vercel/next 4.6.2 → 4.7.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.
Files changed (2) hide show
  1. package/dist/index.js +21 -7
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -15786,7 +15786,8 @@ var build = async (buildOptions) => {
15786
15786
  packageJsonPackageManager,
15787
15787
  nodeVersion,
15788
15788
  env: spawnOpts.env || {},
15789
- turboSupportsCorepackHome
15789
+ turboSupportsCorepackHome,
15790
+ projectCreatedAt: config.projectSettings?.createdAt
15790
15791
  });
15791
15792
  const nowJsonPath = await (0, import_find_up.default)(["now.json", "vercel.json"], {
15792
15793
  cwd: entryPath
@@ -15861,7 +15862,14 @@ var build = async (buildOptions) => {
15861
15862
  cwd: entryPath
15862
15863
  });
15863
15864
  } else {
15864
- await (0, import_build_utils3.runNpmInstall)(entryPath, [], spawnOpts, meta, nodeVersion);
15865
+ await (0, import_build_utils3.runNpmInstall)(
15866
+ entryPath,
15867
+ [],
15868
+ spawnOpts,
15869
+ meta,
15870
+ nodeVersion,
15871
+ config.projectSettings?.createdAt
15872
+ );
15865
15873
  }
15866
15874
  });
15867
15875
  } else {
@@ -15962,10 +15970,15 @@ More info: http://err.sh/vercel/vercel/next-functions-config-optimized-lambdas`
15962
15970
  env
15963
15971
  });
15964
15972
  } else if (buildScriptName) {
15965
- await (0, import_build_utils3.runPackageJsonScript)(entryPath, buildScriptName, {
15966
- ...spawnOpts,
15967
- env
15968
- });
15973
+ await (0, import_build_utils3.runPackageJsonScript)(
15974
+ entryPath,
15975
+ buildScriptName,
15976
+ {
15977
+ ...spawnOpts,
15978
+ env
15979
+ },
15980
+ config.projectSettings?.createdAt
15981
+ );
15969
15982
  }
15970
15983
  });
15971
15984
  (0, import_build_utils3.debug)("build command exited");
@@ -16367,7 +16380,8 @@ More info: http://err.sh/vercel/vercel/next-functions-config-optimized-lambdas`
16367
16380
  ["--production"],
16368
16381
  spawnOpts,
16369
16382
  meta,
16370
- nodeVersion
16383
+ nodeVersion,
16384
+ config.projectSettings?.createdAt
16371
16385
  );
16372
16386
  }
16373
16387
  if (process.env.NPM_AUTH_TOKEN) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.6.2",
3
+ "version": "4.7.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
@@ -30,7 +30,7 @@
30
30
  "@types/semver": "6.0.0",
31
31
  "@types/text-table": "0.2.1",
32
32
  "@types/webpack-sources": "3.2.0",
33
- "@vercel/build-utils": "10.0.1",
33
+ "@vercel/build-utils": "10.2.0",
34
34
  "@vercel/routing-utils": "5.0.4",
35
35
  "async-sema": "3.0.1",
36
36
  "buffer-crc32": "0.2.13",