Problem
The @teamcode-ai/teamcode package published to npm does not include a README.md file. This means the npm registry page shows no documentation, usage instructions, or project description.
Impact
- Users browsing npmjs.com see an empty package page
- No quick-start instructions visible on the registry
- Reduced discoverability and trust
Solution
Update packages/teamcode/script/publish.ts to copy the repository README.md into the meta-package dist directory before publishing:
// In the meta-package creation section, add:
await $`cp ../../README.md ./dist/${pkg.name}/README.md`
This ensures the README is bundled with the published package and displayed on npmjs.com.
Files to modify
packages/teamcode/script/publish.ts — copy README.md into dist/teamcode/ before the npm publish step
Problem
The
@teamcode-ai/teamcodepackage published to npm does not include aREADME.mdfile. This means the npm registry page shows no documentation, usage instructions, or project description.Impact
Solution
Update
packages/teamcode/script/publish.tsto copy the repositoryREADME.mdinto the meta-package dist directory before publishing:This ensures the README is bundled with the published package and displayed on npmjs.com.
Files to modify
packages/teamcode/script/publish.ts— copyREADME.mdintodist/teamcode/before thenpm publishstep