-
Notifications
You must be signed in to change notification settings - Fork 31
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
Update to remove bower dependency #91
Conversation
There's a lot of code I really like here. I think the tests would pass if you prevent Travis from using node 4.8.3, but that's just in my experience. Some concerns I do have are:
Is this the community adopted approach for supporting engines? |
Ha yes i was just about to move Travis to 6.10.3 also if you want i can lock the version of github to the latest master commit and that way it does not update till you want it too or i can lock it to a git tag if that would be better. the _ensureThisImport is the way i have seen most people do it especially some of the bigger ones like https://github.com/simplabs/ember-simple-auth/blob/master/index.js this supports both ember engines and infinitely nested addons |
I have now locked this down to tag 0.5.15 of gmaps-for-apps which would mean there is full control of it and it will not just update along with master in case master breaks. Also using Node 6 for the tests so fingers crossed it all works out |
What is the Fastboot incompatibility you're referring to? Recently added support for Fastboot 1.0.0 via: #87 |
Yes you are right. Initially I was on a old version and then when i pulled down your repo I saw that you had added Fastboot Compatibility so I should remove that from the title. What i did do now though was simplify the index.js file using fastboot-transform which is the suggested way by the maintainers of Ember Fastboot |
Thanks for clarifying. There's a lot of great work here, but TBH the thing I'm nervous about is replacing a bower dep with a github dep. Even with pointing to a specific github tag, all the automated builds out there would now be pulling from Github, which is not Github's use case. Maybe this is not an issue and I'm just being paranoid, but I haven't seen this done before. If Github has some sort of request limiting we could be leaving users with a hard to debug build issue, not to mention slower build times. While bower dependencies do suck, the amount they suck is already known. I think the safer play may be to keep your ember-cli migration, eslint, and engine support while reverting vendor code to use bower while utilizing fastboot-transform. |
It actually is a use case for GitHub and many have wondered if there were
is a reason for NPM Registry. NPM has first class support for GitHub repos
because it is a widely done thing especially for private repositories.
…On Sat, Jul 8, 2017, 6:05 PM Matt-Jensen ***@***.***> wrote:
Thanks for clarifying. There's a lot of great work here, but TBH the thing
I'm nervous about is replacing a bower dep with a github dep. Even with
pointing to a specific github tag, all the automated builds out there would
now be pulling from Github, which is not Github's use case.
Maybe this is not an issue and I'm just being paranoid, but I haven't seen
this done before. If Github has some sort of request limiting we could be
leaving users with a hard to debug build issue, not to mention slower build
times.
While bower dependencies do suck, the amount they suck is already known. I
think the safer play may be to keep your ember-cli migration, eslint, and
engine support while reverting vendor code to use bower while utilizing
fastboot-transform.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#91 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB-BzoagwxHYrYqfIbN59bwb6MV5xQy9ks5sL7begaJpZM4ORyJf>
.
|
Another option would be for you to just run npm publish and actually have
an NPM package
…On Sat, Jul 8, 2017, 6:33 PM Devonte Emokpae ***@***.***> wrote:
It actually is a use case for GitHub and many have wondered if there were
is a reason for NPM Registry. NPM has first class support for GitHub repos
because it is a widely done thing especially for private repositories.
On Sat, Jul 8, 2017, 6:05 PM Matt-Jensen ***@***.***> wrote:
> Thanks for clarifying. There's a lot of great work here, but TBH the
> thing I'm nervous about is replacing a bower dep with a github dep. Even
> with pointing to a specific github tag, all the automated builds out there
> would now be pulling from Github, which is not Github's use case.
>
> Maybe this is not an issue and I'm just being paranoid, but I haven't
> seen this done before. If Github has some sort of request limiting we could
> be leaving users with a hard to debug build issue, not to mention slower
> build times.
>
> While bower dependencies do suck, the amount they suck is already known.
> I think the safer play may be to keep your ember-cli migration, eslint, and
> engine support while reverting vendor code to use bower while utilizing
> fastboot-transform.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#91 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AB-BzoagwxHYrYqfIbN59bwb6MV5xQy9ks5sL7begaJpZM4ORyJf>
> .
>
|
I can't argue with that. Just published for you. |
I believe Travis CI is failing not due to test errors but a timeout during the build: emberjs/data#5016 |
Thanks for taking this over the line @Matt-Jensen I got a bit busy and I come back and see you have cleaned it all up!! 👍 |
No thank you @devotox. You did the hard part. |
Fixes
#90
Stopgap solution for
#66