@react-router/dev 7.0.0-pre.1 → 7.0.0-pre.3

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.
Files changed (67) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/cli/index.d.ts +2 -1
  3. package/dist/cli/index.js +1352 -8
  4. package/dist/routes.d.ts +4 -2
  5. package/dist/routes.js +181 -11
  6. package/dist/typescript/plugin.d.ts +5 -2
  7. package/dist/typescript/plugin.js +479 -31
  8. package/dist/vite/cloudflare.d.ts +1 -1
  9. package/dist/vite/cloudflare.js +171 -5
  10. package/dist/vite.d.ts +2 -2
  11. package/dist/vite.js +2394 -5
  12. package/package.json +29 -8
  13. package/dist/cli/commands.d.ts +0 -13
  14. package/dist/cli/commands.js +0 -179
  15. package/dist/cli/detectPackageManager.d.ts +0 -10
  16. package/dist/cli/detectPackageManager.js +0 -39
  17. package/dist/cli/run.d.ts +0 -5
  18. package/dist/cli/run.js +0 -187
  19. package/dist/cli/useJavascript.d.ts +0 -4
  20. package/dist/cli/useJavascript.js +0 -66
  21. package/dist/colors.d.ts +0 -17
  22. package/dist/colors.js +0 -49
  23. package/dist/config/format.d.ts +0 -5
  24. package/dist/config/format.js +0 -68
  25. package/dist/config/routes.d.ts +0 -129
  26. package/dist/config/routes.js +0 -253
  27. package/dist/config/serverModes.d.ts +0 -9
  28. package/dist/invariant.d.ts +0 -2
  29. package/dist/invariant.js +0 -20
  30. package/dist/manifest.d.ts +0 -28
  31. package/dist/typescript/typegen.d.ts +0 -10
  32. package/dist/typescript/typegen.js +0 -190
  33. package/dist/vite/babel.d.ts +0 -20
  34. package/dist/vite/babel.js +0 -49
  35. package/dist/vite/build.d.ts +0 -15
  36. package/dist/vite/build.js +0 -249
  37. package/dist/vite/cloudflare-dev-proxy.d.ts +0 -21
  38. package/dist/vite/cloudflare-dev-proxy.js +0 -89
  39. package/dist/vite/combine-urls-test.d.ts +0 -1
  40. package/dist/vite/combine-urls.d.ts +0 -1
  41. package/dist/vite/combine-urls.js +0 -20
  42. package/dist/vite/config.d.ts +0 -234
  43. package/dist/vite/config.js +0 -282
  44. package/dist/vite/dev.d.ts +0 -15
  45. package/dist/vite/dev.js +0 -81
  46. package/dist/vite/import-vite-esm-sync.d.ts +0 -4
  47. package/dist/vite/import-vite-esm-sync.js +0 -28
  48. package/dist/vite/node-adapter.d.ts +0 -6
  49. package/dist/vite/node-adapter.js +0 -90
  50. package/dist/vite/plugin.d.ts +0 -75
  51. package/dist/vite/plugin.js +0 -1299
  52. package/dist/vite/profiler.d.ts +0 -5
  53. package/dist/vite/profiler.js +0 -55
  54. package/dist/vite/remove-exports-test.d.ts +0 -1
  55. package/dist/vite/remove-exports.d.ts +0 -2
  56. package/dist/vite/remove-exports.js +0 -148
  57. package/dist/vite/resolve-file-url.d.ts +0 -3
  58. package/dist/vite/resolve-file-url.js +0 -53
  59. package/dist/vite/styles.d.ts +0 -14
  60. package/dist/vite/styles.js +0 -197
  61. package/dist/vite/vite-node.d.ts +0 -9
  62. package/dist/vite/vite-node.js +0 -57
  63. package/dist/vite/vmod.d.ts +0 -3
  64. package/dist/vite/vmod.js +0 -21
  65. package/dist/vite/with-props.d.ts +0 -4
  66. package/dist/vite/with-props.js +0 -151
  67. /package/dist/{vite/static → static}/refresh-utils.cjs +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # `@remix-run/dev`
2
2
 
3
+ ## 7.0.0-pre.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Enable prerendering for resource routes ([#12200](https://github.com/remix-run/react-router/pull/12200))
8
+ - resolve config directory relative to flat output file structure ([#12187](https://github.com/remix-run/react-router/pull/12187))
9
+ - Updated dependencies:
10
+ - `react-router@7.0.0-pre.3`
11
+ - `@react-router/node@7.0.0-pre.3`
12
+ - `@react-router/serve@7.0.0-pre.3`
13
+
14
+ ## 7.0.0-pre.2
15
+
16
+ ### Major Changes
17
+
18
+ - - Consolidate types previously duplicated across `@remix-run/router`, `@remix-run/server-runtime`, and `@remix-run/react` now that they all live in `react-router` ([#12177](https://github.com/remix-run/react-router/pull/12177))
19
+ - Examples: `LoaderFunction`, `LoaderFunctionArgs`, `ActionFunction`, `ActionFunctionArgs`, `DataFunctionArgs`, `RouteManifest`, `LinksFunction`, `Route`, `EntryRoute`
20
+ - The `RouteManifest` type used by the "remix" code is now slightly stricter because it is using the former `@remix-run/router` `RouteManifest`
21
+ - `Record<string, Route> -> Record<string, Route | undefined>`
22
+ - Removed `AppData` type in favor of inlining `unknown` in the few locations it was used
23
+ - Removed `ServerRuntimeMeta*` types in favor of the `Meta*` types they were duplicated from
24
+ - Drop support for Node 18, update minimum Node vestion to 20 ([#12171](https://github.com/remix-run/react-router/pull/12171))
25
+
26
+ - Remove `installGlobals()` as this should no longer be necessary
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies:
31
+ - `react-router@7.0.0-pre.2`
32
+ - `@react-router/node@7.0.0-pre.2`
33
+ - `@react-router/serve@7.0.0-pre.2`
34
+
3
35
  ## 7.0.0-pre.1
4
36
 
5
37
  ### Minor Changes
@@ -1 +1,2 @@
1
- export {};
1
+
2
+ export { }