Skip to content

docs: fix leftover template-repos-ts-sol name in package.json and README - #432

Open
Jah-yee wants to merge 1 commit into
dev-protocol:mainfrom
Jah-yee:docs/fix-template-name-treasury
Open

docs: fix leftover template-repos-ts-sol name in package.json and README#432
Jah-yee wants to merge 1 commit into
dev-protocol:mainfrom
Jah-yee:docs/fix-template-name-treasury

Conversation

@Jah-yee

@Jah-yee Jah-yee commented Aug 15, 2026

Copy link
Copy Markdown

Summary

This repository was scaffolded from the template-repos-ts-sol template, but the package metadata and README title were never updated to reflect the actual purpose (Dev Protocol treasury contracts). This PR fixes that.

Changes

  • package.json

    • name: template-repos-ts-sol@devprotocol/treasury
    • description: Template repository for using TypeScript and SolidityTreasury contracts for the Dev Protocol ecosystem
    • Added missing repository, author, and license at the top level
    • Removed the duplicate author: "" and license fields at the bottom of the file (which were previously dead overrides of the canonical top-level values)
  • README.md

    • Title: # template-repos-ts-sol# Treasury
    • Added a short description of the project
    • Listed the available yarn scripts (generate, test, build, lint)
    • Added a license footer

Why

The current package.json name and README title still show template-repos-ts-sol, which is misleading for anyone browsing the published package or the repo. The repo ships under @devprotocol/* namespace and references @devprotocol/protocol and @devprotocol/protocol-v2 as dependencies, so the package name should match.

Search confirms the same leftover pattern exists in several other repos in the organization (e.g. discord-market, i-s-tokens), so this is a known template-derivation issue. This PR is scoped to treasury only.

Risk

Documentation and metadata only — no code changes, no CI changes, no dependency updates. The CI workflow and hardhat config are untouched.

This repository was scaffolded from the `template-repos-ts-sol` template
but the package metadata and README title were never updated to reflect the
actual purpose (Dev Protocol treasury contracts). This commit:

- Updates `package.json` `name` from `template-repos-ts-sol` to
  `@devprotocol/treasury` and rewrites the description.
- Adds the missing `repository`, `author`, and removes duplicate
  `author`/`license` fields.
- Rewrites the README so the title matches the repository name and adds
  a short description and the available scripts.
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