@netlify/zip-it-and-ship-it 9.37.0 → 9.37.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.
Files changed (2) hide show
  1. package/dist/manifest.js +4 -1
  2. package/package.json +2 -2
package/dist/manifest.js CHANGED
@@ -12,7 +12,7 @@ export const createManifest = async ({ functions, path }) => {
12
12
  };
13
13
  await fs.writeFile(path, JSON.stringify(payload));
14
14
  };
15
- const formatFunctionForManifest = ({ bundler, displayName, generator, invocationMode, mainFile, name, path, priority, trafficRules, routes, runtime, runtimeVersion, runtimeAPIVersion, schedule, timeout, }) => {
15
+ const formatFunctionForManifest = ({ bundler, displayName, excludedRoutes, generator, invocationMode, mainFile, name, path, priority, trafficRules, routes, runtime, runtimeVersion, runtimeAPIVersion, schedule, timeout, }) => {
16
16
  const manifestFunction = {
17
17
  bundler,
18
18
  displayName,
@@ -32,5 +32,8 @@ const formatFunctionForManifest = ({ bundler, displayName, generator, invocation
32
32
  if (routes?.length !== 0) {
33
33
  manifestFunction.routes = routes;
34
34
  }
35
+ if (excludedRoutes && excludedRoutes.length !== 0) {
36
+ manifestFunction.excludedRoutes = excludedRoutes;
37
+ }
35
38
  return manifestFunction;
36
39
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/zip-it-and-ship-it",
3
- "version": "9.37.0",
3
+ "version": "9.37.1",
4
4
  "description": "Zip it and ship it",
5
5
  "main": "./dist/main.js",
6
6
  "type": "module",
@@ -105,5 +105,5 @@
105
105
  "engines": {
106
106
  "node": "^14.18.0 || >=16.0.0"
107
107
  },
108
- "gitHead": "10e722ebad2755434933ef205672e290d810259b"
108
+ "gitHead": "bcf99673bb311e1e86fe44e8902875328e90cf88"
109
109
  }