Skip to content

Collect repo automation under toolchain/ - #39

Merged
sistrall merged 1 commit into
mainfrom
chore/collect-repo-automation-under-toolchain
Aug 28, 2026
Merged

Collect repo automation under toolchain/#39
sistrall merged 1 commit into
mainfrom
chore/collect-repo-automation-under-toolchain

Conversation

@sistrall

@sistrall sistrall commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

What

bin/publish.mjs moves to toolchain/publish.mjs.

Why

Same change as datocms/js-rest-api-clients#54. toolchain/ is for scripts that act on the repo, rather than code we ship. bin/ is a weaker name: in several of our repos it also holds files the package manager generates, so it does not tell you which scripts are ours.

In js-rest-api-clients the move brought two related folders together. Here bin/ holds one file, so this is only a rename, and the reason to do it is consistency across repos. If the name does not hold up on #54, close this with it.

The change

The rename, two script paths in package.json, one line in CLAUDE.md, and a short toolchain/README.md. The repo-wide prettier script already covers the new folder.

Git records it as a rename, so git blame still works. No changeset — nothing we publish behaves differently.

Check

node toolchain/publish.mjs loads, finds the repo root, and stops at the branch check as designed. The script locates its root as dirname(script)/.., and bin/ and toolchain/ are both one level down, so that did not change.

@sistrall
sistrall force-pushed the chore/collect-repo-automation-under-toolchain branch from f809ef7 to f627443 Compare August 28, 2026 08:03
@sistrall
sistrall force-pushed the chore/collect-repo-automation-under-toolchain branch from f627443 to cde9bdf Compare August 28, 2026 08:13
@sistrall sistrall self-assigned this Aug 28, 2026
@sistrall
sistrall merged commit a86716d into main Aug 28, 2026
2 checks passed
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