Skip to content

Rename npm scope to @flashyfinancial/wdk-staking-kit (0.3.0) - #22

Merged
AgenteLabs merged 1 commit into
mainfrom
rename-npm-scope-flashyfinancial
Oct 30, 2026
Merged

AgenteLabs merged 1 commit into
mainfrom
rename-npm-scope-flashyfinancial

Conversation

@AgenteLabs

Copy link
Copy Markdown
Owner

Summary

  • Renames the published package from @flashylabs/wdk-staking-kit to @flashyfinancial/wdk-staking-kit — this estate's brand-scoped reorg moves finance packages to the FlashyFinancial scope, the same move @flashylabs/ledger made to @flashyos/ledger at 1.0.1.
  • Bumps 0.2.0 → 0.3.0 (a deliberate minor bump for the rename; it also ships the already-drafted close() concurrency fix that was sitting under "Unreleased" in CHANGELOG.md).
  • Updates: package.json (name, new explicit publishConfig), the README (title, badges, install command, code samples, Status section, test count), both issue templates, src/manifest.js (regenerated wdk-staking-kit.manifest.json via npm run manifest — never hand-edited), test-types/consumer.ts + its tsconfig.json path mapping, and .github/workflows/publish.yml's scope references. package-lock.json regenerated via npm install.
  • Left alone on purpose: the GitHub repository location. package.json's repository/homepage/bugs fields and flashyos.roles.json's repositories[].url still name github.com/FlashyLabs/wdk-staking-kit — this is a scope rename, not a repo move.
  • Adds .github/workflows/deprecate-old-scope.yml — workflow_dispatch only, never scheduled or push-triggered — that runs npm deprecate @flashylabs/wdk-staking-kit@* "moved to @flashyfinancial/wdk-staking-kit" using the existing NPM_TOKEN/NPM_TOKEN_FLASHYOS_CI secret the publish workflow already uses. I have no npm credentials and did not run npm deprecate myself; this workflow is how a human with the secret triggers the deprecation later.
  • Adds test/scope.test.mjs pinning the rename across package.json, the README, the issue template, the type-level test, and both workflows (including that the new workflow stays workflow_dispatch-only). Updates test/manifest.test.mjs's module.package assertion.

Branch measured

origin/main is 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 install first so tsc resolves to the pinned devDependency rather than whatever npx finds globally:

  • npm test — 102/102 pass (1 skip: the AAO-checker drift test, honestly UNKNOWN because no aao checkout sits beside this repo — same as before this change)
  • npm run check — manifest current
  • npm run invariants — ok — 4 invariant(s), 19 citation(s) found in 13 test file(s)
  • npm run test:types — clean

CI on this PR will re-run the same ci.yml matrix (ubuntu/windows/macos × Node 20/22) plus npm run test:types.


Generated by Claude Code

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
@AgenteLabs
AgenteLabs merged commit fdd4e8b into main Oct 30, 2026
16 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.

2 participants