@netlify/build 29.20.5 → 29.20.7

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.
Files changed (155) hide show
  1. package/lib/core/bin.d.ts +2 -0
  2. package/lib/core/bin.js +2 -2
  3. package/lib/core/build.d.ts +84 -0
  4. package/lib/core/config.d.ts +65 -0
  5. package/lib/core/constants.d.ts +26 -0
  6. package/lib/core/dev.d.ts +18 -0
  7. package/lib/core/dry.d.ts +8 -0
  8. package/lib/core/feature_flags.d.ts +3 -0
  9. package/lib/core/flags.d.ts +230 -0
  10. package/lib/core/lingering.d.ts +7 -0
  11. package/lib/core/main.d.ts +14 -0
  12. package/lib/core/main.js +1 -3
  13. package/lib/core/missing_side_file.d.ts +9 -0
  14. package/lib/core/normalize_flags.d.ts +38 -0
  15. package/lib/core/report_metrics.d.ts +12 -0
  16. package/lib/core/severity.d.ts +38 -0
  17. package/lib/core/types.d.ts +83 -0
  18. package/lib/core/user_node_version.d.ts +1 -0
  19. package/lib/env/changes.d.ts +6 -0
  20. package/lib/env/main.d.ts +4 -0
  21. package/lib/env/metadata.d.ts +1 -0
  22. package/lib/error/api.d.ts +1 -0
  23. package/lib/error/build.d.ts +7 -0
  24. package/lib/error/cancel.d.ts +4 -0
  25. package/lib/error/colors.d.ts +1 -0
  26. package/lib/error/handle.d.ts +17 -0
  27. package/lib/error/info.d.ts +6 -0
  28. package/lib/error/monitor/location.d.ts +1 -0
  29. package/lib/error/monitor/normalize.d.ts +1 -0
  30. package/lib/error/monitor/print.d.ts +22 -0
  31. package/lib/error/monitor/report.d.ts +7 -0
  32. package/lib/error/monitor/start.d.ts +7 -0
  33. package/lib/error/parse/clean_stack.d.ts +5 -0
  34. package/lib/error/parse/location.d.ts +5 -0
  35. package/lib/error/parse/normalize.d.ts +1 -0
  36. package/lib/error/parse/parse.d.ts +39 -0
  37. package/lib/error/parse/plugin.d.ts +9 -0
  38. package/lib/error/parse/properties.d.ts +5 -0
  39. package/lib/error/parse/serialize_log.d.ts +14 -0
  40. package/lib/error/parse/serialize_status.d.ts +16 -0
  41. package/lib/error/parse/stack.d.ts +11 -0
  42. package/lib/error/report.d.ts +6 -0
  43. package/lib/error/type.d.ts +3 -0
  44. package/lib/index.d.ts +5 -0
  45. package/lib/index.js +6 -0
  46. package/lib/install/functions.d.ts +1 -0
  47. package/lib/install/local.d.ts +8 -0
  48. package/lib/install/main.d.ts +9 -0
  49. package/lib/install/missing.d.ts +12 -0
  50. package/lib/log/colors.d.ts +19 -0
  51. package/lib/log/description.d.ts +3 -0
  52. package/lib/log/header.d.ts +2 -0
  53. package/lib/log/header_func.d.ts +2 -0
  54. package/lib/log/logger.d.ts +32 -0
  55. package/lib/log/messages/compatibility.d.ts +6 -0
  56. package/lib/log/messages/config.d.ts +21 -0
  57. package/lib/log/messages/config.js +1 -0
  58. package/lib/log/messages/core.d.ts +12 -0
  59. package/lib/log/messages/core_steps.d.ts +21 -0
  60. package/lib/log/messages/dry.d.ts +18 -0
  61. package/lib/log/messages/install.d.ts +4 -0
  62. package/lib/log/messages/ipc.d.ts +7 -0
  63. package/lib/log/messages/mutations.d.ts +16 -0
  64. package/lib/log/messages/plugins.d.ts +8 -0
  65. package/lib/log/messages/status.d.ts +1 -0
  66. package/lib/log/messages/steps.d.ts +10 -0
  67. package/lib/log/serialize.d.ts +2 -0
  68. package/lib/log/stream.d.ts +10 -0
  69. package/lib/log/theme.d.ts +19 -0
  70. package/lib/plugins/child/diff.d.ts +2 -0
  71. package/lib/plugins/child/error.d.ts +2 -0
  72. package/lib/plugins/child/lazy.d.ts +1 -0
  73. package/lib/plugins/child/load.d.ts +14 -0
  74. package/lib/plugins/child/logic.d.ts +5 -0
  75. package/lib/plugins/child/main.d.ts +1 -0
  76. package/lib/plugins/child/run.d.ts +18 -0
  77. package/lib/plugins/child/status.d.ts +1 -0
  78. package/lib/plugins/child/typescript.d.ts +2 -0
  79. package/lib/plugins/child/utils.d.ts +32 -0
  80. package/lib/plugins/child/validate.d.ts +1 -0
  81. package/lib/plugins/compatibility.d.ts +33 -0
  82. package/lib/plugins/error.d.ts +4 -0
  83. package/lib/plugins/events.d.ts +5 -0
  84. package/lib/plugins/expected_version.d.ts +10 -0
  85. package/lib/plugins/internal.d.ts +1 -0
  86. package/lib/plugins/ipc.d.ts +10 -0
  87. package/lib/plugins/list.d.ts +9 -0
  88. package/lib/plugins/load.d.ts +9 -0
  89. package/lib/plugins/manifest/check.d.ts +10 -0
  90. package/lib/plugins/manifest/load.d.ts +7 -0
  91. package/lib/plugins/manifest/main.d.ts +18 -0
  92. package/lib/plugins/manifest/path.d.ts +5 -0
  93. package/lib/plugins/manifest/validate.d.ts +1 -0
  94. package/lib/plugins/node_version.d.ts +22 -0
  95. package/lib/plugins/options.d.ts +18 -0
  96. package/lib/plugins/pinned_version.d.ts +24 -0
  97. package/lib/plugins/resolve.d.ts +17 -0
  98. package/lib/plugins/spawn.d.ts +2 -0
  99. package/lib/plugins_core/add.d.ts +13 -0
  100. package/lib/plugins_core/build_command.d.ts +36 -0
  101. package/lib/plugins_core/deploy/buildbot_client.d.ts +12 -0
  102. package/lib/plugins_core/deploy/index.d.ts +30 -0
  103. package/lib/plugins_core/edge_functions/index.d.ts +27 -0
  104. package/lib/plugins_core/edge_functions/lib/error.d.ts +1 -0
  105. package/lib/plugins_core/edge_functions/validate_manifest/validate_edge_functions_manifest.d.ts +2 -0
  106. package/lib/plugins_core/functions/error.d.ts +1 -0
  107. package/lib/plugins_core/functions/feature_flags.d.ts +2 -0
  108. package/lib/plugins_core/functions/index.d.ts +53 -0
  109. package/lib/plugins_core/functions/utils.d.ts +11 -0
  110. package/lib/plugins_core/functions/zisi.d.ts +22 -0
  111. package/lib/plugins_core/functions_install/index.d.ts +6 -0
  112. package/lib/plugins_core/list.d.ts +8 -0
  113. package/lib/plugins_core/save_artifacts/index.d.ts +26 -0
  114. package/lib/plugins_core/secrets_scanning/index.d.ts +16 -0
  115. package/lib/plugins_core/secrets_scanning/utils.d.ts +67 -0
  116. package/lib/report/statsd.d.ts +29 -0
  117. package/lib/status/add.d.ts +9 -0
  118. package/lib/status/colors.d.ts +1 -0
  119. package/lib/status/load_error.d.ts +6 -0
  120. package/lib/status/report.d.ts +14 -0
  121. package/lib/status/success.d.ts +5 -0
  122. package/lib/steps/core_step.d.ts +50 -0
  123. package/lib/steps/error.d.ts +48 -0
  124. package/lib/steps/get.d.ts +8 -0
  125. package/lib/steps/plugin.d.ts +39 -0
  126. package/lib/steps/return.d.ts +55 -0
  127. package/lib/steps/run_core_steps.d.ts +5 -0
  128. package/lib/steps/run_step.d.ts +52 -0
  129. package/lib/steps/run_steps.d.ts +44 -0
  130. package/lib/steps/update_config.d.ts +23 -0
  131. package/lib/telemetry/main.d.ts +18 -0
  132. package/lib/time/aggregate.d.ts +1 -0
  133. package/lib/time/main.d.ts +16 -0
  134. package/lib/time/measure.d.ts +10 -0
  135. package/lib/time/report.d.ts +14 -0
  136. package/lib/tracing/main.d.ts +29 -0
  137. package/lib/utils/errors.d.ts +1 -0
  138. package/lib/utils/json.d.ts +7 -0
  139. package/lib/utils/omit.d.ts +1 -0
  140. package/lib/utils/package.d.ts +10 -0
  141. package/lib/utils/remove_falsy.d.ts +1 -0
  142. package/lib/utils/resolve.d.ts +8 -0
  143. package/lib/utils/runtime.d.ts +1 -0
  144. package/lib/utils/semver.d.ts +2 -0
  145. package/package.json +12 -15
  146. package/types/config/inputs.d.ts +1 -1
  147. package/types/config/netlify_config.d.ts +4 -4
  148. package/types/index.d.ts +7 -7
  149. package/types/netlify_event_handler.d.ts +2 -2
  150. package/types/netlify_plugin.d.ts +2 -2
  151. package/types/netlify_plugin_options.d.ts +5 -5
  152. package/types/options/netlify_plugin_cache_util.d.ts +1 -1
  153. package/types/options/netlify_plugin_run_util.d.ts +1 -1
  154. package/types/options/netlify_plugin_utils.d.ts +6 -6
  155. package/types/options/index.d.ts +0 -1
@@ -1,4 +1,4 @@
1
- import { Many } from '../utils/many'
1
+ import type { Many } from '../utils/many.d.ts'
2
2
 
3
3
  /**
4
4
  * Cache files between builds
@@ -1,4 +1,4 @@
1
- import { Options as ExecaOptions, ExecaChildProcess } from 'execa'
1
+ import type { Options as ExecaOptions, ExecaChildProcess } from 'execa'
2
2
 
3
3
  type NetlifyPluginRunUtilOptions = Omit<ExecaOptions, 'preferLocal'> & {
4
4
  /**
@@ -1,9 +1,9 @@
1
- import { NetlifyPluginBuildUtil } from './netlify_plugin_build_util'
2
- import { NetlifyPluginCacheUtil } from './netlify_plugin_cache_util'
3
- import { NetlifyPluginFunctionsUtil } from './netlify_plugin_functions_util'
4
- import { NetlifyPluginGitUtil } from './netlify_plugin_git_util'
5
- import { NetlifyPluginRunUtil } from './netlify_plugin_run_util'
6
- import { NetlifyPluginStatusUtil } from './netlify_plugin_status_util'
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'
7
7
 
8
8
  export interface NetlifyPluginUtils {
9
9
  build: NetlifyPluginBuildUtil
@@ -1 +0,0 @@
1
- export { NetlifyPluginUtils } from './netlify_plugin_utils'