-
-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
context-v2Related to tailwind-merge v2Related to tailwind-merge v2featureIs new featureIs new feature
Description
I do some basic export checks in https://github.com/dcastil/tailwind-merge/blob/v2.5.3/.github/workflows/test.yml#L34, but this could be improved.
In https://www.totaltypescript.com/how-to-create-an-npm-package#5-exports-main-and-arethetypeswrongcli there is the package https://www.npmjs.com/package/@arethetypeswrong/cli mentioned which I could use to dome some more extensive checks for the package exports.
Current output of npx @arethetypeswrong/cli --pack .:
tailwind-merge v2.5.3
Build tools:
- typescript@^5.6.2
- rollup@^4.22.5
- @rollup/plugin-typescript@^12.1.0
π Import resolved to a CommonJS type declaration file, but an ESM JavaScript file. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md
π Import failed to resolve to type declarations or JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/NoResolution.md
βββββββββββββββββββββ¬βββββββββββββββββββββββββ¬βββββββββββββββββββββββββ
β β "tailwind-merge" β "tailwind-merge/es5" β
βββββββββββββββββββββΌβββββββββββββββββββββββββΌβββββββββββββββββββββββββ€
β node10 β π’ β π Resolution failed β
βββββββββββββββββββββΌβββββββββββββββββββββββββΌβββββββββββββββββββββββββ€
β node16 (from CJS) β π’ (CJS) β π’ (CJS) β
βββββββββββββββββββββΌβββββββββββββββββββββββββΌβββββββββββββββββββββββββ€
β node16 (from ESM) β π Masquerading as CJS β π Masquerading as CJS β
βββββββββββββββββββββΌβββββββββββββββββββββββββΌβββββββββββββββββββββββββ€
β bundler β π’ β π’ β
βββββββββββββββββββββ΄βββββββββββββββββββββββββ΄βββββββββββββββββββββββββ
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
context-v2Related to tailwind-merge v2Related to tailwind-merge v2featureIs new featureIs new feature