Skip to content

Fix #9542 (allow files under node_modules to be included in the compilation). - #9607

Merged
Bill Ticehurst (billti) merged 7 commits into
masterfrom
issue9542
Jul 11, 2016
Merged

Fix #9542 (allow files under node_modules to be included in the compilation).#9607
Bill Ticehurst (billti) merged 7 commits into
masterfrom
issue9542

Conversation

@billti

Copy link
Copy Markdown
Member

Fixes #9542 . It took me about an hour to fix the issue, and another 4 to figure out why the baselines were dropping files for the test changes 😩 (see comment on changes in projectsRunner.ts).

I'm still verifying the changes to a couple of existing baselines are correct, but wanted to get this out for review now.

@billti

Copy link
Copy Markdown
Member Author

OK. The other baseline changes are as expected due to the rather non-obvious behavior described in the comment at https://github.com/Microsoft/TypeScript/blob/master/src/harness/compilerRunner.ts#L95 . So this should be good to go.

});
// There may be multiple files with different baselines. Run all and report at the end, else
// it stops copying the remaining emitted files from 'local/projectOutput' to 'local/project'.
try {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

sorry about that. i had this fixed a while back in the transforms branch, but never ported it back.

@mhegazy

Copy link
Copy Markdown
Contributor

👍

@billti
Bill Ticehurst (billti) merged commit 2f768f6 into master Jul 11, 2016
@billti
Bill Ticehurst (billti) deleted the issue9542 branch July 11, 2016 20:47
@microsoft Microsoft (microsoft) locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeScript 2.0: index.js not generated for source files in node_modules (since 2.0.0-dev.20160701)

3 participants