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

add: "types" to each package.json #221

Merged
merged 1 commit into from
Dec 17, 2019

Conversation

keroxp
Copy link
Contributor

@keroxp keroxp commented Nov 15, 2019

I'm using IntelliJ IDEA and IDE couldn't find type definition of packages. I think it is because each package.json doesn't contain types field, isn't it? Editing files under node_modules resolved the issue.

@keroxp
Copy link
Contributor Author

keroxp commented Nov 29, 2019

Hey, is there no one who review this PR? Or no one consider this as a problem?
I want to know why package.json doesn't have types field for auto generated type definition files. Other IDE users don't have a trouble?

@keroxp
Copy link
Contributor Author

keroxp commented Dec 17, 2019

@ericsciple Have you seen this PR? How do you think about the change? Why still no reactions?

@ericsciple ericsciple merged commit 606e1f2 into actions:master Dec 17, 2019
@ericsciple
Copy link
Contributor

@keroxp thanks!

@keroxp
Copy link
Contributor Author

keroxp commented Dec 19, 2019

@ericsciple Thank you for reviewing!

@@ -10,6 +10,7 @@
"homepage": "https://github.com/actions/toolkit/tree/master/packages/exec",
"license": "MIT",
"main": "lib/tool-cache.js",
"types": "lib/tool-cache.d.ts",
"directories": {
"lib": "lib",
Copy link

Choose a reason for hiding this comment

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

Kool

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

Successfully merging this pull request may close these issues.

4 participants