Skip to content
New issue

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

fix: add main and types properties to package.json as fallbacks #31

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

DrewHoo
Copy link
Contributor

@DrewHoo DrewHoo commented Mar 11, 2024

Not every project is going to be able to use package.json's "exports" property, so I'm adding "main" as a fallback

@@ -4,7 +4,7 @@
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you need to change this for some reason?

Copy link
Contributor Author

@DrewHoo DrewHoo Mar 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep--pnpm tsc was failing on errors in node_modules, and we don't really need to type check those anyway

@DrewHoo DrewHoo merged commit 4d1fa35 into main Mar 11, 2024
2 of 3 checks passed
@DrewHoo DrewHoo deleted the f/publish-the-package-4 branch March 11, 2024 18:24
Copy link

🎉 This PR is included in version 1.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants