@netlify/build 29.51.5 → 29.53.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/lib/core/build.js CHANGED
@@ -33,7 +33,7 @@ export const startBuild = function (flags) {
33
33
  const errorMonitor = startErrorMonitor({ flags: { debug, systemLogFile, ...flagsA }, logs, bugsnagKey });
34
34
  return { ...flagsA, debug, systemLogFile, errorMonitor, logs, timers };
35
35
  };
36
- const tExecBuild = async function ({ config, defaultConfig, cachedConfig, cachedConfigPath, outputConfigPath, cwd, packagePath, repositoryRoot, apiHost, token, siteId, context, branch, baseRelDir, env: envOpt, debug, systemLogFile, verbose, nodePath, functionsDistDir, edgeFunctionsDistDir, cacheDir, dry, mode, offline, deployId, buildId, testOpts, errorMonitor, errorParams, logs, timers, buildbotServerSocket, sendStatus, saveConfig, featureFlags, timeline, devCommand, quiet, framework, explicitSecretKeys, edgeFunctionsBootstrapURL, eventHandlers, }) {
36
+ const tExecBuild = async function ({ config, defaultConfig, cachedConfig, cachedConfigPath, outputConfigPath, cwd, packagePath, repositoryRoot, apiHost, token, siteId, accountId, context, branch, baseRelDir, env: envOpt, debug, systemLogFile, verbose, nodePath, functionsDistDir, edgeFunctionsDistDir, cacheDir, dry, mode, offline, deployId, buildId, testOpts, errorMonitor, errorParams, logs, timers, buildbotServerSocket, sendStatus, saveConfig, featureFlags, timeline, devCommand, quiet, framework, explicitSecretKeys, edgeFunctionsBootstrapURL, eventHandlers, }) {
37
37
  const configOpts = getConfigOpts({
38
38
  config,
39
39
  defaultConfig,
@@ -43,6 +43,7 @@ const tExecBuild = async function ({ config, defaultConfig, cachedConfig, cached
43
43
  apiHost,
44
44
  token,
45
45
  siteId,
46
+ accountId,
46
47
  context,
47
48
  branch,
48
49
  baseRelDir,
@@ -1,4 +1,4 @@
1
- export function getConfigOpts({ config, defaultConfig, cwd, repositoryRoot, packagePath, apiHost, token, siteId, context, branch, baseRelDir, envOpt, mode, offline, deployId, buildId, testOpts, featureFlags, }: {
1
+ export function getConfigOpts({ config, defaultConfig, cwd, repositoryRoot, packagePath, apiHost, token, siteId, accountId, context, branch, baseRelDir, envOpt, mode, offline, deployId, buildId, testOpts, featureFlags, }: {
2
2
  config: any;
3
3
  defaultConfig: any;
4
4
  cwd: any;
@@ -7,6 +7,7 @@ export function getConfigOpts({ config, defaultConfig, cwd, repositoryRoot, pack
7
7
  apiHost: any;
8
8
  token: any;
9
9
  siteId: any;
10
+ accountId: any;
10
11
  context: any;
11
12
  branch: any;
12
13
  baseRelDir: any;
@@ -29,6 +30,7 @@ export function getConfigOpts({ config, defaultConfig, cwd, repositoryRoot, pack
29
30
  host: any;
30
31
  token: any;
31
32
  siteId: any;
33
+ accountId: any;
32
34
  deployId: any;
33
35
  buildId: any;
34
36
  mode: any;
@@ -15,7 +15,7 @@ import { getUserNodeVersion } from './user_node_version.js';
15
15
  // the build
16
16
  // - If plugins change the configuration, `configMutations` is used instead
17
17
  // In both cases, almost all options should remain the same.
18
- export const getConfigOpts = function ({ config, defaultConfig, cwd, repositoryRoot, packagePath, apiHost, token, siteId, context, branch, baseRelDir, envOpt, mode, offline, deployId, buildId, testOpts, featureFlags, }) {
18
+ export const getConfigOpts = function ({ config, defaultConfig, cwd, repositoryRoot, packagePath, apiHost, token, siteId, accountId, context, branch, baseRelDir, envOpt, mode, offline, deployId, buildId, testOpts, featureFlags, }) {
19
19
  return {
20
20
  config,
21
21
  defaultConfig,
@@ -28,6 +28,7 @@ export const getConfigOpts = function ({ config, defaultConfig, cwd, repositoryR
28
28
  host: apiHost,
29
29
  token,
30
30
  siteId,
31
+ accountId,
31
32
  deployId,
32
33
  buildId,
33
34
  mode,
@@ -44,6 +44,10 @@ export const FLAGS: {
44
44
  string: boolean;
45
45
  describe: string;
46
46
  };
47
+ accountId: {
48
+ string: boolean;
49
+ describe: string;
50
+ };
47
51
  deployId: {
48
52
  string: boolean;
49
53
  describe: string;
package/lib/core/flags.js CHANGED
@@ -61,6 +61,10 @@ The NETLIFY_AUTH_TOKEN environment variable can be used as well.`,
61
61
  string: true,
62
62
  describe: `Netlify Site ID.`,
63
63
  },
64
+ accountId: {
65
+ string: true,
66
+ describe: `Netlify Account ID.`,
67
+ },
64
68
  deployId: {
65
69
  string: true,
66
70
  describe: `Netlify Deploy ID.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "29.51.5",
3
+ "version": "29.53.0",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -165,5 +165,5 @@
165
165
  "engines": {
166
166
  "node": "^14.16.0 || >=16.0.0"
167
167
  },
168
- "gitHead": "507a010535ba4028153a755b397501109fa872c9"
168
+ "gitHead": "99a36bca45de7ea18b9c5abe27cb63d23e4b30d4"
169
169
  }