@netlify/build 29.21.1 → 29.21.2

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { buildSite } from './core/main.js';
2
- export type * from '../types/index.d.ts';
2
+ export type * from '../types/index.js';
3
3
  export { startDev } from './core/dev.js';
4
4
  export { runCoreSteps } from './steps/run_core_steps.js';
5
5
  export default buildSite;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "29.21.1",
3
+ "version": "29.21.2",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -70,11 +70,11 @@
70
70
  "@netlify/config": "^20.9.0",
71
71
  "@netlify/edge-bundler": "8.20.0",
72
72
  "@netlify/framework-info": "^9.8.10",
73
- "@netlify/functions-utils": "^5.2.29",
73
+ "@netlify/functions-utils": "^5.2.30",
74
74
  "@netlify/git-utils": "^5.1.1",
75
75
  "@netlify/plugins-list": "^6.71.0",
76
76
  "@netlify/run-utils": "^5.1.1",
77
- "@netlify/zip-it-and-ship-it": "9.18.1",
77
+ "@netlify/zip-it-and-ship-it": "9.19.0",
78
78
  "@opentelemetry/api": "^1.4.1",
79
79
  "@sindresorhus/slugify": "^2.0.0",
80
80
  "ansi-escapes": "^6.0.0",
@@ -145,5 +145,5 @@
145
145
  "engines": {
146
146
  "node": "^14.16.0 || >=16.0.0"
147
147
  },
148
- "gitHead": "4baa4dcd273945fb3b4dbe1779ec293011943e73"
148
+ "gitHead": "6f84bd6b90008cef1578295fbed11b82b9ccc8fa"
149
149
  }
@@ -31,6 +31,6 @@ type FunctionsObject = {
31
31
  /* eslint-enable camelcase */
32
32
 
33
33
  export type Functions = {
34
- '*': FunctionsObject
34
+ '*': FunctionsObject & { deno_import_map?: string }
35
35
  [pattern: GlobPattern]: FunctionsObject
36
36
  }
@@ -1,4 +1,4 @@
1
- import type { JSONValue } from '../utils/json_value.d.ts'
1
+ import type { JSONValue } from '../utils/json_value.js'
2
2
 
3
3
  // Helper type to be used as a workaround for the fact that `interface`s don't have implicit
4
4
  // index signatures: https://github.com/microsoft/TypeScript/issues/15300
@@ -1,8 +1,8 @@
1
- import type { Many } from '../utils/many.d.ts'
1
+ import type { Many } from '../utils/many.js'
2
2
 
3
- import type { Build } from './build.d.ts'
4
- import type { Functions } from './functions.d.ts'
5
- import type { PluginInputs } from './inputs.d.ts'
3
+ import type { Build } from './build.js'
4
+ import type { Functions } from './functions.js'
5
+ import type { PluginInputs } from './inputs.js'
6
6
 
7
7
  type HttpStatusCode = number
8
8
 
package/types/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export type { NetlifyPlugin } from './netlify_plugin.d.ts'
2
- export type { NetlifyPluginOptions } from './netlify_plugin_options.d.ts'
3
- export type { OnBuild, OnEnd, OnError, OnPostBuild, OnPreBuild, OnSuccess } from './netlify_event_handler.d.ts'
4
- export type { NetlifyConfig } from './config/netlify_config.d.ts'
1
+ export type { NetlifyPlugin } from './netlify_plugin.js'
2
+ export type { NetlifyPluginOptions } from './netlify_plugin_options.js'
3
+ export type { OnBuild, OnEnd, OnError, OnPostBuild, OnPreBuild, OnSuccess } from './netlify_event_handler.js'
4
+ export type { NetlifyConfig } from './config/netlify_config.js'
5
5
  export type { NetlifyPluginUtils } from './options/netlify_plugin_utils.js'
6
- export type { NetlifyPluginConstants } from './netlify_plugin_constants.d.ts'
7
- export type { ListedFunction, ListedFunctionFile } from './options/netlify_plugin_functions_util.d.ts'
6
+ export type { NetlifyPluginConstants } from './netlify_plugin_constants.js'
7
+ export type { ListedFunction, ListedFunctionFile } from './options/netlify_plugin_functions_util.js'
@@ -1,5 +1,5 @@
1
- import type { PluginInputs, StringKeys } from './config/inputs.d.ts'
2
- import type { NetlifyPluginOptions } from './netlify_plugin_options.d.ts'
1
+ import type { PluginInputs, StringKeys } from './config/inputs.js'
2
+ import type { NetlifyPluginOptions } from './netlify_plugin_options.js'
3
3
 
4
4
  interface NetlifyEventHandler<PluginOptions extends NetlifyPluginOptions = NetlifyPluginOptions> {
5
5
  (options: PluginOptions): void | Promise<void>
@@ -1,5 +1,5 @@
1
- import type { PluginInputs } from './config/inputs.d.ts'
2
- import type { OnBuild, OnEnd, OnError, OnPostBuild, OnPreBuild, OnSuccess } from './netlify_event_handler.d.ts'
1
+ import type { PluginInputs } from './config/inputs.js'
2
+ import type { OnBuild, OnEnd, OnError, OnPostBuild, OnPreBuild, OnSuccess } from './netlify_event_handler.js'
3
3
 
4
4
  export interface NetlifyPlugin<TInputs extends PluginInputs = PluginInputs> {
5
5
  /**
@@ -1,8 +1,8 @@
1
- import type { PluginInputs, StringKeys } from './config/inputs.d.ts'
2
- import type { NetlifyConfig } from './config/netlify_config.d.ts'
3
- import type { NetlifyPluginConstants } from './netlify_plugin_constants.d.ts'
4
- import type { NetlifyPluginUtils } from './options/netlify_plugin_utils.d.ts'
5
- import type { JSONValue } from './utils/json_value.d.ts'
1
+ import type { PluginInputs, StringKeys } from './config/inputs.js'
2
+ import type { NetlifyConfig } from './config/netlify_config.js'
3
+ import type { NetlifyPluginConstants } from './netlify_plugin_constants.js'
4
+ import type { NetlifyPluginUtils } from './options/netlify_plugin_utils.js'
5
+ import type { JSONValue } from './utils/json_value.js'
6
6
 
7
7
  export interface NetlifyPluginOptions<TInputs extends PluginInputs<StringKeys<TInputs>> = PluginInputs> {
8
8
  /**
@@ -1,4 +1,4 @@
1
- import type { Many } from '../utils/many.d.ts'
1
+ import type { Many } from '../utils/many.js'
2
2
 
3
3
  /**
4
4
  * Cache files between builds
@@ -1,9 +1,9 @@
1
- import type { NetlifyPluginBuildUtil } from './netlify_plugin_build_util.d.ts'
2
- import type { NetlifyPluginCacheUtil } from './netlify_plugin_cache_util.d.ts'
3
- import type { NetlifyPluginFunctionsUtil } from './netlify_plugin_functions_util.d.ts'
4
- import type { NetlifyPluginGitUtil } from './netlify_plugin_git_util.d.ts'
5
- import type { NetlifyPluginRunUtil } from './netlify_plugin_run_util.d.ts'
6
- import type { NetlifyPluginStatusUtil } from './netlify_plugin_status_util.d.ts'
1
+ import type { NetlifyPluginBuildUtil } from './netlify_plugin_build_util.js'
2
+ import type { NetlifyPluginCacheUtil } from './netlify_plugin_cache_util.js'
3
+ import type { NetlifyPluginFunctionsUtil } from './netlify_plugin_functions_util.js'
4
+ import type { NetlifyPluginGitUtil } from './netlify_plugin_git_util.js'
5
+ import type { NetlifyPluginRunUtil } from './netlify_plugin_run_util.js'
6
+ import type { NetlifyPluginStatusUtil } from './netlify_plugin_status_util.js'
7
7
 
8
8
  export interface NetlifyPluginUtils {
9
9
  build: NetlifyPluginBuildUtil