-
-
Notifications
You must be signed in to change notification settings - Fork 623
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
Updated dependencies for aurelia-binding (removed 1.x dependency) #897
Conversation
…be able to install via JSPM (which doesn't support comparator sets for versioning) Fixes aurelia#895.
@bulldetektor Is it possible to leave the NPM versions as is and just update the JSPM versions? |
Sure, but what will be the consequences of that? Isn't it a possibility that you'll end up with 1.3 as npm package and 2.0 in jspm? In practice I guess that would mean that you'll get the TypeScript definitions (d.ts) in VS Code for the 1.3, but in runtime (bundled) you'll be running the 2.0. So yes; I guess it could work, but I'd like to hear the reasoning behind stil having a dependency on aurelia-binding 1.x when 2.x is out. |
@bigopon @StrahilKazlachev @fkleuver What were the reasons that we added the |
also, webpack is bundling two versions of aurelia-binding:
|
@arabsight that probably only happens when you specifically install aurelia-binding ^1.7.0 aka it is in your package.json? the only one you need in your package.json is aurelia-bootstrapper (and plugins eg dialog, i18n...), but no core modules (other than aurelia-polyfills, which one needs it seems). then that shouldn't happen afaik |
@doktordirk nope, this is a default aurelia-cli generated project.
|
aurelia-templating-binding is the only package pulling aurelia-binding@2.1.1
where all other packages that depend on aurelia-binding has:
|
The reason for Other than that, I simply kept the version on the left-hand side as it was. |
I think we're going to need to push everything forward to the latest version. The |
peerDependencies might have helped, but jspm 0.16 doesn't have them and jspm 0.17 is still beta after 2 years. just be reminded that the update needs to be on the non rc versions as the rc/beta versions are out of the normal semver range and without special effort (as it should be), the last non rc/beta versions will be installed (for npm that is, but i guess/hope it's similar for jspm) |
Have a similar situation over at the i18n plugin. I dont really see the need for backwards-compat 1.x. nevertheless i'll wait for this one and update i18n accordingly |
I don't see a direct need for backwards compat either, but there will be problems regardless. This is a serious issue with jspm as far as I'm concerned. Lack of support for |
@EisenbergEffect Guess you can close this now, as it seems that you've aligned the dependencies across all repos now :) |
To be able to install via JSPM (which doesn't support comparator sets for versioning)
Fixes #895.
Note; got 1 failing specs test when running
karma start
:... but I'm not sure if this is related to the updated dependency versions