Skip to content

chore: verify CJS/ESM/TypeScript resolution in a clean consumer project #21

Description

@mdesoto

Split from #18.

Before or shortly after the first publish, verify that the package resolves correctly from a consumer's perspective using the packed tarball.

Tasks

  • npm pack and install the tarball into a fresh project (npm install ./quarg-burnerguard-x.x.x.tgz)
  • Verify require('@quarg/burnerguard') works (CJS)
  • Verify import '@quarg/burnerguard' works (ESM)
  • Verify TypeScript types resolve with moduleResolution: "node16" and "bundler"
  • Verify dist/index.d.ts exports BurnerGuard and all public types
  • Confirm no internal types or services leak through the public API

Context

npm pack --dry-run confirms the tarball contents are correct. This issue tracks the next step: end-to-end resolution testing from a real consumer project.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions