How lemick/open-iframe-resizer works
Project type and purpose
• This is a monorepo for an open‑source frontend library (“Open Iframe Resizer”) that provides a core ES module plus React and Vue wrappers, full documentation site, automated tests, and CI/CD workflows.
• Purpose: Dynamically resize iframes in a lightweight, framework‑agnostic way, with optional React and Vue integrations and a published website for docs and demos.
File structure
• Top-level:
• .github/workflows: CI workflows for build, test, release, website deploy
• packages/: monorepo packages
– core/: core iframe resizer library (TS source, tests, use‑cases, build configs)
– react/: React wrapper package
– vue/: Vue wrapper package
• scripts/: utility scripts (e.g., generate Use Cases HTML, prerelease hooks)
• website/: Astro‑based documentation and demo site
• README.md, package.json, lockfiles, config files (TS, biome)
• Patterns: Lerna/Yarn‑workspaces or pnpm‑style monorepo, each package has its own build/test setup; E2E use‑cases under each package, core has Playwright & Vitest.
README for additional insights
• It confirms core ES6 module usage, npm installation, React/Vue wrappers, links to full docs on GitHub Pages.
• No backend services—pure client‑side code, published to npm and GitHub Pages.