Skip to content

feat(kernel): ✨ Add environment variable loader#12

Merged
haskou merged 3 commits into
mainfrom
feat/environment-loader
Jun 26, 2026
Merged

feat(kernel): ✨ Add environment variable loader#12
haskou merged 3 commits into
mainfrom
feat/environment-loader

Conversation

@haskou

@haskou haskou commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds kernel.loadEnvironmentVariables(environment?) and Kernel.loadEnvironmentVariables(environment?) backed by dotenv.
  • Adds kernel.environment and Kernel.environment as typed access points over process.env.
  • Documents environment loading, typed NodeJS.ProcessEnv augmentation and startup usage.
  • Updates the example to load environment variables before DI and adapter setup.

Validation

  • yarn format:check
  • yarn lint
  • yarn typecheck
  • yarn test:coverage (100%)
  • yarn docs:build
  • yarn build
  • yarn --cwd example typecheck
  • npx -y depcheck --json

@codecov-commenter

codecov-commenter commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@haskou haskou merged commit 947a2b2 into main Jun 26, 2026
2 checks passed
@haskou haskou deleted the feat/environment-loader branch June 26, 2026 08:39
github-actions Bot added a commit that referenced this pull request Jun 26, 2026
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.

2 participants