Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Travis seems to fail on new builds: https://travis-ci.org/HNeukermans/adal-ts/jobs/184817620
After cloning the repository locally I stumbled upon the following error in
awesome-typescript-loader
:More info:
Basicly I locked down the TS version to the one specified in
package.json
(2.0.10). If you want I can update the PR to target TypeScript 2.1.1 or even go with a beta of awesome typescript loader (^3.0.0-beta.9
) and use TypeScript 2.1.4.Apart from that I also changed the way karma looks for the tests, as described in https://webpack.github.io/docs/usage-with-karma.html.
Without changing it karma didn't want to find any
spec
file. But I'm guessing there's something wrong with webpack versioning inpackage.json
.The
package.json
files requires"webpack": "^1.13.0"
and"awesome-typescript-loader": "^2.2.4",
. But the docs ofawesome-typescript-loader
clearly states:More info: https://github.com/s-panferov/awesome-typescript-loader
Changing the way karma looks for the spec files was the easiest fix. However, i'd like to undo this change and update to webpack 2. But I wanted to create this PR in order to also discuss this webpack version thing/issue.
What webpack version is the project supposed to be using?