-
-
Notifications
You must be signed in to change notification settings - Fork 527
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
Add moduleType option to override module type on certain files. #1371
Merged
Commits on Jun 10, 2021
-
Add moduleType option to override module type on certain files. Also
refactor resolverFunctions into their own file; should break this into 2x PRs later.
Configuration menu - View commit details
-
Copy full SHA for 92370bc - Browse repository at this point
Copy the full SHA 92370bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d2ecd9 - Browse repository at this point
Copy the full SHA 3d2ecd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ef7346 - Browse repository at this point
Copy the full SHA 5ef7346View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81eb233 - Browse repository at this point
Copy the full SHA 81eb233View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30f1656 - Browse repository at this point
Copy the full SHA 30f1656View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9680012 - Browse repository at this point
Copy the full SHA 9680012View commit details
Commits on Jun 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 49bf02e - Browse repository at this point
Copy the full SHA 49bf02eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f63885 - Browse repository at this point
Copy the full SHA 8f63885View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bd2076 - Browse repository at this point
Copy the full SHA 7bd2076View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcbd916 - Browse repository at this point
Copy the full SHA dcbd916View commit details
Commits on Jul 9, 2021
-
Test coverage: moduleType overrides during ts-node loader usage (#1376)
* Test coverage: add test case to confirm that moduleType overrides are applied for ts-node in loader mode * Ensure that a default export exists for the esm-exception module * Re-order tsconfig.json glob rules, and use implicit globbing * lint fixup: apply prettier * Add 'experimental-specifier-resolution' flag to NPM options in ESM module override test * Ensure that a default export exists for the cjs-subdir module * Revert "Ensure that a default export exists for the cjs-subdir module" This reverts commit c64cf92. * Revert "Add 'experimental-specifier-resolution' flag to NPM options in ESM module override test" This reverts commit 1093df8. * Specify tsconfig project using TS_NODE_PROJECT environment variable * Use full file paths in preference to directory-default module imports This avoids ERR_UNSUPPORTED_DIR_IMPORT, without having to provide the 'experimental-specifier-resolution' flag to ts-node * Update index.ts * Update index.ts * Update tsconfig.json * Extract execModuleTypeOverride function * Add expected failure cases for Node 12.15, 14.13 Co-authored-by: Andrew Bradley <cspotcode@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e0f460e - Browse repository at this point
Copy the full SHA e0f460eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa14c65 - Browse repository at this point
Copy the full SHA fa14c65View commit details -
Configuration menu - View commit details
-
Copy full SHA for df7c8a6 - Browse repository at this point
Copy the full SHA df7c8a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d989df5 - Browse repository at this point
Copy the full SHA d989df5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce3d03e - Browse repository at this point
Copy the full SHA ce3d03eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f19ee07 - Browse repository at this point
Copy the full SHA f19ee07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66e7e19 - Browse repository at this point
Copy the full SHA 66e7e19View commit details -
Configuration menu - View commit details
-
Copy full SHA for f74b729 - Browse repository at this point
Copy the full SHA f74b729View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7833a52 - Browse repository at this point
Copy the full SHA 7833a52View commit details -
Configuration menu - View commit details
-
Copy full SHA for d88d94f - Browse repository at this point
Copy the full SHA d88d94fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 915e05d - Browse repository at this point
Copy the full SHA 915e05dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ec6b05 - Browse repository at this point
Copy the full SHA 1ec6b05View commit details
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.