Skip to content
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

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

Merged
merged 7 commits into from
Jul 11, 2016

Conversation

billti
Copy link
Member

@billti billti commented Jul 11, 2016

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
Member Author

billti commented Jul 11, 2016

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.

@billti billti mentioned this pull request Jul 11, 2016
});
// 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
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
Contributor

mhegazy commented Jul 11, 2016

👍

@billti billti merged commit 2f768f6 into master Jul 11, 2016
@billti billti deleted the issue9542 branch July 11, 2016 20:47
@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