Skip to main content

initialize

Setup, install, and onboard new developers to Reactive Data Client monorepo - nvm, yarn, build, test, getting started guide

소스 정보

저장소
reactive/data-client
최근 소스 활동
2026년 10월 13일 22:26
감지된 SKILL.md 언어
영어
스타
2,040
포크
98

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
initialize
description
Setup, install, and onboard new developers to Reactive Data Client monorepo - nvm, yarn, build, test, getting started guide
disable-model-invocation
true
metadata
{"internal":true}
# Initialize Development Environment ## Overview Get a new developer up and running with the Reactive Data Client monorepo. ## Steps 1. **Install prerequisites** - Install Node.js matching the root `package.json` `engines` (`.nvmrc` pins it) via [nvm](https://github.com/nvm-sh/nvm): `nvm install` - Enable Corepack for Yarn 4: `corepack enable` - Verify Yarn: `yarn --version` (should be 4.x) 2. **Install dependencies** - Run `yarn install` from repo root - This installs all workspace dependencies 3. **Build the project** - Run `yarn build` to build all packages - This runs TypeScript compilation and Babel transforms 4. **Run tests** - Run `yarn test` to verify everything works - Tests use Jest with projects: ReactDOM, Node, ReactNative 5. **Project familiarization** - Review monorepo structure: - `packages/endpoint` – Base endpoints and declarative schemas - `packages/rest` – REST modeling (`resource()`, `RestEndpoint`) - `packages/core` – Framework-agnostic normalized store - `packages/react` – React hooks (`useSuspense`, `useLive`, `useQuery`) - `packages/vue` – Vue 3 composables - `packages/normalizr` – Schema/Entity/normalization - Read [official docs](https://dataclient.io/docs) - Explore example apps in `examples/` 6. **Optional: Start website locally** - Use workspace task "website: start" or `cd website && yarn start` - Documentation site runs on localhost ## Onboarding Checklist - [ ] Node.js (per `engines`) and Yarn 4 ready - [ ] `yarn install` completed without errors - [ ] `yarn build` succeeds - [ ] `yarn test` passes - [ ] Reviewed `packages/` structure - [ ] Read `CONTRIBUTING.md` - [ ] Explored an example app (`examples/todo-app` or `examples/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 | ## Resources - [Documentation](https://dataclient.io/docs) - [Discord](https://discord.gg/35nb8Mz) - [Contributing Guide](../../../CONTRIBUTING.md)
GitHub에서 보기