Skip to content

fix!: do not auto-discover and run a server.js file on npm start#262

Merged
wraithgar merged 1 commit into
mainfrom
owlstronaut/no-magic-server
Apr 14, 2026
Merged

fix!: do not auto-discover and run a server.js file on npm start#262
wraithgar merged 1 commit into
mainfrom
owlstronaut/no-magic-server

Conversation

@owlstronaut
Copy link
Copy Markdown
Contributor

@owlstronaut owlstronaut commented Feb 26, 2026

BREAKING CHANGE: If a package has a server.js file but no start script, it will no longer be automatically run when the start event is triggered. This change removes the implicit behavior of running server.js and requires an explicit start script to be defined in the package.json.

BREAKING CHANGE: If a package has a server.js file but no start script, it will no longer be automatically run when the start event is triggered. This change removes the implicit behavior of running server.js and requires an explicit start script to be defined in the package.json.
@owlstronaut owlstronaut marked this pull request as ready for review April 14, 2026 19:46
@owlstronaut owlstronaut requested a review from a team as a code owner April 14, 2026 19:46
@wraithgar wraithgar changed the title fix!: do not magically find and run a server.js file on start fix!: do not auto-discover and run a server.js file on npm start Apr 14, 2026
@wraithgar wraithgar closed this Apr 14, 2026
@wraithgar wraithgar reopened this Apr 14, 2026
@wraithgar wraithgar merged commit eb54826 into main Apr 14, 2026
34 of 35 checks passed
@wraithgar wraithgar deleted the owlstronaut/no-magic-server branch April 14, 2026 20:37
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