@remix-run/serve 2.0.1-pre.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -10
- package/dist/cli.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,36 +1,41 @@
|
|
|
1
1
|
# `@remix-run/serve`
|
|
2
2
|
|
|
3
|
-
## 2.0.1
|
|
3
|
+
## 2.0.1
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Fix HMR for CJS projects using `remix-serve` and manual mode (`remix dev --manual`) ([#7487](https://github.com/remix-run/remix/pull/7487))
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
ESM projects were already working correctly and are not affected by this.
|
|
11
|
-
|
|
8
|
+
- By explicitly busting the `require` cache, `remix-serve` now correctly re-imports new server changes in CJS
|
|
9
|
+
- ESM projects were already working correctly and are not affected by this.
|
|
12
10
|
- Fix error caused by partially written server build ([#7470](https://github.com/remix-run/remix/pull/7470))
|
|
13
|
-
|
|
14
|
-
Previously, it was possible to trigger a reimport of the app server code before the new server build had completely been written. Reimporting the partially written server build caused issues related to `build.assets` being undefined and crashing when reading `build.assets.version`.
|
|
15
|
-
|
|
11
|
+
- Previously, it was possible to trigger a reimport of the app server code before the new server build had completely been written. Reimporting the partially written server build caused issues related to `build.assets` being undefined and crashing when reading `build.assets.version`
|
|
16
12
|
- Updated dependencies:
|
|
17
|
-
- `@remix-run/node@2.0.1
|
|
18
|
-
- `@remix-run/express@2.0.1
|
|
13
|
+
- `@remix-run/node@2.0.1`
|
|
14
|
+
- `@remix-run/express@2.0.1`
|
|
19
15
|
|
|
20
16
|
## 2.0.0
|
|
21
17
|
|
|
22
18
|
### Major Changes
|
|
23
19
|
|
|
24
20
|
- `remix-serve` now picks an open port if 3000 is taken ([#7278](https://github.com/remix-run/remix/pull/7278))
|
|
21
|
+
|
|
25
22
|
- If `PORT` env var is set, `remix-serve` will use that port
|
|
26
23
|
- Otherwise, `remix-serve` picks an open port (3000 unless that is already taken)
|
|
24
|
+
|
|
27
25
|
- Integrate manual mode in `remix-serve` ([#7231](https://github.com/remix-run/remix/pull/7231))
|
|
26
|
+
|
|
28
27
|
- Remove undocumented `createApp` Node API ([#7229](https://github.com/remix-run/remix/pull/7229))
|
|
28
|
+
|
|
29
29
|
- `remix-serve` is a CLI, not a library
|
|
30
|
+
|
|
30
31
|
- Require Node >=18.0.0 ([#6939](https://github.com/remix-run/remix/pull/6939))
|
|
32
|
+
|
|
31
33
|
- Promote the `future.v2_dev` flag in `remix.config.js` to a root level `dev` config ([#7002](https://github.com/remix-run/remix/pull/7002))
|
|
34
|
+
|
|
32
35
|
- Default to `serverModuleFormat: "esm"` and update `remix-serve` to use dynamic import to support ESM and CJS build outputs ([#6949](https://github.com/remix-run/remix/pull/6949))
|
|
36
|
+
|
|
33
37
|
- Preserve dynamic imports in `remix-serve` for external bundle ([#7173](https://github.com/remix-run/remix/pull/7173))
|
|
38
|
+
|
|
34
39
|
- For preparation of using Node's built in fetch implementation, installing the fetch globals is now a responsibility of the app server ([#7009](https://github.com/remix-run/remix/pull/7009))
|
|
35
40
|
|
|
36
41
|
- If you are using `remix-serve`, nothing is required
|
package/dist/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remix-run/serve",
|
|
3
|
-
"version": "2.0.1
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Production application server for Remix",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/remix-run/remix/issues"
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"remix-serve": "dist/cli.js"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@remix-run/express": "2.0.1
|
|
19
|
-
"@remix-run/node": "2.0.1
|
|
18
|
+
"@remix-run/express": "2.0.1",
|
|
19
|
+
"@remix-run/node": "2.0.1",
|
|
20
20
|
"chokidar": "^3.5.3",
|
|
21
21
|
"compression": "^1.7.4",
|
|
22
22
|
"express": "^4.17.1",
|