webpacker 6.0.0.rc.2 → 6.0.0.rc.6
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 +4 -4
- data/.github/workflows/jest.yml +6 -17
- data/.github/workflows/js-lint.yml +6 -17
- data/.github/workflows/ruby.yml +13 -38
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +15 -3
- data/CONTRIBUTING.md +19 -0
- data/Gemfile.lock +84 -84
- data/README.md +30 -21
- data/docs/troubleshooting.md +5 -1
- data/docs/v6_upgrade.md +70 -32
- data/lib/install/{packs/entrypoints/application.js → application.js} +3 -7
- data/lib/install/bin/webpack +4 -7
- data/lib/install/config/webpacker.yml +16 -13
- data/lib/install/package.json +0 -2
- data/lib/install/template.rb +10 -1
- data/lib/tasks/yarn.rake +22 -20
- data/lib/webpacker/commands.rb +19 -15
- data/lib/webpacker/dev_server_runner.rb +1 -1
- data/lib/webpacker/railtie.rb +7 -0
- data/lib/webpacker/version.rb +1 -1
- data/lib/webpacker/webpack_runner.rb +27 -7
- data/package/__tests__/development.js +4 -11
- data/package/config.js +3 -3
- data/package/env.js +3 -6
- data/package/environments/base.js +1 -1
- data/package/environments/development.js +34 -32
- data/package/rules/file.js +1 -1
- data/package.json +15 -15
- data/test/command_test.rb +76 -0
- data/test/dev_server_runner_test.rb +1 -1
- data/test/test_app/config/initializers/inspect_autoload_paths.rb +1 -0
- data/test/webpacker_test.rb +4 -0
- data/webpacker.gemspec +2 -2
- data/yarn.lock +1392 -2825
- metadata +13 -11
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webpacker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.0.rc.
|
4
|
+
version: 6.0.0.rc.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-11-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -85,16 +85,16 @@ dependencies:
|
|
85
85
|
name: rubocop
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- -
|
88
|
+
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0
|
90
|
+
version: '0'
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- -
|
95
|
+
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0
|
97
|
+
version: '0'
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: rubocop-performance
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,6 +143,7 @@ files:
|
|
143
143
|
- gemfiles/Gemfile-rails.5.2.x
|
144
144
|
- gemfiles/Gemfile-rails.6.0.x
|
145
145
|
- gemfiles/Gemfile-rails.6.1.x
|
146
|
+
- lib/install/application.js
|
146
147
|
- lib/install/bin/webpack
|
147
148
|
- lib/install/bin/webpack-dev-server
|
148
149
|
- lib/install/bin/yarn
|
@@ -153,7 +154,6 @@ files:
|
|
153
154
|
- lib/install/config/webpack/test.js
|
154
155
|
- lib/install/config/webpacker.yml
|
155
156
|
- lib/install/package.json
|
156
|
-
- lib/install/packs/entrypoints/application.js
|
157
157
|
- lib/install/template.rb
|
158
158
|
- lib/tasks/webpacker.rake
|
159
159
|
- lib/tasks/webpacker/binstubs.rake
|
@@ -245,6 +245,7 @@ files:
|
|
245
245
|
- test/test_app/config.ru
|
246
246
|
- test/test_app/config/application.rb
|
247
247
|
- test/test_app/config/environment.rb
|
248
|
+
- test/test_app/config/initializers/inspect_autoload_paths.rb
|
248
249
|
- test/test_app/config/webpack/development.js
|
249
250
|
- test/test_app/config/webpacker.yml
|
250
251
|
- test/test_app/config/webpacker_other_location.yml
|
@@ -262,8 +263,8 @@ homepage: https://github.com/rails/webpacker
|
|
262
263
|
licenses:
|
263
264
|
- MIT
|
264
265
|
metadata:
|
265
|
-
source_code_uri: https://github.com/rails/webpacker/tree/v6.0.0.rc.
|
266
|
-
changelog_uri: https://github.com/rails/webpacker/blob/v6.0.0.rc.
|
266
|
+
source_code_uri: https://github.com/rails/webpacker/tree/v6.0.0.rc.6
|
267
|
+
changelog_uri: https://github.com/rails/webpacker/blob/v6.0.0.rc.6/CHANGELOG.md
|
267
268
|
post_install_message:
|
268
269
|
rdoc_options: []
|
269
270
|
require_paths:
|
@@ -272,14 +273,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
272
273
|
requirements:
|
273
274
|
- - ">="
|
274
275
|
- !ruby/object:Gem::Version
|
275
|
-
version: 2.
|
276
|
+
version: 2.7.0
|
276
277
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
277
278
|
requirements:
|
278
279
|
- - ">"
|
279
280
|
- !ruby/object:Gem::Version
|
280
281
|
version: 1.3.1
|
281
282
|
requirements: []
|
282
|
-
rubygems_version: 3.
|
283
|
+
rubygems_version: 3.2.22
|
283
284
|
signing_key:
|
284
285
|
specification_version: 4
|
285
286
|
summary: Use webpack to manage app-like JavaScript modules in Rails
|
@@ -312,6 +313,7 @@ test_files:
|
|
312
313
|
- test/test_app/config.ru
|
313
314
|
- test/test_app/config/application.rb
|
314
315
|
- test/test_app/config/environment.rb
|
316
|
+
- test/test_app/config/initializers/inspect_autoload_paths.rb
|
315
317
|
- test/test_app/config/webpack/development.js
|
316
318
|
- test/test_app/config/webpacker.yml
|
317
319
|
- test/test_app/config/webpacker_other_location.yml
|