Skip to content

feat: add npm run serve for one-command local production setup - #4

Merged
tkosin merged 2 commits into
mainfrom
feat/serve-script-and-readme
May 31, 2026
Merged

tkosin merged 2 commits into
mainfrom
feat/serve-script-and-readme

Conversation

@tkosin

@tkosin tkosin commented May 31, 2026

Copy link
Copy Markdown
Member

Summary

  • Add npm run serve script — builds bundles into public/ then starts a static server on port 3000 in one command
  • Update rollup.config.js to respect DISTRO_DIST env var so rollup outputs to the correct directory
  • Update tasks/build-distro.mjs to preserve public/index.html when cleaning the output directory
  • Rewrite README facgure fork section: clearer getting-started, feature table, dev mode notes, project structure table

How to test

npm install
npm run serve
# open http://localhost:3000

Should see the BPMN modeler with empty state ("Drop a .bpmn file here").

🤖 Generated with Claude Code

- Add `serve` script to package.json: builds bundles into public/ then starts static server on port 3000
- Update rollup.config.js to respect DISTRO_DIST env var for output directory
- Update build-distro.mjs to preserve index.html when cleaning the output directory
- Rewrite README facgure fork section with clearer running instructions, feature table, dev mode notes, and project structure table

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

This pull request targets the main branch. Please target main for bug fixes only. Target develop for regular feature development.

Matches the pattern used in ModelerSpec.js — avoids ESLint
mocha/no-exclusive-tests error when singleStart is false.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tkosin
tkosin merged commit edd8cb2 into main May 31, 2026
8 of 10 checks passed
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.

1 participant