Repository navigation
feat: add npm run serve for one-command local production setup - #4
Merged
Merged
Conversation
- 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>
Contributor
|
This pull request targets the |
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
npm run servescript — builds bundles intopublic/then starts a static server on port 3000 in one commandrollup.config.jsto respectDISTRO_DISTenv var so rollup outputs to the correct directorytasks/build-distro.mjsto preservepublic/index.htmlwhen cleaning the output directoryHow to test
npm install npm run serve # open http://localhost:3000Should see the BPMN modeler with empty state ("Drop a .bpmn file here").
🤖 Generated with Claude Code