Skip to content

refactor: make dev-server a reusable startServer() factory#19

Open
a-d-j-i wants to merge 1 commit into
coinspect:mainfrom
a-d-j-i:feat/dev-server-factory
Open

refactor: make dev-server a reusable startServer() factory#19
a-d-j-i wants to merge 1 commit into
coinspect:mainfrom
a-d-j-i:feat/dev-server-factory

Conversation

@a-d-j-i
Copy link
Copy Markdown
Collaborator

@a-d-j-i a-d-j-i commented May 29, 2026

Converts dev-server.js from a standalone CLI script to a module that exports startServer(opts) so external packages can embed the test server without spawning a child process.

Also adds exports map to @dappfence/test-app so callers can import via require('@dappfence/test-app/server'), and adds dev:http and test:e2e convenience scripts to the root package.json.

Converts dev-server.js from a standalone CLI script to a module that
exports startServer(opts) so external packages can embed the test server
without spawning a child process.

Also adds exports map to @dappfence/test-app so callers can import via
`require('@dappfence/test-app/server')`, and adds dev:http and test:e2e
convenience scripts to the root package.json.
@a-d-j-i a-d-j-i force-pushed the feat/dev-server-factory branch from 27efba9 to 6cb5136 Compare May 29, 2026 18:28
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