Skip to content

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

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

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

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 (Discord market contracts for Dev Protocol). This PR fixes that.

Changes

  • package.json

    • name: template-repos-ts-sol@devprotocol/discord-market
    • description: Template repository for using TypeScript and SolidityDiscord market contracts for the Dev Protocol ecosystem
    • Added missing repository, author at the top level (alongside the existing license)
    • Removed the duplicate author: "" and license fields at the bottom of the file
  • README.md

    • Title: # template-repos-ts-sol# Discord Market
    • Added a short description and the link back to the original template
    • Listed the shipped contracts (DiscordMarketV2.sol, MarketAdmin.sol, MarketProxy.sol)
    • Listed the available yarn scripts

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. This is a known template-derivation issue affecting several repos in the organization (e.g. treasury, i-s-tokens); this PR is scoped to discord-market to keep the change small and reviewable.

Risk

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

Same template-derivation artifact as the `treasury` repo: this project was
scaffolded from `template-repos-ts-sol` but the package metadata and README
title were never updated. This commit:

- Updates `package.json` `name` to `@devprotocol/discord-market`
  and rewrites the description.
- Adds the missing `repository`, `author`, and removes the duplicate
  `author`/`license` fields at the bottom of the file.
- Rewrites the README so the title matches the repository name, lists the
  shipped contracts in `contracts/`, and documents 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