Repository navigation
Prepare 0.1.0: publishable packages and a manual publish workflow - #1
Merged
Merged
Conversation
The three packages drop private, take version 0.1.0, and name this repository. Each builds before it is packed. The suite ships its dist, its dormouse.yml, the license and its README. The Publish workflow is started by hand from main, defaults to a dry run, and records provenance on a real one. Nothing is published by this commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This was referenced Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepares the first npm release. Merging this publishes nothing. It makes the three packages publishable and adds a workflow that publishes only when started by hand.
What changes
@dor-tools/api,@dor-tools/scaffold,@dor-tools/suitetake version0.1.0, dropprivate, and name this repository andhttps://dor.tools.prepack), so a tarball never carries a staledist.suitelists what it ships:dist,dormouse.yml, the license and its README..github/workflows/publish.yml: started by hand, frommainonly. It installs, tests, and runspnpm -r publish. Itsdry_runinput defaults to on, which packs and publishes nothing. A real run records provenance.## [0.1.0] - 2026-12-02. Change the date if the release is cut on another day.What each tarball holds
From a local
pnpm packof each package:@dor-tools/api@dor-tools/scaffold@dor-tools/api0.1.0@dor-tools/suite@dor-tools/apiand@dor-tools/scaffold0.1.0, plus its editor librariesEach includes
LICENSE. Theworkspace:*dependencies are written as0.1.0, aspnpm publishdoes.To publish, in order
dor-toolsorganisation on npm must exist and you must be able to publish to it.npm login, then from the repository rootpnpm install --frozen-lockfile && pnpm -r publish --access public. No provenance this way.NPM_TOKEN(an npm token allowed to publish to@dor-tools), run Publish once withdry_runon and read its output, then again with it off.v0.1.0.npm's trusted publishing (no stored token) can only be set up for a package that already exists, so it can replace the secret after this first release, not before. I have not checked whether this pnpm version supports it.
In Dormouse, afterwards
docs/specs/dor-tools-api.mdthere still says the package "must remainprivateuntil the protocol reaches 1.0". That sentence needs replacing when Dormouse's submodule pin moves to the release commit.Verified
pnpm install --frozen-lockfileandpnpm testpass locally on macOS (api 50, scaffold 20, suite 269 passed and 4 skipped).pnpm -r publish --access public --no-git-checks --dry-runexits 0 and names all three packages at0.1.0.Not verified
mainis the test.🤖 Generated with Claude Code