@netlify/build 29.16.3 → 29.16.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.
- package/lib/core/build.js +1 -0
- package/lib/core/config.js +4 -4
- package/lib/plugins/resolve.js +1 -1
- package/package.json +3 -3
package/lib/core/build.js
CHANGED
package/lib/core/config.js
CHANGED
|
@@ -37,8 +37,8 @@ export const getConfigOpts = function ({ config, defaultConfig, cwd, repositoryR
|
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
// Retrieve configuration object
|
|
40
|
-
const tLoadConfig = async function ({ configOpts, cachedConfig, cachedConfigPath, envOpt, debug, logs, nodePath, quiet, }) {
|
|
41
|
-
const { configPath, headersPath, redirectsPath, buildDir, repositoryRoot, config: netlifyConfig, context: contextA, branch: branchA, token: tokenA, api, siteInfo, env, integrations, } = await resolveInitialConfig(configOpts, cachedConfig, cachedConfigPath);
|
|
40
|
+
const tLoadConfig = async function ({ configOpts, cachedConfig, cachedConfigPath, envOpt, debug, logs, nodePath, quiet, featureFlags, }) {
|
|
41
|
+
const { configPath, headersPath, redirectsPath, buildDir, repositoryRoot, config: netlifyConfig, context: contextA, branch: branchA, token: tokenA, api, siteInfo, env, integrations, } = await resolveInitialConfig(configOpts, cachedConfig, cachedConfigPath, featureFlags);
|
|
42
42
|
if (!quiet) {
|
|
43
43
|
logConfigInfo({ logs, configPath, buildDir, netlifyConfig, context: contextA, debug });
|
|
44
44
|
}
|
|
@@ -68,8 +68,8 @@ export const loadConfig = measureDuration(tLoadConfig, 'resolve_config');
|
|
|
68
68
|
// Retrieve initial configuration.
|
|
69
69
|
// In the buildbot and CLI, we re-use the already parsed `@netlify/config`
|
|
70
70
|
// return value which is passed as `cachedConfig`/`cachedConfigPath`.
|
|
71
|
-
const resolveInitialConfig = async function (configOpts, cachedConfig, cachedConfigPath) {
|
|
72
|
-
return await resolveConfig({ ...configOpts, cachedConfig, cachedConfigPath });
|
|
71
|
+
const resolveInitialConfig = async function (configOpts, cachedConfig, cachedConfigPath, featureFlags) {
|
|
72
|
+
return await resolveConfig({ ...configOpts, cachedConfig, cachedConfigPath, featureFlags });
|
|
73
73
|
};
|
|
74
74
|
const logConfigInfo = function ({ logs, configPath, buildDir, netlifyConfig, context, debug }) {
|
|
75
75
|
logBuildDir(logs, buildDir);
|
package/lib/plugins/resolve.js
CHANGED
|
@@ -36,7 +36,7 @@ export const resolvePluginsPath = async function ({ pluginsOptions, siteInfo, bu
|
|
|
36
36
|
logs,
|
|
37
37
|
});
|
|
38
38
|
let integrationPluginOptions = [];
|
|
39
|
-
if (featureFlags.
|
|
39
|
+
if (featureFlags.buildbot_fetch_integrations) {
|
|
40
40
|
integrationPluginOptions = await handleIntegrations({ integrations, autoPluginsDir, mode, logs });
|
|
41
41
|
}
|
|
42
42
|
return [...pluginsOptionsE, ...integrationPluginOptions];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/build",
|
|
3
|
-
"version": "29.16.
|
|
3
|
+
"version": "29.16.4",
|
|
4
4
|
"description": "Netlify build module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./lib/core/main.js",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@bugsnag/js": "^7.0.0",
|
|
66
66
|
"@honeycombio/opentelemetry-node": "^0.4.0",
|
|
67
67
|
"@netlify/cache-utils": "^5.1.5",
|
|
68
|
-
"@netlify/config": "^20.6.
|
|
68
|
+
"@netlify/config": "^20.6.3",
|
|
69
69
|
"@netlify/edge-bundler": "8.16.4",
|
|
70
70
|
"@netlify/framework-info": "^9.8.10",
|
|
71
71
|
"@netlify/functions-utils": "^5.2.18",
|
|
@@ -148,5 +148,5 @@
|
|
|
148
148
|
"module": "commonjs"
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
|
-
"gitHead": "
|
|
151
|
+
"gitHead": "28f104de3b83def70a633289c72c70c9c7360ce0"
|
|
152
152
|
}
|