vercel / vercel/nft

0.30.2 scans too many files

Open
#545 8 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
185
PR merge metrics
No merged PRs in 30d

Description

Hi, we're using @vercel/nft in the Vercel and Netlify Astro adapters to bundle handlers before deploying.

In a private project from one of our users, way too many files were being scanned and included (eg. files in .git/), causing the builds on Vercel to fail because it was going over the 15k files limit.

Overriding the dependency with NPM to 0.30.1 solved the issue so I'm pretty sure this is somehow caused by #542.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing @vercel/nft 0.30.2 with 0.30.1 and reviewing the change associated with issue #542. Reproduce the scan through the Vercel or Netlify Astro adapter scenario, then verify that files such as .git/ are no longer scanned or included and that the result stays below the deployment file limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.