@netlify/build 29.21.0 → 29.21.1
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/install/missing.js +2 -2
- package/package.json +2 -2
package/lib/install/missing.js
CHANGED
|
@@ -34,13 +34,13 @@ export const installIntegrationPlugins = async function ({ integrations, autoPlu
|
|
|
34
34
|
await createAutoPluginsDir(logs, autoPluginsDir);
|
|
35
35
|
await addExactDependencies({ packageRoot: autoPluginsDir, isLocal: mode !== 'buildbot', packages });
|
|
36
36
|
};
|
|
37
|
-
const getIntegrationPackage = async function ({ integration: { version, dev }, context, testOpts }) {
|
|
37
|
+
const getIntegrationPackage = async function ({ integration: { version, dev }, context, testOpts = {} }) {
|
|
38
38
|
if (typeof version !== 'undefined') {
|
|
39
39
|
return `${version}/packages/buildhooks.tgz`;
|
|
40
40
|
}
|
|
41
41
|
if (typeof dev !== 'undefined' && context === 'dev') {
|
|
42
42
|
const { path } = dev;
|
|
43
|
-
const integrationDir = testOpts ? resolve(testOpts.cwd, path) : resolve(path);
|
|
43
|
+
const integrationDir = testOpts.cwd ? resolve(testOpts.cwd, path) : resolve(path);
|
|
44
44
|
try {
|
|
45
45
|
const res = await execa('npm', ['run', 'build'], { cwd: integrationDir });
|
|
46
46
|
// This is horrible and hacky, but `npm run build` will
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/build",
|
|
3
|
-
"version": "29.21.
|
|
3
|
+
"version": "29.21.1",
|
|
4
4
|
"description": "Netlify build module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./lib/index.js",
|
|
@@ -145,5 +145,5 @@
|
|
|
145
145
|
"engines": {
|
|
146
146
|
"node": "^14.16.0 || >=16.0.0"
|
|
147
147
|
},
|
|
148
|
-
"gitHead": "
|
|
148
|
+
"gitHead": "4baa4dcd273945fb3b4dbe1779ec293011943e73"
|
|
149
149
|
}
|