cliquify-previewers
v1.0.0
Published
Mono repo for previewer packages for cliquify.me
Downloads
74
Readme
cliquify-previewers
Monorepo containing reusable previewer libraries used across Cliquify projects:
@cliquify.me/fabric-previewer: Fabric-based canvas previewer/editor.@cliquify.me/video-remotion-previewer: Remotion-based video previewer.- Example apps under
apps/for local development and manual QA.
Requirements
- Node >= 20.18
- pnpm >= 9.12.3
It is recommended to pin versions (already configured in this repo):
{
"engines": { "node": ">=20.18" },
"packageManager": "[email protected]"
}Getting Started
Install all dependencies from the repo root:
pnpm installRepository Structure
cliquify-previewers/
packages/
fabric-previewer/
video-remotion-previewer/
apps/
fabric-previewer-demo/
video-previewer-sample/Development
The libraries are built as isolated packages and consumed by example apps via workspace:*.
Run Fabric previewer demo
pnpm --filter @cliquify.me/fabric-previewer build
pnpm --filter @cliquify.me/fabric-previewer-demo devRun Video previewer demo
pnpm --filter @cliquify.me/video-remotion-previewer build
pnpm --filter video-previewer-sample devWhen developing a package, rebuild it after changes so the demo app picks up the latest
dist/output. For a smoother experience you can run abuild --watchscript in parallel.
Publishing
This repo is designed for publishing each package independently under the @cliquify scope.
Typical flow (with Changesets configured):
Create a changeset:
pnpm changesetApply versions:
pnpm run version-packagesBuild and publish:
pnpm -r build pnpm -r publish --access public
Configure NPM_TOKEN in your environment or CI to authenticate with npm.
Design Principles
- React, Remotion, Fabric and other host-level libraries are declared as
peerDependencies. - Libraries do not bundle host frameworks; consumers control versions.
- TypeScript declarations are shipped for all public APIs.
- Example apps live alongside packages for fast, realistic integration testing.
