Skip to content

chore: prepare for JSR publishing - #1

Merged
dgellow merged 11 commits into
mainfrom
claude/publish-jsr-cleanup-01A3i6Dh4W7FKan1hZa7AAyT
Dec 6, 2025
Merged

chore: prepare for JSR publishing#1
dgellow merged 11 commits into
mainfrom
claude/publish-jsr-cleanup-01A3i6Dh4W7FKan1hZa7AAyT

Conversation

@dgellow

@dgellow dgellow commented Dec 6, 2025

Copy link
Copy Markdown
Owner
  • Add Elastic License 2.0
  • Add license field to deno.json
  • Simplify README and CLAUDE.md, remove marketing text
  • Clean up CLI headers

claude added 11 commits December 6, 2025 01:43
- Add Elastic License 2.0
- Add license field to deno.json
- Simplify README and CLAUDE.md, remove marketing text
- Clean up CLI headers
- Add pluggable manifest interface for different project types
- Implement deno.json and package.json handlers
- Support workspace detection and multi-package version updates
- Integrate manifest updates into release flow
- Add tests for manifest functionality

Extensible design allows future support for go.mod, pyproject.toml, etc.
- Add `pls pr` command to create/update release PRs via GitHub API
- PR includes version bump in deno.json and changelog
- Update CI workflow to:
  - Create/update release PR on regular commits to main
  - Create actual release when release commit is merged
- Run deno fmt on all files
- Add tests for ReleasePullRequest
- Add versions module for reading/writing .pls/versions.json
- Use manifest as primary source of truth for current version
- Fallback chain: .pls/versions.json > GitHub releases > deno.json
- Update release flow to write to versions manifest
- Update PR flow to include versions.json in release commits
- Add tests for versions module
- Import version from deno.json instead of hardcoding
- Add ci.yml for lint, format check, and tests on PRs
- Fix pull-request_test to use assertThrows for sync error
- Use null byte delimiter in git log format to handle commit messages
  containing pipe characters
- Fix GitHub storage to resolve actual commit SHA from tags instead of
  using target_commitish (which is often just the branch name)
- Handle both lightweight and annotated tags when resolving SHA
updateManifests() was calling updateAllVersions() even in dry-run mode,
which actually wrote to files. Now properly skips writes in dry-run.
@dgellow
dgellow merged commit a54376f into main Dec 6, 2025
0 of 2 checks passed
@dgellow
dgellow deleted the claude/publish-jsr-cleanup-01A3i6Dh4W7FKan1hZa7AAyT branch December 6, 2025 02:28
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