Patch Changes
-
The starter app keeps single-use styles and helpers beside the JSX that uses them, and the bundled Remix skill favors keeping related code together. (#12171)
-
New apps created with
remix newon Windows can runnpm run devandnpm startagain. The generated scripts usedcross-env-shell, which rewrote--import remix/node-tsxto--import remix\node-tsxon Windows and failed withERR_INVALID_MODULE_SPECIFIER. Windows scripts now usecross-envinstead. (#12320)Apps generated on Windows with an earlier version can update their
package.jsonscripts the same way:"scripts": { - "dev": "cross-env-shell NODE_ENV=development \"node --watch --import remix/node-tsx server.ts\"", - "hmr": "cross-env-shell NODE_ENV=development \"node hmr.ts\"", - "start": "cross-env-shell NODE_ENV=production \"node --import remix/node-tsx server.ts\"", - "test": "cross-env-shell NODE_ENV=test \"remix test\"" + "dev": "cross-env NODE_ENV=development node --watch --import remix/node-tsx server.ts", + "hmr": "cross-env NODE_ENV=development node hmr.ts", + "start": "cross-env NODE_ENV=production node --import remix/node-tsx server.ts", + "test": "cross-env NODE_ENV=test remix test" } -
Bumped
@remix-run/*dependencies: