@netlify/build 30.1.0 → 31.0.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.
@@ -40,7 +40,7 @@ export function getConfigOpts({ config, defaultConfig, cwd, repositoryRoot, pack
40
40
  featureFlags: any;
41
41
  };
42
42
  export const loadConfig: any;
43
- export function resolveUpdatedConfig(configOpts: any, configMutations: any, defaultConfig: any): Promise<any>;
43
+ export function resolveUpdatedConfig(configOpts: any, configMutations: any, defaultConfig: any): Promise<import("packages/config/lib/main.js").Config>;
44
44
  export function saveUpdatedConfig({ configMutations, buildDir, repositoryRoot, configPath, outputConfigPath, headersPath, redirectsPath, logs, featureFlags, context, branch, debug, saveConfig, }: {
45
45
  configMutations: any;
46
46
  buildDir: any;
@@ -23,7 +23,7 @@ export const installMissingPlugins = async function ({ missingPlugins, autoPlugi
23
23
  export const installIntegrationPlugins = async function ({ integrations, autoPluginsDir, mode, logs, context, testOpts, pluginsEnv, buildDir, }) {
24
24
  const integrationsToBuild = integrations.filter((integration) => typeof integration.dev !== 'undefined' && context === 'dev');
25
25
  if (integrationsToBuild.length) {
26
- logSubHeader(logs, 'Building integrations');
26
+ logSubHeader(logs, 'Building extensions');
27
27
  logArray(logs, integrationsToBuild.map(({ slug, dev: { path } }) => `${slug} from ${path}`));
28
28
  }
29
29
  const packages = (await Promise.all(integrations.map((integration) => getIntegrationPackage({ integration, context, testOpts, buildDir, pluginsEnv })))).filter(Boolean);
@@ -19,7 +19,7 @@ export const logLoadingIntegration = (logs, pluginOptions) => {
19
19
  if (loadingPlugins.length === 0) {
20
20
  return;
21
21
  }
22
- logSubHeader(logs, 'Loading integrations');
22
+ logSubHeader(logs, 'Loading extensions');
23
23
  logArray(logs, loadingPlugins);
24
24
  };
25
25
  export const logLoadingPlugins = function (logs, pluginsOptions, debug) {
@@ -11,7 +11,7 @@ export const logInstallIntegrations = function (logs, integrations) {
11
11
  if (integrations.length === 0) {
12
12
  return;
13
13
  }
14
- logSubHeader(logs, 'Installing integrations');
14
+ logSubHeader(logs, 'Installing extensions');
15
15
  logArray(logs, integrations.map((integration) => integration.slug));
16
16
  };
17
17
  export const logInstallLocalPluginsDeps = function (logs, localPluginsOptions) {
@@ -26,5 +26,8 @@ export interface NetlifyPluginOptions<TInputs extends PluginInputs<StringKeys<TI
26
26
  */
27
27
  extensionMetadata: {
28
28
  extension_token?: string;
29
+ slug?: string;
30
+ author?: string;
31
+ version?: string;
29
32
  };
30
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "30.1.0",
3
+ "version": "31.0.0",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -69,8 +69,8 @@
69
69
  "@bugsnag/js": "^7.0.0",
70
70
  "@netlify/blobs": "^8.1.2",
71
71
  "@netlify/cache-utils": "^5.2.0",
72
- "@netlify/config": "^21.0.5",
73
- "@netlify/edge-bundler": "12.4.0",
72
+ "@netlify/config": "^21.0.7",
73
+ "@netlify/edge-bundler": "13.0.0",
74
74
  "@netlify/framework-info": "^9.9.2",
75
75
  "@netlify/functions-utils": "^5.3.13",
76
76
  "@netlify/git-utils": "^5.2.0",
@@ -159,5 +159,5 @@
159
159
  "engines": {
160
160
  "node": "^14.16.0 || >=16.0.0"
161
161
  },
162
- "gitHead": "0e4628f57a0a7d02594b5070074445a4ff69b809"
162
+ "gitHead": "8d10878db3be9cfefe3162fd155c76595aba045e"
163
163
  }