fix: publish as @j4k-oss/worktree-add from code.j4k.dev #1

Merged
jercik merged 3 commits from fix/publish-as-j4k-oss into main 2026-10-21 15:49:36 +00:00
Owner

Moves releases to code.j4k.dev: the package becomes @j4k-oss/worktree-add in the j4k-oss registry, which pnpm projects can exempt from minimumReleaseAge. Merging cuts the next patch release.

The scoped name would change one runtime value, so it is pinned: the commander program name in src/cli.ts stays worktree-add. Without the pin, --help would print Usage: @j4k-oss/worktree-add. The package has no config or cache path, so nothing else reads name.

The Forge CI image has git 2.39.5, which cannot start a branch in a repository with no commits (git added that in 2.42.0; reproduced on 2.41.0 and 2.42.0). On older git, worktree-add now exits with a one-line error naming the requirement, and the README states it.

The fta-check dev dependency becomes @j4k-oss/fta-check, with the registry pin and minimumReleaseAge exclusion in pnpm-workspace.yaml.

The rest is the j4k-align 6.7.6 sync: Forgejo workflows, @j4k/semantic-release-forgejo, and .npm-mirror, which makes align render the GitHub workflow that will copy releases to npmjs. The repo also declares alignModuleContract: "esm-only", because the new lint config flags the top-level await in the CLI entry and the tests. npmjs stays at 2.1.0 until the mirror is set up.

This PR adds .review-enrolled, so it gets no automatic review.

🤖 Generated with Claude Code

Moves releases to code.j4k.dev: the package becomes `@j4k-oss/worktree-add` in the j4k-oss registry, which pnpm projects can exempt from `minimumReleaseAge`. Merging cuts the next patch release. The scoped name would change one runtime value, so it is pinned: the commander program name in `src/cli.ts` stays `worktree-add`. Without the pin, `--help` would print `Usage: @j4k-oss/worktree-add`. The package has no config or cache path, so nothing else reads `name`. The Forge CI image has git 2.39.5, which cannot start a branch in a repository with no commits (git added that in 2.42.0; reproduced on 2.41.0 and 2.42.0). On older git, worktree-add now exits with a one-line error naming the requirement, and the README states it. The `fta-check` dev dependency becomes `@j4k-oss/fta-check`, with the registry pin and `minimumReleaseAge` exclusion in `pnpm-workspace.yaml`. The rest is the j4k-align 6.7.6 sync: Forgejo workflows, `@j4k/semantic-release-forgejo`, and `.npm-mirror`, which makes align render the GitHub workflow that will copy releases to npmjs. The repo also declares `alignModuleContract: "esm-only"`, because the new lint config flags the top-level `await` in the CLI entry and the tests. npmjs stays at 2.1.0 until the mirror is set up. This PR adds `.review-enrolled`, so it gets no automatic review. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix: publish as @j4k-oss/worktree-add from code.j4k.dev
Some checks failed
Checks / pr-flow-canary (pull_request) Has been skipped
Checks / reuse (pull_request) Successful in 3s
commit-msg / commitlint (pull_request) Successful in 15s
Checks / quality-checks (24.15.0) (pull_request) Failing after 42s
Dedupe check / dedupe-check (pull_request) Successful in 46s
Checks / quality-checks (26.5.0) (pull_request) Failing after 42s
b9c802b33a
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
test: run on git 2.39 by dropping the default --ref-format flag
Some checks failed
Checks / pr-flow-canary (pull_request) Has been skipped
Checks / reuse (pull_request) Successful in 2s
commit-msg / commitlint (pull_request) Successful in 10s
Dedupe check / dedupe-check (pull_request) Successful in 34s
Checks / quality-checks (26.5.0) (pull_request) Failing after 49s
Checks / quality-checks (24.15.0) (pull_request) Failing after 49s
af5d8cad4b
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
fix: name the git version needed in repositories with no commits
All checks were successful
Checks / pr-flow-canary (pull_request) Has been skipped
Checks / reuse (pull_request) Successful in 3s
Dedupe check / dedupe-check (pull_request) Successful in 37s
Checks / quality-checks (26.5.0) (pull_request) Successful in 45s
Checks / quality-checks (24.15.0) (pull_request) Successful in 47s
commit-msg / commitlint (pull_request) Successful in 12s
721ea1c652
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
jercik merged commit c54ea6e97c into main 2026-10-21 15:49:36 +00:00
jercik deleted branch fix/publish-as-j4k-oss 2026-10-21 15:49:36 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
j4k-oss/worktree-add!1
No description provided.