Skip to content

Use @mcmcjs/doodleppl in DoodleBUGS#513

Open
shravanngoswamii wants to merge 13 commits into
mainfrom
use-mcmcjs-doodleppl
Open

Use @mcmcjs/doodleppl in DoodleBUGS#513
shravanngoswamii wants to merge 13 commits into
mainfrom
use-mcmcjs-doodleppl

Conversation

@shravanngoswamii

@shravanngoswamii shravanngoswamii commented Jul 2, 2026

Copy link
Copy Markdown
Member

The editor now lives in the doodleppl npm package (developed in the mcmcjs monorepo, with its codegen in @mcmcjs/doodleppl), and this directory becomes its deployed site. Three steps, one per commit:

  1. The editor's duplicated codegen, Stan generator, validator, topological sort, and distribution catalog were replaced with @mcmcjs/doodleppl calls. Verified byte-for-byte: generated BUGS and Stan output for all 12 bundled examples is identical before and after (24/24).

  2. The widget source moved to the doodleppl package, so the app here reduces to an index.html mounting plus a three-line main.ts. The DoodleWidget demo article now loads the package's CDN build from unpkg, and the old dist-lib build is gone. Verified in the browser against the built site: the full editor (canvas, palette, projects, examples, code preview) renders with zero console errors.

  3. Housekeeping to match the new size: one tsconfig, four devDependencies (vite, typescript, prettier, @types/node), no eslint/vue toolchain, and the publish/preview workflows drop the deleted build:lib step. README updated to describe the architecture and the new embed story.

Note for existing users: the editor UI and features are unchanged (same widget the site already shipped), but hosts embedding the old lib URL should move to the doodleppl package; the element tag is now .

🤖 Generated with Claude Code

@TuringLang TuringLang deleted a comment from github-actions Bot Jul 2, 2026
@TuringLang TuringLang deleted a comment from github-actions Bot Jul 2, 2026
@TuringLang TuringLang deleted a comment from github-actions Bot Jul 2, 2026
@TuringLang TuringLang deleted a comment from github-actions Bot Jul 2, 2026
@TuringLang TuringLang deleted a comment from github-actions Bot Jul 2, 2026
@TuringLang TuringLang deleted a comment from github-actions Bot Jul 2, 2026
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

A preview of this pull request has been deployed.
https://turinglang.org/JuliaBUGS.jl/DoodleBUGS/pr-previews/513

@TuringLang TuringLang deleted a comment from github-actions Bot Jul 4, 2026
@TuringLang TuringLang deleted a comment from github-actions Bot Jul 4, 2026
@TuringLang TuringLang deleted a comment from github-actions Bot Jul 4, 2026
@shravanngoswamii shravanngoswamii requested a review from sunxd3 July 7, 2026 05:57
@github-actions

Copy link
Copy Markdown
Contributor

A preview of this pull request has been deployed.
https://turinglang.org/JuliaBUGS.jl/DoodleBUGS/pr-previews/513

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.

2 participants