react_on_rails 14.1.0 → 14.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8ff0817a7547720cf418f0f13cb7e6cdb681e14dd1e429710805534da73cffe
4
- data.tar.gz: 963ac73c65c73a94d602488c63ba97073779100bfed64bb4c731cf24da37a192
3
+ metadata.gz: b0e439ad231345f667bd0397a191854a1fc1265fd6b53aa4ff07297c52cbea88
4
+ data.tar.gz: 80499fba8a3696ba0bca1a07742a36c0bc1c286294ebdab57d0f742c94d8a32b
5
5
  SHA512:
6
- metadata.gz: 9793268e809976118cf7efe90b0dba1ebc32f3a58137c4e0fffec895c2f43c6c68fd0634f1452cca1aebc2776b89325cd945b1e6fa276d94c3576d32a8ad8124
7
- data.tar.gz: 98013bd6cdfa9bb8eee1e7d7cda819f13a747e47e7fa8495f1bec73cca3bbaa363a92c18660948d0d6254d4936ca8bc947482882142e710fad902d88c22c29ea
6
+ metadata.gz: fe4dd909d8ee7f1ee6e7210acdee7fbede95caa508b41d2f43e88aa11113bbb8d3eb88e4c0b24a826b472b2ac5ed234e5c6ba8ea357488d59d21fd995c010e36
7
+ data.tar.gz: 83c5ccc2589399f773872291069f591179a2eb3cd13b8420102bd95f65421a6f00cc9d591a578adb5ae20339a7cd5dba7cf0f87bce25a0041a7ef9e7f3497a3a
data/CHANGELOG.md CHANGED
@@ -18,6 +18,15 @@ Please follow the recommendations outlined at [keepachangelog.com](http://keepac
18
18
  ### [Unreleased]
19
19
  Changes since the last non-beta release.
20
20
 
21
+ ### [14.1.1] - 2025-01-15
22
+
23
+ #### Fixed
24
+
25
+ - Separated streamServerRenderedReactComponent from the ReactOnRails object in order to stop users from getting errors during webpack compilation about needing the `stream-browserify` package. [PR 1680](https://github.com/shakacode/react_on_rails/pull/1680) by [judahmeek](https://github.com/judahmeek).
26
+ - Removed obsolete `js-yaml` peer dependency. [PR 1678](https://github.com/shakacode/react_on_rails/pull/1678) by [alexeyr-ci](https://github.com/alexeyr-ci).
27
+
28
+ ### [14.1.0] - 2025-01-06
29
+
21
30
  #### Fixed
22
31
 
23
32
  - Incorrect type and confusing name for `ReactOnRails.registerStore`, use `registerStoreGenerators` instead. [PR 1651](https://github.com/shakacode/react_on_rails/pull/1651) by [alexeyr-ci](https://github.com/alexeyr-ci).
@@ -1172,7 +1181,9 @@ Best done with Object destructing:
1172
1181
  ##### Fixed
1173
1182
  - Fix several generator-related issues.
1174
1183
 
1175
- [Unreleased]: https://github.com/shakacode/react_on_rails/compare/14.0.5...master
1184
+ [Unreleased]: https://github.com/shakacode/react_on_rails/compare/14.1.1...master
1185
+ [14.1.1]: https://github.com/shakacode/react_on_rails/compare/14.1.0...14.1.1
1186
+ [14.1.0]: https://github.com/shakacode/react_on_rails/compare/14.0.5...14.1.0
1176
1187
  [14.0.5]: https://github.com/shakacode/react_on_rails/compare/14.0.4...14.0.5
1177
1188
  [14.0.4]: https://github.com/shakacode/react_on_rails/compare/14.0.3...14.0.4
1178
1189
  [14.0.3]: https://github.com/shakacode/react_on_rails/compare/14.0.2...14.0.3
data/CONTRIBUTING.md CHANGED
@@ -6,20 +6,14 @@
6
6
 
7
7
  ## To run tests:
8
8
  * [Yalc](https://github.com/whitecolor/yalc) must be installed globally for most local development.
9
- * After updating code via git, to prepare all examples and run all tests:
10
-
9
+ * After updating code via Git, to prepare all examples:
11
10
  ```sh
12
11
  cd react_on_rails/
13
12
  bundle && yarn && rake examples:gen_all && rake node_package && rake
14
13
  ```
15
14
 
16
- In order to run tests in browser
17
- ```
18
- yarn global add browserify babelify tape-run faucet
19
- browserify -t babelify node_package/tests/*.js | tape-run | faucet
20
- ```
21
-
22
- See Dev Initial Setup, below for, well... initial setup.
15
+ See [Dev Initial Setup](#dev-initial-setup) below for, well... initial setup,
16
+ and [Running tests](#running-tests) for more details on running tests.
23
17
 
24
18
  # IDE/IDE SETUP
25
19
  It's critical to configure your IDE/editor to ignore certain directories. Otherwise your IDE might slow to a crawl!
@@ -153,21 +147,23 @@ script/convert
153
147
  yarn run dummy:spec
154
148
  ```
155
149
 
156
- ### Run NPM JS tests
150
+ ## Running tests
151
+
152
+ ### JS tests
157
153
 
158
154
  ```sh
159
155
  cd react_on_rails/
160
- yarn test
156
+ yarn run test
161
157
  ```
162
158
 
163
- ### Run spec/dummy tests
159
+ ### spec/dummy tests
164
160
 
165
161
  ```sh
166
162
  cd react_on_rails/spec/dummy
167
163
  rspec
168
164
  ```
169
165
 
170
- ### Run most tests and linting
166
+ ### Linting, type checking and JS tests together
171
167
 
172
168
  ```sh
173
169
  cd react_on_rails/
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- react_on_rails (15.0.0.alpha.1)
4
+ react_on_rails (14.1.0)
5
5
  addressable
6
6
  connection_pool
7
7
  execjs (~> 2.5)
data/README.md CHANGED
@@ -23,7 +23,7 @@
23
23
 
24
24
  -----
25
25
 
26
- *These are the docs for React on Rails 13. To see the older docs: [v12](https://github.com/shakacode/react_on_rails/tree/12.6.0) and [v11](https://github.com/shakacode/react_on_rails/tree/11.3.0).*
26
+ *These are the docs for React on Rails 14. To see the older docs and code: [v13](https://github.com/shakacode/react_on_rails/tree/13.4.0), [v12](https://github.com/shakacode/react_on_rails/tree/12.6.0), and [v11](https://github.com/shakacode/react_on_rails/tree/11.3.0).*
27
27
 
28
28
  # About
29
29
  React on Rails integrates Rails with (server rendering of) [React](https://github.com/facebook/react).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReactOnRails
4
- VERSION = "14.1.0"
4
+ VERSION = "14.1.1"
5
5
  end
data/tsconfig.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "compilerOptions": {
3
3
  "allowJs": true,
4
4
  "esModuleInterop": true,
5
- "jsx": "react",
5
+ "jsx": "react-jsx",
6
6
  "lib": ["dom", "es2015"],
7
7
  "module": "CommonJS",
8
8
  "noImplicitAny": true,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.1.0
4
+ version: 14.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-06 00:00:00.000000000 Z
11
+ date: 2025-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable