react_on_rails 17.0.0.rc.10 → 17.0.0.rc.11
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bdb70463b3b9a9cacf4f90ab2f86964af98415b7d2dbd1f5cc84ea73ed66ed7b
|
|
4
|
+
data.tar.gz: 9df6c2681c563f3986055d15aade631c6eab390a8c8e7eb715daaff6890298f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f8b198d8e250fac9311445003c19b688a36a0af3518b934fdc12af2d69ceaf962c48835f19ab796285fae220548340dff9c1d667d2c680356a570cd942e08d12
|
|
7
|
+
data.tar.gz: 81b82f6dcde82a1db36f92c115ba74889a617ae2576d485ab1799cc6b83a4f4bf455a869dd91f4906eef16066cd0a4adfdc53f2318192732ddaab75ff36e903c
|
data/Gemfile.lock
CHANGED
|
@@ -156,13 +156,12 @@ module ReactOnRails
|
|
|
156
156
|
# current on npm; React's RSC runtime and bundler integration can change between minors.
|
|
157
157
|
#
|
|
158
158
|
# This is intentionally distinct from RSC_PACKAGE_VERSION_PIN below, which pins
|
|
159
|
-
# `react-on-rails-rsc`. Coordination note for #3609: Pro package metadata
|
|
160
|
-
#
|
|
161
|
-
# install the tested React 19.2.x range and exact RSC package pin until stable 19.2.1 ships.
|
|
159
|
+
# `react-on-rails-rsc`. Coordination note for #3609: Pro package metadata and generated apps
|
|
160
|
+
# use the tested React 19.2.x range with the exact stable RSC package pin.
|
|
162
161
|
RSC_REACT_VERSION_RANGE = "~19.2.7"
|
|
163
|
-
# Pinned to the 19.2.1
|
|
164
|
-
#
|
|
165
|
-
RSC_PACKAGE_VERSION_PIN = "19.2.1
|
|
162
|
+
# Pinned to the stable 19.2.1 package, which carries the coordinated React 19.2.7 RSC peer floor
|
|
163
|
+
# required by the React on Rails Pro 17 runtime check.
|
|
164
|
+
RSC_PACKAGE_VERSION_PIN = "19.2.1"
|
|
166
165
|
|
|
167
166
|
private
|
|
168
167
|
|
|
@@ -256,7 +255,7 @@ module ReactOnRails
|
|
|
256
255
|
say "Installing React dependencies..."
|
|
257
256
|
|
|
258
257
|
# RSC requires the coordinated React 19.2.x patch line.
|
|
259
|
-
# Pin React to ~19.2.7 while using the matching RSC package
|
|
258
|
+
# Pin React to ~19.2.7 while using the matching stable RSC package.
|
|
260
259
|
react_deps = if respond_to?(:use_rsc?) && use_rsc?
|
|
261
260
|
["react@#{RSC_REACT_VERSION_RANGE}", "react-dom@#{RSC_REACT_VERSION_RANGE}",
|
|
262
261
|
"prop-types@^15.0.0"]
|
|
@@ -3494,8 +3494,8 @@ module ReactOnRails
|
|
|
3494
3494
|
"#{RSC_SUPPORTED_PACKAGE_MAJOR}.#{minor}.x"
|
|
3495
3495
|
end.join(" or ")
|
|
3496
3496
|
RSC_PACKAGE_INSTALL_VERSION = ReactOnRails::Generators::JsDependencyManager::RSC_PACKAGE_VERSION_PIN
|
|
3497
|
-
#
|
|
3498
|
-
#
|
|
3497
|
+
# A temporary prerelease pin may define a matching exception during a future soak.
|
|
3498
|
+
# Stable pins leave this nil so prereleases do not satisfy the package floor.
|
|
3499
3499
|
RSC_MINIMUM_PACKAGE_PRERELEASE_VERSION =
|
|
3500
3500
|
RSC_PACKAGE_INSTALL_VERSION.include?("-") ? RSC_PACKAGE_INSTALL_VERSION : nil
|
|
3501
3501
|
RSC_MINIMUM_REACT_VERSION = "19.2.7"
|