arethetypeswrong / arethetypeswrong/arethetypeswrong.github.io

question: is there a way to validate packages with mixed dual ESM/CJS and ESM-only subpackage exports?

Open
#241 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
65
PR merge metrics
No merged PRs in 30d

Description

For example, this simple one https://github.com/userquin/unbuild-cts-issue/pull/1 or https://github.com/unocss/unocss/blob/main/packages-presets/unocss/package.json (https://arethetypeswrong.github.io/?p=unocss%4066.0.0).

I'm interested in the cli, we use `attr` at UnoCSS.

Thx for this great package.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the CLI and the `attr` usage mentioned in the issue, then reproduce the cases from the linked unbuild pull request and UnoCSS package.json with the published web analyzer. Clarify whether mixed dual ESM/CJS packages with ESM-only subpackage exports should be supported and what validation result would count as done.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.