Skip to content

Conversation

@hyperpolymath
Copy link
Owner

No description provided.

claude added 2 commits January 4, 2026 22:59
Review the rescript-env template repository structure, identifying:
- Strengths: policy enforcement workflows, machine-readable metadata, security-first approach
- Gaps: missing RSR-required files (.well-known/, guix.scm, RSR_COMPLIANCE.adoc)
- Recommendations for making this a functional ReScript+Deno environment
Add complete ReScript implementation for cross-runtime env var access:

- src/Env.res: Runtime detection for Deno/Node with type-safe API
- src/Env.resi: Public interface with documentation
- deno.json: Deno task configuration for build/dev
- rescript.json: ReScript compiler configuration with ESM output
- Updated .gitignore for ReScript artifacts
- Updated README.adoc with library documentation
- Added LICENCE (AGPL-3.0-or-later)

Features:
- get/getOr/getExn for optional/default/required values
- getInt/getFloat/getBool for typed coercion
- isDevelopment/isProduction/isTest environment helpers
- Automatic Deno vs Node.js runtime detection
@hyperpolymath hyperpolymath merged commit 265d2b5 into main Jan 4, 2026
14 of 15 checks passed
@hyperpolymath hyperpolymath deleted the claude/review-rescript-bundle-ysXZg branch January 4, 2026 23:31
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