@renr/parcel-plugin-rsc-router 1.0.0-beta.20 → 1.0.0-beta.21
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/README.md +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ yarn add -D @renr/parcel-plugin-rsc-router
|
|
|
53
53
|
Why both? Parcel `.parcelrc` lists plugins by the pipeline stage they participate in. Inside one native package, `@renr/parcel-plugin-rsc-router` handles three distinct phases:
|
|
54
54
|
|
|
55
55
|
1. **`build_start` (Reporter)**: scans `src/pages/**/*` and writes the clean, typed `routes.ts` to disk before bundling.
|
|
56
|
-
2. **`transform` on `routes.ts` (Transformer)**: runs **only** in the `ReactServer` environment to append an in-memory `prerenderStaticSite` + dynamic `
|
|
56
|
+
2. **`transform` on `routes.ts` (Transformer)**: runs **only** in the `ReactServer` environment to append an in-memory `prerenderStaticSite` + parallel `Promise.all` dynamic `import(...)` bootstrap footer, leaving `routes.ts` clean on disk and untouched for `ReactClient` imports.
|
|
57
57
|
3. **`build_success` (Reporter)**: runs the built `ReactServer` `routes.js` bundle with `PARCEL_RSC_PRERENDER=1` to write static `.html` and `.rsc` files to your target `distDir`.
|
|
58
58
|
|
|
59
59
|
### 2. Configure `package.json`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@renr/parcel-plugin-rsc-router",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.21",
|
|
4
4
|
"author": "Ren Rizzolo",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Parcel v3 native plugin that generates typed filesystem routes and statically prerenders RSC apps",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"tinyglobby": "^0.2.17"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@renr/parcel-rsc-router": "1.0.0-beta.
|
|
64
|
+
"@renr/parcel-rsc-router": "1.0.0-beta.14"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@types/node": "^25.6.2",
|
|
@@ -71,13 +71,13 @@
|
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
73
|
"optionalDependencies": {
|
|
74
|
-
"@renr/parcel-plugin-rsc-router-darwin-arm64": "1.0.0-beta.
|
|
75
|
-
"@renr/parcel-plugin-rsc-router-darwin-x64": "1.0.0-beta.
|
|
76
|
-
"@renr/parcel-plugin-rsc-router-win32-x64-msvc": "1.0.0-beta.
|
|
77
|
-
"@renr/parcel-plugin-rsc-router-win32-arm64-msvc": "1.0.0-beta.
|
|
78
|
-
"@renr/parcel-plugin-rsc-router-linux-x64-gnu": "1.0.0-beta.
|
|
79
|
-
"@renr/parcel-plugin-rsc-router-linux-arm64-gnu": "1.0.0-beta.
|
|
80
|
-
"@renr/parcel-plugin-rsc-router-linux-x64-musl": "1.0.0-beta.
|
|
81
|
-
"@renr/parcel-plugin-rsc-router-linux-arm64-musl": "1.0.0-beta.
|
|
74
|
+
"@renr/parcel-plugin-rsc-router-darwin-arm64": "1.0.0-beta.21",
|
|
75
|
+
"@renr/parcel-plugin-rsc-router-darwin-x64": "1.0.0-beta.21",
|
|
76
|
+
"@renr/parcel-plugin-rsc-router-win32-x64-msvc": "1.0.0-beta.21",
|
|
77
|
+
"@renr/parcel-plugin-rsc-router-win32-arm64-msvc": "1.0.0-beta.21",
|
|
78
|
+
"@renr/parcel-plugin-rsc-router-linux-x64-gnu": "1.0.0-beta.21",
|
|
79
|
+
"@renr/parcel-plugin-rsc-router-linux-arm64-gnu": "1.0.0-beta.21",
|
|
80
|
+
"@renr/parcel-plugin-rsc-router-linux-x64-musl": "1.0.0-beta.21",
|
|
81
|
+
"@renr/parcel-plugin-rsc-router-linux-arm64-musl": "1.0.0-beta.21"
|
|
82
82
|
}
|
|
83
83
|
}
|