一键导入
install-package
Installing a package dependency
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Installing a package dependency
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Coding patterns and conventions (package design, types, DI, docs)
Creating a new package in the monorepo
Running CI locally with Dagger
Debugging (source maps, cache, test failures)
DevContainer runtimes, CLI tools, and version parity with Dagger
Linting and formatting (ESLint, Biome, auto-fix)
| name | install-package |
| description | Installing a package dependency |
Reference: https://pnpm.io/workspaces
This workspace uses pnpm to manage dependencies.
This is only required if the dependency deos not yet exist in the codebase, otherwise it should already be there.
Put the dependency under the default catalog. Do not create a custom catalog key, we should encourage a single
version used consistently across the monorepo.
The only exception is adding dependencies on npm-based version of packages that are maintained in this repo. This is for rare cases to work around circular dependencies that only show up in dev environments.
Add the package to package.json's dependencies (or devDependencies). Note that packages that are "optional" or "peer" dependencies will also need it as a dev dependency in order to develop locally against it.
Run pnpm i then nx run-many -t build to actually perform the install and cache bust nx projects.