Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Two fixes for our spa's integration with the GoodData library. #298

Merged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"raw-loader": "0.5.1",
"reflect-metadata": "0.1.10",
"remap-istanbul": "0.9.5",
"rxjs": "5.4.2",

Choose a reason for hiding this comment

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

Hey @Blackbaud-MikitaYankouski, in your testing, did you run into any problems upgrading to this version of rxjs. Our dependency chain isn't crystal clear, and we've ran into problems when upgrading the dependency in builder, but not upgrading it in the skyux2 components.

https://github.com/blackbaud/skyux2/blob/master/package.json#L108

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just re-ran the all the tests and haven't ran into any issues!

Choose a reason for hiding this comment

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

The template also works with these changes. A point of note: UX does not directly depend on rxjs, so the mixmatched versions shouldn't affect a SPA.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are using a third party library that is required by our app that is more heavily dependent on rxjs, and they use this higher version and having two version in our node_modules gave us build errors.

"rxjs": "5.4.3",
"sass-loader": "6.0.5",
"selenium-standalone": "6.4.1",
"selenium-webdriver": "3.5.0",
Expand Down
2 changes: 2 additions & 0 deletions utils/spec-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ require('zone.js/dist/sync-test');
require('zone.js/dist/proxy');
require('zone.js/dist/jasmine-patch');

require('reflect-metadata');

Choose a reason for hiding this comment

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

@Blackbaud-MikitaYankouski Mind providing more information on how this affects your unit tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Without this line the unit tests do not run and the code coverage results aren't printed so our build ends up failing as well.


// RxJS
require('rxjs/Rx');

Expand Down