Repository navigation
Prepare the first npm release - #7
Merged
Merged
Conversation
…e SHA and the CI workflow - tests/mock-contract-sha.test.ts pins the SHA-256 of the mock contract fixture, so the copy Teiresias keeps is compared against the same value without reading this repository - tests/ci-workflow.test.ts checks what test.yml runs, that it installs like deploy.yml, its permissions, and that every action is pinned by SHA Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d comments Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…4, add the npm publish workflow - package.json: private false, publishConfig.access public, files without src/testkit, engines.node >=22, prepublishOnly, homepage on the Pages site; devDependencies move to the latest release of their series - ci/pnpm-workspace.ci.yaml gains minimumReleaseAgeExclude and the tinypool override - test.yml installs the same way as deploy.yml (pnpm 11.27.0, CI pnpm settings, frozen lockfile) on Node 22 and 24, so the separate deploy-build job is folded into it; it starts from contents: read and every action is pinned by SHA - publish.yml is the shared trusted-publishing workflow with CI_WORKFLOW_FILE=test.yml Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vitest 5 no longer depends on tinypool, so the tinypool override is dropped. TypeScript 6 refuses files on the command line while a tsconfig.json is present, so test:types passes --ignoreConfig (it already gives every option it needs). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
@c4h/daedalusfor its first npm release. Nothing is published by this PR.Changes
private: false,publishConfig.access: public,files(dist,src/index.ts,src/types.ts,src/fitting, both READMEs;src/testkitis left out),engines.node: >=22,prepublishOnly(test, typecheck, test:types, build, verify:demo),homepageon the Pages site. dev tools follow the shared versions used across the Code for History packages (vitest 5, TypeScript 6, @types/node 26);test:typespasses--ignoreConfig, which TypeScript 6 needs for files given on the command line.versionandrepositoryare unchanged.ci/pnpm-workspace.ci.yamlgainsminimumReleaseAgeExcludefor@maplat/*and@c4h/*.cp ci/pnpm-workspace.ci.yaml pnpm-workspace.yamlandpnpm install --frozen-lockfile, top-levelpermissions: contents: read, actions pinned by SHA. Because the test job now installs exactly likedeploy.yml(and includes its Node version), the separate "Deploy build" job is folded into it;tests/ci-workflow.test.tskeeps the install lines of the two workflows identical.CI_WORKFLOW_FILEdiffers from the template (test.yml).pnpm auditgoes from critical 2 / high 6 to critical 0 / high 0 (--prodstays 0).release-pinnedblock, a table of every exported type, and a Development section. NewCHANGELOG.md.src/fitting/*.tsandsrc/types.ts(shipped in the tarball) no longer point at private development notes.readme-api-coverage,public-surface-wording,mock-contract-sha(the fixture Teiresias copies keeps its SHA-256),ci-workflow.Checked locally
pnpm run prepublishOnly: exit 0, 93 tests, Pages artifact verified.pnpm pack --dry-run: 24 files;dist/index.jsanddist/index.d.tsare in, nosrc/testkit, tests, openspec, .github, ci, demo or scripts.Note for Teiresias
Teiresias CI installs this repository as a sibling with pnpm 10 and no CI settings. With the
overridesnow recorded in the lockfile, that install stops withERR_PNPM_LOCKFILE_CONFIG_MISMATCH, so Teiresias needs its matching change (code4history/Teiresias#10) right after this is merged.🤖 Generated with Claude Code