@vercel/build-utils 2.15.2-canary.1 → 2.15.2-canary.4

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.
@@ -136,6 +136,10 @@ async function getNodeVersion(destPath, _nodeVersion, config = {}, meta = {}) {
136
136
  const latest = node_version_1.getLatestNodeVersion();
137
137
  return { ...latest, runtime: 'nodejs' };
138
138
  }
139
+ if (process.env.ENABLE_EXPERIMENTAL_NODE16 === '1') {
140
+ console.warn('Warning: Using experimental Node.js 16.x due to ENABLE_EXPERIMENTAL_NODE16=1');
141
+ return { major: 16, range: '16.x', runtime: 'nodejs16.x' };
142
+ }
139
143
  const { packageJson } = await scanParentDirs(destPath, true);
140
144
  let { nodeVersion } = config;
141
145
  let isAuto = true;
package/dist/index.js CHANGED
@@ -26617,6 +26617,7 @@ exports.frameworks = [
26617
26617
  slug: 'nextjs',
26618
26618
  demo: 'https://nextjs-template.vercel.app',
26619
26619
  logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/next.svg',
26620
+ darkModeLogo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/next-dark.svg',
26620
26621
  screenshot: 'https://assets.vercel.com/image/upload/v1647366075/front/import/nextjs.png',
26621
26622
  tagline: 'Next.js makes you productive with React instantly — whether you want to build static or dynamic sites.',
26622
26623
  description: 'A Next.js app and a Serverless Function API.',
@@ -34750,6 +34751,10 @@ async function getNodeVersion(destPath, _nodeVersion, config = {}, meta = {}) {
34750
34751
  const latest = node_version_1.getLatestNodeVersion();
34751
34752
  return { ...latest, runtime: 'nodejs' };
34752
34753
  }
34754
+ if (process.env.ENABLE_EXPERIMENTAL_NODE16 === '1') {
34755
+ console.warn('Warning: Using experimental Node.js 16.x due to ENABLE_EXPERIMENTAL_NODE16=1');
34756
+ return { major: 16, range: '16.x', runtime: 'nodejs16.x' };
34757
+ }
34753
34758
  const { packageJson } = await scanParentDirs(destPath, true);
34754
34759
  let { nodeVersion } = config;
34755
34760
  let isAuto = true;
package/dist/types.d.ts CHANGED
@@ -294,6 +294,7 @@ export interface ProjectSettings {
294
294
  sourceFilesOutsideRootDirectory?: boolean;
295
295
  directoryListing?: boolean;
296
296
  gitForkProtection?: boolean;
297
+ commandForIgnoringBuildStep?: string | null;
297
298
  }
298
299
  export interface BuilderV2 {
299
300
  version: 2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "2.15.2-canary.1",
3
+ "version": "2.15.2-canary.4",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",
@@ -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.7.1",
33
+ "@vercel/frameworks": "0.7.2-canary.0",
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": "71b83d5587b549a1458697b50596a5534cb783d3"
52
+ "gitHead": "466135cf84d0346294645251034ad6aaf89928b8"
53
53
  }