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 types file to package.json files #297

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

benjaminparnell
Copy link
Contributor

Hi there 👋

While using this module in a project I noticed that the types file specified
doesn't get published to npm when this package is published. I've added it in in this PR.

Thanks for maintaining this module!

@benjaminparnell benjaminparnell changed the title Add types file to package.json files fix: Add types file to package.json files Jul 21, 2020
@codecov
Copy link

codecov bot commented Jul 21, 2020

Codecov Report

Merging #297 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #297   +/-   ##
=======================================
  Coverage   92.50%   92.50%           
=======================================
  Files          10       10           
  Lines         320      320           
  Branches      113      113           
=======================================
  Hits          296      296           
  Misses         23       23           
  Partials        1        1           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f7f3fdb...0314d19. Read the comment docs.

@@ -4,7 +4,8 @@
"description": "Seamless integration between Rollup and PostCSS",
"main": "dist/index.js",
Copy link
Collaborator

@yesmeck yesmeck Aug 5, 2020

Choose a reason for hiding this comment

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

"type": "types/index.d.ts",

The type file should be specified here.

Copy link
Contributor Author

@benjaminparnell benjaminparnell Aug 5, 2020

Choose a reason for hiding this comment

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

It's already specified on line 33. The file is not published to the registry, so when its installed tools aren't able to find the file, which is why I added it to files

@yesmeck yesmeck merged commit 304538d into egoist:master Aug 5, 2020
@benjaminparnell benjaminparnell deleted the add-types-to-package-files branch August 5, 2020 11:51
@github-actions
Copy link

github-actions bot commented Aug 5, 2020

🎉 This PR is included in version 3.1.4 🎉

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