-
Notifications
You must be signed in to change notification settings - Fork 7
fix(package): depend on fork of travis-ci to get Travis Enterprise support #27
fix(package): depend on fork of travis-ci to get Travis Enterprise support #27
Conversation
package.json
Outdated
@@ -15,7 +15,7 @@ | |||
"chalk": "^2.1.0", | |||
"p-retry": "^1.0.0", | |||
"semver": "^5.4.1", | |||
"travis-ci": "^2.1.1" | |||
"travis-ci": "github:pwmckenna/node-travis-ci#39ad0c315e53bc360850994ebaf01f73dc14a18e" |
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.
I’d like to not install from github if possible. But if they merged your PR but didn’t release it yet, you can release it as @simenb/travis-ci
for the time being? And once the travis-ci
is released with your changes, deprecate your own package and make another pull request for travis-deploy-once
to depend on the main package again :)
I think there is no need for this PR. When pwmckenna/node-travis-ci#22 get released it's probably going to be a minor release, so it would be updated automatically without any change. If it doesn't get release, then in the So you could set it to force |
My thinking was mostly that merging semantic-release/condition-travis/pull/101 would be weird without actually supporting it here. I suppose we can add a note in the readme of |
I did what @gr2m suggested and published a fork with the current master if
I still think updating here would be a good idea, so that consumers don't get fooled by caching or something like that - ensuring that the version of |
Works for me. Did you manage to override the dependency in your |
I haven't tested, but https://yarnpkg.com/lang/en/docs/selective-version-resolutions/ seems like it should work 🙂 I'll give it a try |
It seems to work, as the build was able to wait for other builds, and I'm now stuck on a new error.
Do you have any ideas? Auth against the registry passed before, and I do I can open up a new issue at https://github.com/semantic-release/npm if that's better |
This is what I added to package.json to make the travis stuff work, btw: "resolutions": {
"**/@semantic-release/condition-travis": "SimenB/condition-travis#db3fd849cdf2ad9162f2acdf5f409f9e82f5ac76",
"**/travis-ci": "pwmckenna/node-travis-ci#39ad0c315e53bc360850994ebaf01f73dc14a18e"
} |
It seems your package is private and the registry user configured doesn't have the permission to access this package. Or maybe it's the Can you create a |
Didn't help 🙁 |
Something is weird with the auth somehow, as I'm able to do As can be seen in the log the GET request is against the exact same URI.
|
I'll open up a new issue on the npm package as my current issue is not related to this PR |
Ok, figured it out 🙂 Will this be merged? I can override it in my own project, but would be great if I didn't have to! |
Not with a dependency to a specific github commit or branch. If pwmckenna/node-travis-ci#22 doesn't get released in the next few days/weeks, I'll refactor this plugin to use a solution that support Travis API v3, as the v2 is deprecated and can go away any time. |
I've published a fork though, if you check the commit. I can change the title of the pr |
Depending on an unreleased version allows us to support Travis Enterprise
I realise this is probably not acceptable, but I though that maybe 😀
What I want is this: pwmckenna/node-travis-ci#22, so that semantic-release/condition-travis#101 is unblocked