-
-
Notifications
You must be signed in to change notification settings - Fork 433
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
3.6 was missing from Travis / AppVeyor build matrices. #1011
Conversation
.travis.yml
Outdated
@@ -14,9 +14,10 @@ install: | |||
- yarn lint | |||
- yarn add $TYPESCRIPT | |||
env: | |||
- [email protected] |
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.
suggest changing to 3.6.3 instead
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.
yup will do. Somehow I managed to forget to add 3.6.x to the build matrix when I upgraded the comparison test pack. Whoops. Fixing now. As far as I can assess there's no problems that have been introduced in the meantime, though I'm regenerating some of the project references test pack output again (which makes sense given the changes that have happened)
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.
Will push update in 15 minutes or so
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.
Done - now let's see how CI gets on
Hmmm.... There might be a problem with some of the project references tests behaving differently between Windows and Linux: I'm seeing this on Linux: (Travis) projectReferencesRootDir: -[./lib/src/index.ts] A-NUMBER-OF bytes {main} [built]
+[./lib/src/index.ts] A-NUMBER-OF bytes {main} [built]
+ERROR in tsconfig.json
+[tsl] ERROR
+ TS5033: Could not write file '/.test/projectReferencesRootDir/lib/out/index.d.ts': Cannot read property 'set' of null. There's a similar issue with But locally (Windows - where this output was generated) this test passes / ts-loader has different behaviour. I'm made a fix to improve the resilience of the comparison test pack; there were a few meaningless failures happening due to whitespace differences that aren't significant. Confirmed there does seem to be an issue with See example Travis failure here: https://travis-ci.org/TypeStrong/ts-loader/jobs/586873598 cc @andrewbranch as I believe he first wrote these tests and may have some insight to share. I'm going to hold off releasing Linking to PRs that should ship with |
@@ -402,9 +402,9 @@ function getNormalisedFileContent(file, location) { | |||
.replace(/Module build failed \(from \//gm, 'Module build failed (from ') | |||
.replace(/Module Warning \(from \//gm, 'Module Warning (from ') | |||
// We don't want a difference in the number of kilobytes to fail the build | |||
.replace(/[\d]+([.][\d]*)? KiB/g, 'A-NUMBER-OF KiB') | |||
.replace(/\s+[\d]+([.][\d]*)? KiB\s+/g, ' A-NUMBER-OF KiB ') |
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.
we're getting some meaningless failures here related to whitespace in webpack output. These regex changes effectively normalize those differences. We want meaningful failures only 😄
Will take a look at it shortly after setting Linux machine. I think it would be something to do with my changes since my changes override @andrewbranch ‘s work for project references .. |
Nice - thanks! |
@johnnyreilly I fixed this but I cant push to your branch so created #1013
|
Great work @sheetalkamat! I've just sent you an invite to join TypeStrong. Once you accept that you should be able to push (you'll be set up the same as @andrewbranch is) Feel free to merge in if you're happy! |
Fixes for failures from 3.6 run
I've seen enough passing builds to be happy - let's merge this! |
Hey @sheetalkamat / @andrewbranch! I've merged this PR as all looked good. Interestingly, we just started to get these execution test failures with
Seems to be related to this:
Has this function been removed in the last 24 hours? You can see this here: https://travis-ci.org/TypeStrong/ts-loader/jobs/587342045 I don't think this is a blocker for releasing - I'm planning to ship Thanks! Update: I'm wondering if it might be related to this: |
It is... I will send a patch for this as we want to be using new apis if there. |
Awesome - thanks! |
This PR adds it in in the form of TypeScript 3.6.3.
This continues the work of #1003