docs: package-creation.md says the root tsconfig.json needs no update, but every package is listed there

Open
#770 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
node.js, typescript

Research direction

Read the "Root Configuration Updates" section in docs/agents/package-creation.md alongside docs/NEW-PACKAGE.md, then check the root tsconfig.json references and what npm run build and npm run typecheck use. Update both guides to give the same package setup instructions; done when their guidance matches the verified build and typecheck requirements.

Written by the indexing model from the issue text.

Description

documentation

docs/agents/package-creation.md (section "Root Configuration Updates") says:

NOTE: No longer need to update root tsconfig.json - packages handle their own build configurations.

But the root tsconfig.json lists every package in references, docs/NEW-PACKAGE.md and recent driver PRs (for example #653) add the new package there, and issue #601 asks for it too. A new contributor cannot tell which rule is right.

Done when

  • It is decided whether the root tsconfig.json references must list each package (check what npm run build / npm run typecheck use).
  • docs/agents/package-creation.md and docs/NEW-PACKAGE.md say the same thing.
  • If the list is not needed, it is removed; if it is needed, the NOTE is replaced by a step.
Dominant language
TypeScript
Stars
3
Forks
0
Avg merge
13h 46m
Merged PRs (30d)
58

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from groupsky/ya-modbus

All issues in groupsky/ya-modbus

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.