Repository navigation
Rename npm scope to @flashyfinancial/wdk-staking-kit (0.3.0) - #22
Merged
Merged
Conversation
Finance packages in this estate move to the FlashyFinancial scope, the same move @flashylabs/ledger made to @flashyos/ledger at 1.0.1. Updates package.json's name and adds an explicit publishConfig, the README's install instructions, badges and code samples, the issue templates, the type-level test's import (and its tsconfig path mapping), the generated manifest (regenerated via `npm run manifest`, never hand-edited), and the publish workflow's scope references. The GitHub repository location is untouched on purpose — this is a scope rename, not a repo move. `package.json`'s repository/homepage/bugs fields and `flashyos.roles.json`'s repository URL still name github.com/FlashyLabs/wdk-staking-kit. Adds a one-off, workflow_dispatch-only `.github/workflows/deprecate-old-scope.yml` that runs `npm deprecate @flashylabs/wdk-staking-kit@* "moved to @flashyfinancial/wdk-staking-kit"` using the existing NPM_TOKEN secret, for a human to trigger later — never run on a schedule or push, and not run as part of this change. Adds test/scope.test.mjs pinning the rename across package.json, README, the issue template, the type-level test, and both workflows. Updates test/manifest.test.mjs's module.package assertion and README's `npm test` count (90 -> 102). CHANGELOG gets a 0.3.0 entry; the existing Unreleased close() concurrency fix ships in the same release. Full suite (102 tests), manifest check, invariants check and build:types/test:types all pass on origin/main, measured branch. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VgrPGGUFKMq9zXBHnfcTgs
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.
Summary
@flashylabs/wdk-staking-kitto@flashyfinancial/wdk-staking-kit— this estate's brand-scoped reorg moves finance packages to the FlashyFinancial scope, the same move@flashylabs/ledgermade to@flashyos/ledgerat1.0.1.0.2.0→0.3.0(a deliberate minor bump for the rename; it also ships the already-draftedclose()concurrency fix that was sitting under "Unreleased" inCHANGELOG.md).package.json(name, new explicitpublishConfig), the README (title, badges, install command, code samples, Status section, test count), both issue templates,src/manifest.js(regeneratedwdk-staking-kit.manifest.jsonvianpm run manifest— never hand-edited),test-types/consumer.ts+ itstsconfig.jsonpath mapping, and.github/workflows/publish.yml's scope references.package-lock.jsonregenerated vianpm install.package.json'srepository/homepage/bugsfields andflashyos.roles.json'srepositories[].urlstill namegithub.com/FlashyLabs/wdk-staking-kit— this is a scope rename, not a repo move..github/workflows/deprecate-old-scope.yml—workflow_dispatchonly, never scheduled or push-triggered — that runsnpm deprecate @flashylabs/wdk-staking-kit@* "moved to @flashyfinancial/wdk-staking-kit"using the existingNPM_TOKEN/NPM_TOKEN_FLASHYOS_CIsecret the publish workflow already uses. I have no npm credentials and did not runnpm deprecatemyself; this workflow is how a human with the secret triggers the deprecation later.test/scope.test.mjspinning the rename acrosspackage.json, the README, the issue template, the type-level test, and both workflows (including that the new workflow staysworkflow_dispatch-only). Updatestest/manifest.test.mjs'smodule.packageassertion.Branch measured
origin/mainis this repo's default branch (git symbolic-ref --short refs/remotes/origin/HEAD), and this PR targets it.Test plan
All run against this branch, with
npm ci/npm installfirst sotscresolves to the pinned devDependency rather than whatevernpxfinds globally:npm test— 102/102 pass (1 skip: the AAO-checker drift test, honestly UNKNOWN because noaaocheckout sits beside this repo — same as before this change)npm run check— manifest currentnpm run invariants—ok — 4 invariant(s), 19 citation(s) found in 13 test file(s)npm run test:types— cleanCI on this PR will re-run the same
ci.ymlmatrix (ubuntu/windows/macos × Node 20/22) plusnpm run test:types.Generated by Claude Code