-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
fixing the release #1401
fixing the release #1401
Conversation
Ok it does seem like there are some undocumented pre-publish steps; working on a new release now. This reversion isn't necessary so I'm closing the PR. |
so I tried running some of the scripts in the package.json and re-publish, but that didn't seem to fix it either, so looks like we might need to revert the |
Looking into this. I think we need something like this in package.json: |
@gitKrystan so would that replace what's in there now?
|
@MelSumner public-types are emitted via: https://github.com/emberjs/ember-test-helpers/blob/master/addon/types.tsconfig.json#L7 but the |
Looks like it should be:
However, I'm not sure what will force the I was able to confirm that 3.0 does not currently include the |
fix typo
addon/package.json
Outdated
@@ -149,7 +149,7 @@ | |||
"typesVersions": { | |||
"*": { | |||
"*": [ | |||
"public-types/@ember/test-helpers/*" | |||
"./public-types/*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gitKrystan @chriskrycho there was a tiny variation between both of your suggestions, should it be ./public-types/*
or public-types/*
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either should work. (Confirmed both of them locally just to be sure.)
So even with these changes, I'm still not seeing the |
Changing to |
in #1397 a user has reported that types are missing and they are getting an error.
This PR updates the
.npmignore
file and the package.json file to more correctly reflect what should be getting published re:types.This error seems to be related to the differences between
npm pack
andyarn pack
.Also not 100% sure this will be the fix but thanks to @gitKrystan @chriskrycho and @NullVoxPopuli for working through this toward a potential solution.