mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 21:07:47 +00:00
[next][node][redwood][remix] Update @vercel/nft to 0.21.0 (#8208)
### Related Issues Updates to the latest version of `@vercel/nft` which adds fs concurrency limits to help alleviate memory usage. x-ref: https://github.com/vercel/nft/pull/301 ### 📋 Checklist <!-- Please keep your PR as a Draft until the checklist is complete --> #### Tests - [ ] The code changed/added as part of this PR has been covered with tests - [ ] All tests pass locally with `yarn test-unit` #### Code Review - [ ] This PR has a concise title and thorough description useful to a reviewer - [ ] Issue from task tracker has a link to this PR
This commit is contained in:
@@ -39,11 +39,13 @@ async function runBuildLambda(inputPath) {
|
||||
config: build.config,
|
||||
});
|
||||
|
||||
const workPath = path.join(
|
||||
let workPath = path.join(
|
||||
os.tmpdir(),
|
||||
`vercel-${Date.now()}-${Math.floor(Math.random() * 100)}`
|
||||
);
|
||||
await fs.ensureDir(workPath);
|
||||
|
||||
workPath = await fs.realpath(workPath);
|
||||
console.log('building in', workPath);
|
||||
|
||||
const buildResult = await wrapper.build({
|
||||
|
||||
Reference in New Issue
Block a user