Skip to content

Commit 74936ee

Browse files
chore(deps): update dependency @netlify/build to ^29.33.5 (#2392)
* chore(deps): update dependency @netlify/build to ^29.33.5 * chore: update imports --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Matt Kane <[email protected]>
1 parent aad8712 commit 74936ee

15 files changed

+16943
-20242
lines changed

package-lock.json

+16,928-20,226
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@babel/preset-env": "^7.15.8",
5454
"@babel/preset-typescript": "^7.16.0",
5555
"@delucis/if-env": "^1.1.2",
56-
"@netlify/build": "^29.30.0",
56+
"@netlify/build": "^29.33.5",
5757
"@netlify/eslint-config-node": "^7.0.1",
5858
"@testing-library/cypress": "^9.0.0",
5959
"@types/fs-extra": "^9.0.13",

packages/runtime/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"devDependencies": {
4141
"@delucis/if-env": "^1.1.2",
42-
"@netlify/build": "^29.30.0",
42+
"@netlify/build": "^29.33.5",
4343
"@types/fs-extra": "^9.0.13",
4444
"@types/jest": "^27.4.1",
4545
"@types/merge-stream": "^1.1.2",

packages/runtime/src/helpers/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { NetlifyConfig } from '@netlify/build/types'
1+
import type { NetlifyConfig } from '@netlify/build'
22
import destr from 'destr'
33
import { readJSON, writeJSON } from 'fs-extra'
44
import type { Header } from 'next/dist/lib/load-custom-routes'

packages/runtime/src/helpers/dev.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { resolve } from 'path'
22

3-
import type { OnPreBuild } from '@netlify/build/types'
3+
import type { OnPreBuild } from '@netlify/build'
44
import execa from 'execa'
55

66
import { writeDevEdgeFunction } from './edge'

packages/runtime/src/helpers/edge.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { promises as fs, existsSync } from 'fs'
22
import { resolve, join } from 'path'
33

4-
import type { NetlifyConfig, NetlifyPluginConstants } from '@netlify/build/types'
4+
import type { NetlifyConfig, NetlifyPluginConstants } from '@netlify/build'
55
import { greenBright } from 'chalk'
66
import destr from 'destr'
77
import { copy, copyFile, emptyDir, ensureDir, readJSON, writeJSON, writeJson } from 'fs-extra'

packages/runtime/src/helpers/files.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { cpus } from 'os'
22

33
import type { Blobs } from '@netlify/blobs'
4-
import type { NetlifyConfig } from '@netlify/build/types'
4+
import type { NetlifyConfig } from '@netlify/build'
55
import { yellowBright } from 'chalk'
66
import { existsSync, readJson, move, copy, writeJson, ensureDir, readFileSync, remove, readFile } from 'fs-extra'
77
import globby from 'globby'

packages/runtime/src/helpers/functions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { NetlifyConfig, NetlifyPluginConstants } from '@netlify/build/types'
1+
import type { NetlifyConfig, NetlifyPluginConstants } from '@netlify/build'
22
import bridgeFile from '@vercel/node-bridge'
33
import chalk from 'chalk'
44
import destr from 'destr'

packages/runtime/src/helpers/redirects.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { NetlifyConfig } from '@netlify/build/types'
1+
import type { NetlifyConfig } from '@netlify/build'
22
import { yellowBright } from 'chalk'
33
import destr from 'destr'
44
import { readJSON } from 'fs-extra'

packages/runtime/src/helpers/utils.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import type { NetlifyConfig } from '@netlify/build/types'
2-
import type { Header } from '@netlify/build/types/config/netlify_config'
1+
import type { NetlifyConfig } from '@netlify/build'
32
import globby from 'globby'
43
import type { ExperimentalConfig } from 'next/dist/server/config-shared'
54
import type { ImageConfigComplete, RemotePattern } from 'next/dist/shared/lib/image-config'
@@ -292,7 +291,7 @@ export const isNextAuthInstalled = (): boolean => {
292291
}
293292
}
294293

295-
export const getCustomImageResponseHeaders = (headers: Header[]): Record<string, string> | null => {
294+
export const getCustomImageResponseHeaders = (headers: NetlifyConfig['headers']): Record<string, string> | null => {
296295
const customImageResponseHeaders = headers.find((header) => header.for?.startsWith('/_next/image/'))
297296

298297
if (customImageResponseHeaders) {

packages/runtime/src/helpers/verification.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { existsSync, promises } from 'fs'
22
import path, { relative, join } from 'path'
33

4-
import type { NetlifyConfig, NetlifyPluginUtils } from '@netlify/build/types'
4+
import type { NetlifyConfig, NetlifyPluginUtils } from '@netlify/build'
55
import { yellowBright, greenBright, blueBright, reset } from 'chalk'
66
import { async as StreamZip } from 'node-stream-zip'
77
import { outdent } from 'outdent'

packages/runtime/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { join, relative } from 'path'
22

3-
import type { NetlifyPlugin, NetlifyPluginConstants, NetlifyPluginOptions } from '@netlify/build/types'
3+
import type { NetlifyPlugin, NetlifyPluginConstants, NetlifyPluginOptions } from '@netlify/build'
44
import { bold, redBright } from 'chalk'
55
import destr from 'destr'
66
import { existsSync, readFileSync } from 'fs-extra'

test/helpers/config.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { NetlifyPluginOptions } from '@netlify/build/types'
1+
import type { NetlifyPluginOptions } from '@netlify/build'
22

33
import { generateCustomHeaders, NextConfig } from '../../packages/runtime/src/helpers/config'
44

test/helpers/verification.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { NetlifyPluginOptions, NetlifyPluginUtils } from '@netlify/build/types'
1+
import type { NetlifyPluginOptions, NetlifyPluginUtils } from '@netlify/build'
22
import Chance from 'chance'
33
import { outdent } from 'outdent'
44

test/index.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import os from 'os'
22
import path, { resolve } from 'path'
33
import process from 'process'
44

5-
import type { NetlifyPluginOptions } from '@netlify/build/types'
5+
import type { NetlifyPluginOptions } from '@netlify/build'
66
import Chance from 'chance'
77
import { writeJSON, unlink, existsSync, readFileSync, ensureDir, readJson, pathExists, writeFile, move } from 'fs-extra'
88
import { join, relative } from 'pathe'

0 commit comments

Comments
 (0)