Skip to content

feat: support loading TypeScript files #399

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

Merged
merged 2 commits into from
Aug 5, 2025
Merged

feat: support loading TypeScript files #399

merged 2 commits into from
Aug 5, 2025

Conversation

k-yle
Copy link
Collaborator

@k-yle k-yle commented Jan 10, 2025

Closes #151

Thanks's to node's new --experimental-strip-types option, we can now support loading env variables from .ts/.mts/.cjs files without adding any dependencies.

toddbluhm
toddbluhm previously approved these changes Jul 2, 2025
Copy link
Owner

@toddbluhm toddbluhm left a comment

Choose a reason for hiding this comment

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

Looks good!

@toddbluhm
Copy link
Owner

toddbluhm commented Jul 2, 2025

Also, please add yourself to the contributors section in package.json and README if you aren't already there.

toddbluhm
toddbluhm previously approved these changes Jul 12, 2025
@k-yle
Copy link
Collaborator Author

k-yle commented Jul 13, 2025

merge conflicts resolved

@toddbluhm
Copy link
Owner

@k-yle Feel free to merge this whenever you want.

@k-yle k-yle merged commit 35bee40 into master Aug 5, 2025
22 checks passed
@k-yle k-yle deleted the kh/ts branch August 5, 2025 07:46
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.

[Feature Request] Support TypeScript file, e.g. env.ts
2 participants