We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 .:
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 │ 🟢 │ 🟢 │ └───────────────────┴────────────────────────┴────────────────────────┘
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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 .
:The text was updated successfully, but these errors were encountered: