initialize
1
总安装量
1
周安装量
#45986
全站排名
安装命令
npx skills add https://github.com/reactive/data-client --skill initialize
Agent 安装分布
cursor
1
Skill 文档
Initialize Development Environment
Overview
Get a new developer up and running with the Reactive Data Client monorepo.
Steps
-
Install prerequisites
- Install Node.js >= 14 via nvm:
nvm install - Enable Corepack for Yarn 4:
corepack enable - Verify Yarn:
yarn --version(should be 4.x)
- Install Node.js >= 14 via nvm:
-
Install dependencies
- Run
yarn installfrom repo root - This installs all workspace dependencies
- Run
-
Build the project
- Run
yarn buildto build all packages - This runs TypeScript compilation and Babel transforms
- Run
-
Run tests
- Run
yarn testto verify everything works - Tests use Jest with projects: ReactDOM, Node, ReactNative
- Run
-
Project familiarization
- Review monorepo structure:
packages/endpointâ Base endpoints and declarative schemaspackages/restâ REST modeling (resource(),RestEndpoint)packages/coreâ Framework-agnostic normalized storepackages/reactâ React hooks (useSuspense,useLive,useQuery)packages/vueâ Vue 3 composablespackages/normalizrâ Schema/Entity/normalization
- Read official docs
- Explore example apps in
examples/
- Review monorepo structure:
-
Optional: Start website locally
- Use workspace task “website: start” or
cd website && yarn start - Documentation site runs on localhost
- Use workspace task “website: start” or
Onboarding Checklist
- Node.js >= 14 and Yarn 4 ready
-
yarn installcompleted without errors -
yarn buildsucceeds -
yarn testpasses - Reviewed
packages/structure - Read
CONTRIBUTING.md - Explored an example app (
examples/todo-apporexamples/github-app)
Helpful Commands
| Command | Description |
|---|---|
yarn build |
Build all packages |
yarn test |
Run all tests |
yarn lint |
Run ESLint |
yarn format |
Auto-fix lint issues |
yarn changeset |
Create a changeset for your PR |