@netlify/build 27.1.0 → 27.1.3
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/package.json +4 -4
- package/src/steps/run_core_steps.js +15 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/build",
|
|
3
|
-
"version": "27.1.
|
|
3
|
+
"version": "27.1.3",
|
|
4
4
|
"description": "Netlify build module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./src/core/main.js",
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
"license": "MIT",
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@bugsnag/js": "^7.0.0",
|
|
59
|
-
"@netlify/edge-bundler": "^1.
|
|
59
|
+
"@netlify/edge-bundler": "^1.1.0",
|
|
60
60
|
"@netlify/cache-utils": "^4.0.0",
|
|
61
61
|
"@netlify/config": "^18.0.0",
|
|
62
62
|
"@netlify/functions-utils": "^4.0.0",
|
|
63
63
|
"@netlify/git-utils": "^4.0.0",
|
|
64
|
-
"@netlify/plugins-list": "^6.
|
|
64
|
+
"@netlify/plugins-list": "^6.25.0",
|
|
65
65
|
"@netlify/run-utils": "^4.0.0",
|
|
66
|
-
"@netlify/zip-it-and-ship-it": "5.9.
|
|
66
|
+
"@netlify/zip-it-and-ship-it": "5.9.2",
|
|
67
67
|
"@sindresorhus/slugify": "^2.0.0",
|
|
68
68
|
"@types/node": "^16.0.0",
|
|
69
69
|
"ansi-escapes": "^5.0.0",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable max-lines */
|
|
2
1
|
import { getConfigOpts, loadConfig } from '../core/config.js'
|
|
3
2
|
import { getConstants } from '../core/constants.js'
|
|
4
3
|
import { normalizeFlags } from '../core/normalize_flags.js'
|
|
@@ -158,6 +157,7 @@ const executeBuildStep = async function ({
|
|
|
158
157
|
errorMonitor,
|
|
159
158
|
logs,
|
|
160
159
|
debug,
|
|
160
|
+
pluginsOptions: [],
|
|
161
161
|
})
|
|
162
162
|
|
|
163
163
|
throw error
|
|
@@ -176,24 +176,19 @@ const runBuildStep = async function ({
|
|
|
176
176
|
buildSteps,
|
|
177
177
|
repositoryRoot,
|
|
178
178
|
}) {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
})
|
|
179
|
+
const { netlifyConfig: netlifyConfigA, configMutations } = await runSteps({
|
|
180
|
+
steps: getBuildSteps(buildSteps),
|
|
181
|
+
buildDir,
|
|
182
|
+
nodePath,
|
|
183
|
+
constants,
|
|
184
|
+
netlifyConfig,
|
|
185
|
+
logs,
|
|
186
|
+
debug,
|
|
187
|
+
timers: [],
|
|
188
|
+
featureFlags,
|
|
189
|
+
childEnv,
|
|
190
|
+
repositoryRoot,
|
|
191
|
+
})
|
|
193
192
|
|
|
194
|
-
|
|
195
|
-
} catch (error) {
|
|
196
|
-
console.error(error)
|
|
197
|
-
}
|
|
193
|
+
return { netlifyConfig: netlifyConfigA, configMutations }
|
|
198
194
|
}
|
|
199
|
-
/* eslint-enable max-lines */
|