Skip to content

Support deno.json and package.json without a name field #1563

Open
@emonadeo

Description

@emonadeo

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions