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

Lazy loading of ts-node. Fixes #79 #84

Closed
wants to merge 3 commits into from
Closed

Lazy loading of ts-node. Fixes #79 #84

wants to merge 3 commits into from

Conversation

Codex-
Copy link
Owner

@Codex- Codex- commented Mar 1, 2023

This changes to lazily require ts-node, fixes #79

lib/loader.spec.ts Outdated Show resolved Hide resolved
lib/loader.ts Outdated Show resolved Hide resolved
@Codex- Codex- force-pushed the lazy_load_ts_node branch from eb3b119 to c624873 Compare April 16, 2023 23:57
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 35.71% and project coverage change: -25.00 ⚠️

Comparison is base (33caf72) 100.00% compared to head (c624873) 75.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@             Coverage Diff              @@
##              main      #84       +/-   ##
============================================
- Coverage   100.00%   75.00%   -25.00%     
============================================
  Files            3        4        +1     
  Lines           24       36       +12     
  Branches         2        8        +6     
============================================
+ Hits            24       27        +3     
- Misses           0        8        +8     
- Partials         0        1        +1     
Impacted Files Coverage Δ
lib/util.ts 0.00% <0.00%> (ø)
lib/loader.ts 75.00% <50.00%> (-25.00%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Codex- Codex- closed this Jul 25, 2023
@Codex-
Copy link
Owner Author

Codex- commented Jul 25, 2023

Going to use the sane option, jiti

@Codex- Codex- deleted the lazy_load_ts_node branch October 19, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lazy loading for ts-node + optional peer-dependecies
3 participants