react_on_rails 13.2.0 → 13.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +5 -2
- data/.github/workflows/lint-js-and-ruby.yml +3 -3
- data/.github/workflows/main.yml +15 -13
- data/.github/workflows/package-js-tests.yml +2 -2
- data/.github/workflows/rspec-package-specs.yml +2 -2
- data/.rubocop.yml +4 -0
- data/CHANGELOG.md +11 -1
- data/Gemfile.development_dependencies +1 -1
- data/README.md +5 -5
- data/docs/getting-started.md +11 -5
- data/docs/guides/configuration.md +23 -18
- data/docs/guides/file-system-based-automated-bundle-generation.md +2 -0
- data/docs/guides/installation-into-an-existing-rails-app.md +18 -20
- data/docs/guides/tutorial.md +35 -31
- data/lib/generators/react_on_rails/base_generator.rb +15 -10
- data/lib/generators/react_on_rails/bin/dev +33 -0
- data/lib/generators/react_on_rails/bin/dev-static +33 -0
- data/lib/generators/react_on_rails/install_generator.rb +5 -0
- data/lib/generators/react_on_rails/templates/base/base/config/initializers/react_on_rails.rb +1 -1
- data/lib/react_on_rails/configuration.rb +40 -3
- data/lib/react_on_rails/helper.rb +21 -23
- data/lib/react_on_rails/packs_generator.rb +30 -101
- data/lib/react_on_rails/test_helper/ensure_assets_compiled.rb +1 -1
- data/lib/react_on_rails/test_helper/webpack_assets_status_checker.rb +1 -20
- data/lib/react_on_rails/utils.rb +26 -0
- data/lib/react_on_rails/version.rb +1 -1
- data/lib/react_on_rails/webpacker_utils.rb +54 -3
- data/lib/tasks/generate_packs.rake +1 -1
- data/package.json +29 -28
- data/yarn.lock +2856 -3277
- metadata +4 -2
data/package.json
CHANGED
@@ -1,48 +1,49 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-on-rails",
|
3
|
-
"version": "13.
|
3
|
+
"version": "13.3.0",
|
4
4
|
"description": "react-on-rails JavaScript for react_on_rails Ruby gem",
|
5
5
|
"main": "node_package/lib/ReactOnRails.js",
|
6
6
|
"directories": {
|
7
7
|
"doc": "docs"
|
8
8
|
},
|
9
9
|
"devDependencies": {
|
10
|
-
"@babel/cli": "^7.
|
11
|
-
"@babel/core": "^7.12
|
12
|
-
"@babel/plugin-transform-runtime": "^7.
|
13
|
-
"@babel/plugin-transform-typescript": "^7.
|
14
|
-
"@babel/preset-env": "^7.
|
15
|
-
"@babel/preset-react": "^7.
|
16
|
-
"@babel/types": "^7.
|
17
|
-
"@types/jest": "^
|
18
|
-
"@types/react": "^16.
|
19
|
-
"@types/react-dom": "^16.9.
|
10
|
+
"@babel/cli": "^7.20.7",
|
11
|
+
"@babel/core": "^7.20.12",
|
12
|
+
"@babel/plugin-transform-runtime": "^7.19.6",
|
13
|
+
"@babel/plugin-transform-typescript": "^7.20.13",
|
14
|
+
"@babel/preset-env": "^7.20.2",
|
15
|
+
"@babel/preset-react": "^7.18.6",
|
16
|
+
"@babel/types": "^7.20.7",
|
17
|
+
"@types/jest": "^28.1.3",
|
18
|
+
"@types/react": "^16.14.35",
|
19
|
+
"@types/react-dom": "^16.9.17",
|
20
20
|
"@types/turbolinks": "^5.2.0",
|
21
|
-
"@types/webpack-env": "^1.
|
22
|
-
"@typescript-eslint/eslint-plugin": "^4.
|
23
|
-
"@typescript-eslint/parser": "^4.
|
21
|
+
"@types/webpack-env": "^1.18.0",
|
22
|
+
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
23
|
+
"@typescript-eslint/parser": "^4.33.0",
|
24
24
|
"babelify": "^10.0.0",
|
25
25
|
"blue-tape": "^1.0.0",
|
26
|
-
"create-react-class": "^15.
|
27
|
-
"eslint": "^7.
|
26
|
+
"create-react-class": "^15.7.0",
|
27
|
+
"eslint": "^7.32.0",
|
28
28
|
"eslint-config-prettier": "^7.0.0",
|
29
29
|
"eslint-config-shakacode": "^16.0.1",
|
30
|
-
"eslint-plugin-import": "^2.
|
31
|
-
"eslint-plugin-jsx-a11y": "^6.
|
32
|
-
"eslint-plugin-prettier": "^3.
|
33
|
-
"eslint-plugin-react": "^7.
|
34
|
-
"jest": "^
|
30
|
+
"eslint-plugin-import": "^2.27.5",
|
31
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
32
|
+
"eslint-plugin-prettier": "^3.4.1",
|
33
|
+
"eslint-plugin-react": "^7.32.1",
|
34
|
+
"jest": "^28.1.3",
|
35
|
+
"jest-environment-jsdom": "^28.1.3",
|
35
36
|
"jsdom": "^16.4.0",
|
36
37
|
"nps": "^5.9.3",
|
37
|
-
"prettier": "^2.
|
38
|
+
"prettier": "^2.8.3",
|
38
39
|
"prettier-eslint-cli": "^5.0.0",
|
39
|
-
"prop-types": "^15.
|
40
|
-
"react": "^16.
|
41
|
-
"react-dom": "^16.
|
40
|
+
"prop-types": "^15.8.1",
|
41
|
+
"react": "^16.14.0",
|
42
|
+
"react-dom": "^16.14.0",
|
42
43
|
"react-transform-hmr": "^1.0.4",
|
43
|
-
"redux": "^4.0
|
44
|
-
"ts-jest": "^
|
45
|
-
"typescript": "^4.
|
44
|
+
"redux": "^4.2.0",
|
45
|
+
"ts-jest": "^28.0.8",
|
46
|
+
"typescript": "^4.9.4"
|
46
47
|
},
|
47
48
|
"dependencies": {
|
48
49
|
"@babel/runtime-corejs3": "^7.12.5",
|