@netlify/build 29.6.3 → 29.6.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/plugins/spawn.js +3 -8
- package/package.json +3 -3
package/lib/plugins/spawn.js
CHANGED
|
@@ -12,18 +12,18 @@ const CHILD_MAIN_FILE = fileURLToPath(new URL('child/main.js', import.meta.url))
|
|
|
12
12
|
// (for both security and safety reasons)
|
|
13
13
|
// - logs can be buffered which allows manipulating them for log shipping,
|
|
14
14
|
// transforming and parallel plugins
|
|
15
|
-
const tStartPlugins = async function ({ pluginsOptions, buildDir, childEnv, logs, debug,
|
|
15
|
+
const tStartPlugins = async function ({ pluginsOptions, buildDir, childEnv, logs, debug, quiet }) {
|
|
16
16
|
if (!quiet) {
|
|
17
17
|
logRuntime(logs, pluginsOptions);
|
|
18
18
|
logLoadingPlugins(logs, pluginsOptions, debug);
|
|
19
19
|
}
|
|
20
20
|
logOutdatedPlugins(logs, pluginsOptions);
|
|
21
21
|
logIncompatiblePlugins(logs, pluginsOptions);
|
|
22
|
-
const childProcesses = await Promise.all(pluginsOptions.map(({ pluginDir, nodePath }) => startPlugin({ pluginDir, nodePath, buildDir, childEnv
|
|
22
|
+
const childProcesses = await Promise.all(pluginsOptions.map(({ pluginDir, nodePath }) => startPlugin({ pluginDir, nodePath, buildDir, childEnv })));
|
|
23
23
|
return { childProcesses };
|
|
24
24
|
};
|
|
25
25
|
export const startPlugins = measureDuration(tStartPlugins, 'start_plugins');
|
|
26
|
-
const startPlugin = async function ({ pluginDir, nodePath, buildDir, childEnv
|
|
26
|
+
const startPlugin = async function ({ pluginDir, nodePath, buildDir, childEnv }) {
|
|
27
27
|
const childProcess = execaNode(CHILD_MAIN_FILE, [], {
|
|
28
28
|
cwd: buildDir,
|
|
29
29
|
preferLocal: true,
|
|
@@ -32,11 +32,6 @@ const startPlugin = async function ({ pluginDir, nodePath, buildDir, childEnv, f
|
|
|
32
32
|
execPath: nodePath,
|
|
33
33
|
env: childEnv,
|
|
34
34
|
extendEnv: false,
|
|
35
|
-
// Feature flag: https://app.launchdarkly.com/default/production/features/netlify_build_use_json_serialization_for_plugin_ipc/targeting
|
|
36
|
-
// TODO: remove feature flag once fully rolled out
|
|
37
|
-
...(!featureFlags.netlify_build_use_json_serialization_for_plugin_ipc && {
|
|
38
|
-
serialization: 'advanced',
|
|
39
|
-
}),
|
|
40
35
|
});
|
|
41
36
|
try {
|
|
42
37
|
await getEventFromChild(childProcess, 'ready');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/build",
|
|
3
|
-
"version": "29.6.
|
|
3
|
+
"version": "29.6.4",
|
|
4
4
|
"description": "Netlify build module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./lib/core/main.js",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@netlify/cache-utils": "^5.1.2",
|
|
68
68
|
"@netlify/config": "^20.3.3",
|
|
69
69
|
"@netlify/edge-bundler": "8.9.0",
|
|
70
|
-
"@netlify/framework-info": "^9.8.
|
|
70
|
+
"@netlify/framework-info": "^9.8.5",
|
|
71
71
|
"@netlify/functions-utils": "^5.2.0",
|
|
72
72
|
"@netlify/git-utils": "^5.1.0",
|
|
73
73
|
"@netlify/plugins-list": "^6.66.0",
|
|
@@ -147,5 +147,5 @@
|
|
|
147
147
|
"module": "commonjs"
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
|
-
"gitHead": "
|
|
150
|
+
"gitHead": "9cebb5810464680fb8dd7f9a579d6679f7a9030b"
|
|
151
151
|
}
|