In your remix.config.js, rename devServerPort to future.v2_dev.port.
Before
/** @type {import('@remix-run/dev').AppConfig} */module.exports = {devServerPort: 8002,};
After
/** @type {import('@remix-run/dev').AppConfig} */module.exports = {// While on v1.x, this is via a future flagfuture: {v2_dev: {port: 8002,},},};
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community