@netlify/build 29.32.3 → 29.33.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.
@@ -8,7 +8,7 @@ import { ROOT_PACKAGE_JSON } from '../utils/json.js';
8
8
  */
9
9
  export const getConstants = async function ({ configPath, buildDir, packagePath, functionsDistDir, edgeFunctionsDistDir, cacheDir, netlifyConfig, siteInfo: { id: siteId }, apiHost, token, mode, }) {
10
10
  const isLocal = mode !== 'buildbot';
11
- const normalizedCacheDir = getCacheDir({ cacheDir, cwd: buildDir });
11
+ const normalizedCacheDir = getCacheDir({ cacheDir, cwd: join(buildDir, packagePath || '') });
12
12
  const constants = {
13
13
  // Path to the Netlify configuration file
14
14
  CONFIG_PATH: configPath,
@@ -33,6 +33,7 @@ export type BuildCLIFlags = {
33
33
  * @default false
34
34
  */
35
35
  quiet?: boolean;
36
+ packagePath?: string;
36
37
  statsd?: {
37
38
  host?: string;
38
39
  port?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "29.32.3",
3
+ "version": "29.33.0",
4
4
  "description": "Netlify build module",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -71,7 +71,7 @@
71
71
  "@netlify/blobs": "^6.4.2",
72
72
  "@netlify/cache-utils": "^5.1.5",
73
73
  "@netlify/config": "^20.10.2",
74
- "@netlify/edge-bundler": "11.2.1",
74
+ "@netlify/edge-bundler": "11.2.2",
75
75
  "@netlify/framework-info": "^9.8.10",
76
76
  "@netlify/functions-utils": "^5.2.47",
77
77
  "@netlify/git-utils": "^5.1.1",
@@ -163,5 +163,5 @@
163
163
  "engines": {
164
164
  "node": "^14.16.0 || >=16.0.0"
165
165
  },
166
- "gitHead": "3215ed837d444ce732435b9ff7cd3990d41cff89"
166
+ "gitHead": "a06feafec8c99b03c76c19e32f62c89152f3e25b"
167
167
  }