File tree Expand file tree Collapse file tree
.agents/skills/add-package Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,12 +159,8 @@ npm i remix <peer-dependency>
159159- ` packages/remix ` is generated automatically in CI.
160160- Do not hand-edit ` packages/remix/package.json ` or ` packages/remix/src/* ` ; run the generator when generated output is required.
161161- ** When adding a new package** , add it to ` packages/remix/manifest.json ` before running the generator:
162- - Add one entry per export: ` "remix/<canonical-path>": "@remix-run/<package-name>" ` .
163- - For sub-exports (e.g. ` ./foo ` ), add ` "remix/<canonical-path>/foo": "@remix-run/<package-name>/foo" ` .
164- - Place entries before the ` _comment ` separator line (canonical entries come first).
162+ - Add one entry per export: ` "remix/<canonical-path>": "@remix-run/<package-name>" ` ,` "remix/<canonical-path>/foo": "@remix-run/<package-name>/foo" ` .
165163 - Choose a domain-oriented canonical path (e.g. ` remix/middleware/logger ` , not ` remix/logger-middleware ` ).
166- - Then run: ` node --experimental-strip-types scripts/generate-remix.ts `
167- - The manifest test (` pnpm --filter remix run test ` ) will fail if any package export is missing.
168164- If user asks for full surfacing, you can still update root ` README.md ` package list when applicable.
169165
1701669 . Validate before finishing.
You can’t perform that action at this time.
0 commit comments