vanilla-extract icon indicating copy to clipboard operation
vanilla-extract copied to clipboard

Support `deno.json` and `package.json` without a `name` field

Open emonadeo opened this issue 9 months ago • 1 comments

Describe the bug

I would love to use vanilla-extract in a Deno environment however currently the getPackageInfo function cannot find a package.json with a name field.

While Deno has compatibility for package.json it would be nice to not have to rely on it.

Reproduction

https://github.com/emonadeo/repro_vanilla-extract_1563

System Info

N/A

Used Package Manager

pnpm

Logs

Couldn't find parent package.json with a name field from '/<redacted>'
  Location:
    /<redacted>/node_modules/.deno/@[email protected]/node_modules/@vanilla-extract/integration/dist/vanilla-extract-integration.cjs.dev.js:351:11

Validations

emonadeo avatar Mar 23 '25 23:03 emonadeo