Skip to content

chore: port the organization tooling and release pipeline to pnpm and Nix - #1

Open
systemfsoftware-bot wants to merge 6 commits into
mainfrom
tooling/org-template
Open

systemfsoftware-bot wants to merge 6 commits into
mainfrom
tooling/org-template

Conversation

@systemfsoftware-bot

Copy link
Copy Markdown

What

Move effect-cf onto the organization's repository tooling so the fork can build, check and release its own packages.

  • Package manager: bun to pnpm. pnpm-workspace.yaml carries the catalog, pinned to the exact versions bun.lock had so effect and the @effect/* family stay on the tested 4.1.0 instead of drifting. pnpm-lock.yaml replaces bun.lock.
  • Nix: flake.nix and flake.lock expose workspace-tarballs through the shared pnpm release library, plus a gritlint package and a dev shell.
  • Merge and release: .mergify.yml, release.jsonc, and the reusable release, release-checks, squash-message, publish-missing, nix and nix-cache-push workflows, with .github/actions/workspace and .github/actions/pnpm-store.
  • Docs: CLAUDE.md now includes AGENTS.md, subtrees.toml and the vendored constitution; added CODING_STANDARDS.md, REVIEW.md, and the repos/constitution subtree.
  • Lint, format and commits: commitlint.config.ts, plus task-name and ignore adjustments. The vite-plus build, test and typecheck entrypoints are kept.
  • The LICENSE keeps the upstream MIT text and copyright and adds this fork's copyright line.

Naming

Both publishable packages keep their upstream names (effect-cf, effect-webtransport) in this change. Renaming them to the organization's @scope/ pattern touches every source, test and fixture import, so it belongs with the publish step rather than this tooling change.

Deliberately not ported

  • The organization oxlint preset (oxlint.config.ts with a baseline): its preset registers an effecttsgo plugin that only a newer @effect/tsgo provides via patch --oxlint. This repository pins @effect/tsgo 0.36.4 for its tsgo and vite-plus build, so the preset cannot load. effect-cf keeps its own oxfmt and oxlint, including the anti-slop plugins.
  • dprint.json: adopting it would reformat every source file, so the repository keeps oxfmt and this branch stays clear of in-flight runtime work.
  • The bun-based check, bundle-size, bundle-comment and effect-agent-pr-review workflows are replaced or removed.

Release still needs (names only)

  • npm Trusted Publishing configured for both packages.
  • A repository ruleset that requires the checks / check check, and the Mergify app with the organization config.
  • For the optional Nix cache push: the nix-cache-push environment and its AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, NIX_CACHE_R2_ENDPOINT and NIX_CACHE_SIGNING_KEY secrets.

Validation

Run locally by package: pnpm frozen install, vp fmt --check, vp lint, vp run typecheck, pnpm build, and the effect-webtransport test package all pass. The full suite and the container tests run in CI.

A changeset is included so the release tooling has an intent to consume.

@mergify

mergify Bot commented Nov 27, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.

  • Queue this pull request once it meets the queue conditions

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.

1 participant