The Storyblok OSS monorepo
A monorepo that consolidates all JavaScript projects from the Storyblok organization. This project aims to centralize the development, maintenance, and contribution to Storyblok's ecosystem of SDKs and tools.
This monorepo contains the following official Storyblok SDKs and integrations:
| Package | Description | Version | Downloads |
|---|---|---|---|
| @storyblok/js | Core JavaScript SDK for Storyblok | ||
| storyblok-js-client | JavaScript client for Storyblok's Content Delivery API | ||
| storyblok-cli | A powerful CLI tool to improve the DX of your Storyblok projects. | ||
| @storyblok/region-helper | A helper package to handle Storyblok APIs in different regions. |
| Package | Description | Version | Downloads |
|---|---|---|---|
| @storyblok/react | React SDK for Storyblok | ||
| @storyblok/vue | Vue SDK for Storyblok | [
pnpm build
# Build a specific package
pnpm nx build @storyblok/react
# Run all tests
pnpm test
# Type-check every TypeScript package
pnpm test:types
# Lint everything (root + all packages)
pnpm lint
# Auto-fix lint issues
pnpm lint:fix
# Format with Oxfmt
pnpm format
# Watch-build a single package while developing
pnpm --filter @storyblok/react dev
# Re-run a package's tests on change
pnpm --filter @storyblok/migrations test:watch
When you create a pull request, our CI automatically:
0.0.0-pr123-a1b2c3d)To use a preview package:
.npmrc:@storyblok:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
npm install @storyblok/package-name@0.0.0-pr123-a1b2c3d
The preview version format is: 0.0.0-pr{PR_NUMBER}-{COMMIT_SHA}
If you have any questions about contributing, please: