edpear-sdk
v2.0.0
Published
EdPear SDK — React component library for edtech (publish alias; same bits as the edpear package).
Maintainers
Readme
edpear-sdk
npm package edpear-sdk is the published SDK name for EdPear: the same React components, CLI, styles, and OpenRouter helpers as the root edpear package in this repo.
Use whichever install name you prefer:
npm install edpear-sdkimport "edpear-sdk/styles.css";
import { QuizCard, CourseDashboard } from "edpear-sdk";CLI
npx edpear-sdk add quiz-card lesson-progressThe same CLI is also available as the edpear command after install (npx edpear … from this package).
Maintainers: publish from this repo
This folder does not build TypeScript itself. It mirrors the root package after tsc:
From the repository root (parent of
edpear-sdk/):npm run build npm run sdk:syncPublish the SDK package:
npm publish ./edpear-sdk --access publicOr use the shortcut:
npm run sdk:publish
prepack / prepublishOnly in edpear-sdk/package.json run sync automatically, but dist/ must exist — always run npm run build at the root first.
Relationship to edpear
| Package | Role |
| ------------- | ----------------------------------------- |
| edpear | Primary name in source / local file: |
| edpear-sdk | npm registry name for consumers (this dir) |
Version numbers are kept in sync (e.g. 2.0.0).
