Skip to content

feat(freehand): extract standalone plugin package - #467

Closed
nightt5879 wants to merge 1 commit into
developfrom
nightt5879/issue-464-freehand-package
Closed

feat(freehand): extract standalone plugin package#467
nightt5879 wants to merge 1 commit into
developfrom
nightt5879/issue-464-freehand-package

Conversation

@nightt5879

Copy link
Copy Markdown
Member

Summary

  • extract the reusable freehand engine into the standalone @plait-board/freehand package
  • keep Drawnix-specific presets, gesture blocking, and laser eraser trails in a small adapter injected through plugin options
  • add Nx build/publish configuration, focused behavior tests, and package documentation

Testing

  • npx nx run-many -t=test --all -- --run
  • npm run build
  • npm run lint
  • npm run format:check
  • npx nx build web
  • npx tsc -p packages/freehand/tsconfig.lib.json --noEmit
  • npx tsc -p packages/drawnix/tsconfig.lib.json --noEmit
  • clean npm pack / install / require('@plait-board/freehand') consumer smoke test

A full all-project TypeScript check still reports the existing CSS custom-property typing errors in the unchanged island.tsx and stack.tsx files; the new package and Drawnix library type checks pass.

AI-assisted contribution

  • Tool: OpenAI Codex
  • Used for package-boundary design, refactoring, tests, and documentation
  • I reviewed the resulting diff and verified it with the commands above; I understand and can maintain the submitted changes

Closes #464

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying drawnix with  Cloudflare Pages  Cloudflare Pages

Latest commit: 78dc639
Status: ✅  Deploy successful!
Preview URL: https://836298fd.drawnix.pages.dev
Branch Preview URL: https://nightt5879-issue-464-freehan.drawnix.pages.dev

View logs

@nightt5879

Copy link
Copy Markdown
Member Author

Closing because this implementation was started prematurely during a planning discussion. No implementation decision was intended.

@nightt5879 nightt5879 closed this Aug 27, 2026
@nightt5879
nightt5879 deleted the nightt5879/issue-464-freehand-package branch August 27, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Roadmap: extract the freehand plugin into a standalone npm package

1 participant