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 the types/ folder to the published NPM package #146

Merged
merged 1 commit into from
Jan 13, 2018
Merged

Add the types/ folder to the published NPM package #146

merged 1 commit into from
Jan 13, 2018

Conversation

TysonAndre
Copy link
Contributor

Currently, tsc --strict warns for projects with a dependency on
the latest avsc (5.1.2) due to the folder types/ not being included in the
published package.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.976% when pulling c1f2ac0 on TysonAndre:add-types-folder-to-package into 21c8b6c on mtth:master.

@TysonAndre
Copy link
Contributor Author

Never mind, wasn't aware of https://www.npmjs.com/package/@avro/types

@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.976% when pulling c1f2ac0 on TysonAndre:add-types-folder-to-package into 21c8b6c on mtth:master.

Copy link
Owner

@mtth mtth left a comment

Choose a reason for hiding this comment

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

Looks good; just one comment.

package.json Outdated
@@ -64,5 +66,8 @@
"repository": {
"type": "git",
"url": "git://github.com/mtth/avsc.git"
},
"dependencies": {
"stream": "0.0.2"
Copy link
Owner

Choose a reason for hiding this comment

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

What is this for?

Currently, `tsc --strict` warns for projects with a dependency on
the latest avsc (5.1.2) due to the folder types/ not being included in the
published package.
@TysonAndre
Copy link
Contributor Author

TysonAndre commented Jan 12, 2018

Most of those changes were intended for another project and accidentally commited while still in this folder.

@types/node isn't useful unless a tsconfig.json is added to the project for analyzing the project with typescript (There's a "checkJs": true option that allows analysis of javascript projects via their JSDoc). Removed that.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.976% when pulling 7f7c570 on TysonAndre:add-types-folder-to-package into 21c8b6c on mtth:master.

@mtth mtth merged commit 4864462 into mtth:master Jan 13, 2018
@mtth
Copy link
Owner

mtth commented Jan 13, 2018

Thanks!

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