@netlify/build 26.1.6 → 26.4.0-rc

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "26.1.6",
3
+ "version": "26.4.0-rc",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./src/core/main.js",
@@ -63,8 +63,9 @@
63
63
  "@netlify/plugin-edge-handlers": "^3.0.4",
64
64
  "@netlify/plugins-list": "^6.3.0",
65
65
  "@netlify/run-utils": "^4.0.0",
66
- "@netlify/zip-it-and-ship-it": "^5.4.1",
66
+ "@netlify/zip-it-and-ship-it": "5.4.1",
67
67
  "@sindresorhus/slugify": "^1.1.0",
68
+ "@types/node": "^16.0.0",
68
69
  "ansi-escapes": "^4.3.2",
69
70
  "chalk": "^4.1.2",
70
71
  "clean-stack": "^3.0.1",
@@ -103,6 +104,7 @@
103
104
  "supports-color": "^8.0.0",
104
105
  "tmp-promise": "^3.0.2",
105
106
  "ts-node": "^10.4.0",
107
+ "typescript": "^4.5.4",
106
108
  "update-notifier": "^5.0.0",
107
109
  "uuid": "^8.0.0",
108
110
  "yargs": "^17.3.1"
@@ -24,6 +24,7 @@ const normalizeFunctionConfig = ({ buildDir, functionConfig = {}, isRunningLocal
24
24
  includedFiles: functionConfig.included_files,
25
25
  includedFilesBasePath: buildDir,
26
26
  ignoredNodeModules: functionConfig.ignored_node_modules,
27
+ schedule: functionConfig.schedule,
27
28
 
28
29
  // When the user selects esbuild as the Node bundler, we still want to use
29
30
  // the legacy ZISI bundler as a fallback. Rather than asking the user to
@@ -37,7 +38,9 @@ const normalizeFunctionConfig = ({ buildDir, functionConfig = {}, isRunningLocal
37
38
  // build process.
38
39
  rustTargetDirectory: isRunningLocally ? undefined : resolve(buildDir, '.netlify', 'rust-functions-cache', '[name]'),
39
40
 
40
- schedule: functionConfig.schedule,
41
+ // Go functions should be zipped only when building locally. When running in
42
+ // buildbot, the Go API client will handle the zipping.
43
+ zipGo: isRunningLocally ? true : undefined,
41
44
  })
42
45
 
43
46
  const getZisiParameters = ({