Skip to content

Conversation

@hyperpolymath
Copy link
Owner

No description provided.

claude and others added 5 commits December 6, 2025 14:09
This commit brings the repository into compliance with the RSR specification:

Documentation:
- Convert README.md to README.adoc (AsciiDoc format)
- Add SECURITY.md with vulnerability reporting procedures
- Add CODE_OF_CONDUCT.adoc (Contributor Covenant v2.1)
- Add CONTRIBUTING.adoc with TPCF guidelines
- Add GOVERNANCE.adoc with project governance model
- Add CHANGELOG.md following Keep a Changelog format
- Add FUNDING.yml for transparency

Licensing:
- Add dual MIT + Palimpsest v0.8 licensing
- Create LICENSE.txt with both licenses
- Create LICENSE-PALIMPSEST.txt

Infrastructure:
- Add flake.nix for Nix development environment
- Add justfile for task automation
- Add .gitattributes for consistent handling
- Add .well-known/ directory with security.txt and funding.json

Code Quality:
- Add SPDX license headers to all source files
MVP progress toward 1.0 release:

Tea_Http Module:
- HTTP request builders (get, post, put, patch, delete)
- Request modifiers (withHeader, withTimeout, withBody)
- Type-safe error handling (BadUrl, Timeout, NetworkError, BadStatus, BadBody)
- Convenience functions (getJson, postJson, getString)
- Integrates with Tea_Json decoders for response parsing

HTTP Example (examples/02_http/):
- Demonstrates fetching users from JSONPlaceholder API
- Shows RemoteData pattern (NotAsked, Loading, Success, Failure)
- Real-world loading and error states

Tests:
- 7 tests for Tea_Cmd (none, batch, message, map, effect)
- 27 tests for Tea_Json (all decoder types, error handling)
- Uses Node.js built-in test runner

CI/CD:
- GitHub Actions workflow for build and test
- Matrix testing on Node.js 18.x and 20.x
- Dependency audit step

Infrastructure:
- Added Cmd.effect function for creating effect commands
- Exported Http module from Tea
- Update test files to use raw JavaScript assertion functions
  instead of Deno.assertEquals (which is not on Deno object)
- Update npm test script to specify explicit test file paths
- Update CI workflow to run Deno tests correctly
- All 34 tests pass with Deno
…RjxZfknbQhk4oAd

Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
@hyperpolymath hyperpolymath merged commit 838d09a into main Dec 8, 2025
0 of 4 checks passed
@hyperpolymath hyperpolymath deleted the claude/rescript-tea-implementation-01Bo5h62zRjxZfknbQhk4oAd branch December 8, 2025 18:32
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