-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
feat(lib): use TestBed.get if .inject falsy - back compatibility (#283) #284
Changes from 2 commits
aaeeb3b
e29bde0
db41726
77db7e8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -29,9 +29,9 @@ | |||
"replace-in-file": "^4.1.3" | ||||
}, | ||||
"peerDependencies": { | ||||
"@angular/common": "^9.0.1", | ||||
"@angular/core": "^9.0.1", | ||||
"@angular/router": "^9.0.1", | ||||
"@angular/common": "^8.0.0", | ||||
"@angular/core": "^8.0.0", | ||||
"@angular/router": "^8.0.0", | ||||
"typescript": ">= 3.7.0" | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "typescript": ">= 2.8.0" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let me check with this version of typescript, I will update you There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @NetanelBasal I would put "typescript": ">= 3.5.3" or smth like that b/c there are a bunch of errors when using 2.8.0. Actually, 3.5.3 was used as dependency in the root package.json: Here is a part of errors I'm getting with 2.8.0: Please confirm There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was the lastest version before we released v5: spectator/projects/spectator/package.json Line 35 in 5c98661
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @NetanelBasal yes you're right, but what is goal of peerDependencies? Maybe I'm wrong but should not we specify versions which gonna work with other specified peerDependencies versions? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've used 8.2.0, my bad, but even typescript 3.0.0 was not working with 8.2.0. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let me check 2.8.0 with 8.0.0 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Doesn't work for me trying 2.8.0 with 8.0.0, so I'm really unsure in 2.8.0 but pushed it. It doesn't break anything, just seems to be smth like disinformation. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The TS version depends on your Angular version. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, that what I mean, and I'm not sure that TS 2.8.0 is compatible with Angular 8.0.0 :) |
||||
}, | ||||
"bin": { | ||||
|
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.
This doesn't include v9. You need to use a range.