Skip to content

Six repo verbs: publish in every repo template; check and test without ^build in an app repo - #70

Merged
davidjalbers merged 7 commits into
plain-pipelinefrom
davidjalbers/plx-223-six-repo-verbs-a-publish-task-in-every
Dec 2, 2026
Merged

davidjalbers merged 7 commits into
plain-pipelinefrom
davidjalbers/plx-223-six-repo-verbs-a-publish-task-in-every

Conversation

@davidjalbers

Copy link
Copy Markdown
Contributor

Every repo template now has the sixth repo verb publish, and an app repo's check and test no longer depend on ^build (PLX-223).

What changes

  • repo-turbo, app repo: root task publish runs ./turbow trusted run publish, scoped by an optional app or package name like the other verbs. The Turbo task publish has cache: false and dependsOn: ["build"]. check and test lose dependsOn: ["^build"].
  • repo-turbo, package repo: publish is pnpm exec changeset publish. Its Turbo check and test keep ^build. No workflow is touched.
  • repo-operations: publish is a no-op that passes.
  • plx doctor: PLX-Repo/Verbs asks for six tasks. It reads names only.
  • tooling's own mise.toml gets a no-op publish, since mise check runs doctor on this repo.

Size

148 lines added, 33 removed over 11 files. About 70 of the added lines are tests. The additions in templates and doctor are the publish tasks, the Turbo publish task and the conditional dependsOn; each is required by the issue.

Decisions the issue did not make

  • A package repo's publish accepts a name as a hidden argument and ignores it, since changeset publish cannot be scoped. Its task has depends = ["install"] and nothing else.
  • The Turbo task publish exists only in an app repo's turbo.json. A package repo has no Turbo publish.
  • The app repo's publish filter is {./<dir>} without ...: a named project publishes alone, after its own build (and that build's ^build data dependencies).
  • The sentence copy packages/lib/src/testing/doctor-checks.md is left verbatim, since the wording of PLX-Repo/Verbs is the compendium issue's. The doctor check names only the requirement.
  • newborns/turbo-cache.test.ts asserted that test builds lib in an app repo. That no longer holds (§ 1.10), so the test now asserts that the test builds nothing and the build afterwards replays nothing. turbow is untouched.
  • The tooling repo's own no-op publish in mise.toml.

Verified

  • TURBO_FORCE=true mise run test: exit 0.
  • mise run e2e: 100 tests, 100 pass, 0 fail, exit 0.
  • A built plx created an app repo, a package repo and an operations repo in a scratch directory. In each mise run publish passed with nothing to publish and plx doctor passed. With the publish task deleted from the app repo, plx doctor failed with PLX-Repo/Verbs .: no root mise task publish.

🤖 Generated with Claude Code

davidjalbers and others added 5 commits December 2, 2026 03:29
tooling itself answers it with a no-op, as it does dev.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…n app repo's check and test wait for no build

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ild on an app repo's check and test

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…r it replays nothing

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@davidjalbers davidjalbers self-assigned this Dec 2, 2026
davidjalbers and others added 2 commits December 2, 2026 04:03
…counts stated plainly

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…s/plx-223-six-repo-verbs-a-publish-task-in-every
@davidjalbers
davidjalbers merged commit 3db5f38 into plain-pipeline Dec 2, 2026
2 checks passed
@davidjalbers
davidjalbers deleted the davidjalbers/plx-223-six-repo-verbs-a-publish-task-in-every branch December 2, 2026 03:18
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