webpacker 5.1.1 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.eslintrc.js +8 -8
- data/.github/workflows/jest.yml +38 -0
- data/.github/workflows/js-lint.yml +39 -0
- data/.github/workflows/rubocop.yml +39 -0
- data/.github/workflows/ruby.yml +70 -0
- data/.node-version +1 -1
- data/CHANGELOG.md +9 -3
- data/Gemfile.lock +76 -76
- data/README.md +11 -19
- data/docs/css.md +58 -3
- data/docs/integrations.md +1 -1
- data/docs/target.md +22 -0
- data/docs/testing.md +1 -1
- data/docs/troubleshooting.md +3 -1
- data/docs/typescript.md +44 -0
- data/docs/webpack-dev-server.md +1 -1
- data/lib/install/config/babel.config.js +1 -3
- data/lib/install/config/webpacker.yml +1 -1
- data/lib/tasks/webpacker/check_node.rake +1 -1
- data/lib/tasks/webpacker/check_yarn.rake +1 -1
- data/lib/webpacker/compiler.rb +7 -2
- data/lib/webpacker/configuration.rb +12 -4
- data/lib/webpacker/dev_server_runner.rb +2 -2
- data/lib/webpacker/helper.rb +25 -6
- data/lib/webpacker/railtie.rb +2 -2
- data/lib/webpacker/runner.rb +1 -0
- data/lib/webpacker/version.rb +1 -1
- data/lib/webpacker/webpack_runner.rb +2 -2
- data/package.json +29 -29
- data/package/__tests__/config.js +12 -1
- data/package/__tests__/development.js +14 -1
- data/package/config.js +4 -1
- data/package/configPath.js +3 -0
- data/package/env.js +1 -2
- data/package/environments/__tests__/base.js +26 -9
- data/package/environments/base.js +5 -6
- data/package/environments/development.js +39 -33
- data/package/environments/production.js +1 -3
- data/package/rules/babel.js +11 -4
- data/package/rules/file.js +1 -0
- data/package/rules/node_modules.js +1 -3
- data/package/rules/sass.js +1 -1
- data/package/utils/helpers.js +1 -1
- data/test/compiler_test.rb +8 -3
- data/test/configuration_test.rb +8 -7
- data/test/dev_server_runner_test.rb +1 -1
- data/test/helper_test.rb +3 -0
- data/test/test_app/config/webpacker.yml +7 -1
- data/test/test_app/public/packs/manifest.json +1 -0
- data/test/webpack_runner_test.rb +1 -1
- data/yarn.lock +2422 -2932
- metadata +10 -4
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: 5.
|
4
|
+
version: 5.2.0
|
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: 2020-
|
12
|
+
date: 2020-08-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -119,6 +119,10 @@ extra_rdoc_files: []
|
|
119
119
|
files:
|
120
120
|
- ".eslintignore"
|
121
121
|
- ".eslintrc.js"
|
122
|
+
- ".github/workflows/jest.yml"
|
123
|
+
- ".github/workflows/js-lint.yml"
|
124
|
+
- ".github/workflows/rubocop.yml"
|
125
|
+
- ".github/workflows/ruby.yml"
|
122
126
|
- ".gitignore"
|
123
127
|
- ".node-version"
|
124
128
|
- ".rubocop.yml"
|
@@ -142,6 +146,7 @@ files:
|
|
142
146
|
- docs/integrations.md
|
143
147
|
- docs/misc.md
|
144
148
|
- docs/props.md
|
149
|
+
- docs/target.md
|
145
150
|
- docs/testing.md
|
146
151
|
- docs/troubleshooting.md
|
147
152
|
- docs/typescript.md
|
@@ -237,6 +242,7 @@ files:
|
|
237
242
|
- package/__tests__/staging.js
|
238
243
|
- package/__tests__/test.js
|
239
244
|
- package/config.js
|
245
|
+
- package/configPath.js
|
240
246
|
- package/config_types/__tests__/config_list.js
|
241
247
|
- package/config_types/__tests__/config_object.js
|
242
248
|
- package/config_types/config_list.js
|
@@ -300,8 +306,8 @@ homepage: https://github.com/rails/webpacker
|
|
300
306
|
licenses:
|
301
307
|
- MIT
|
302
308
|
metadata:
|
303
|
-
source_code_uri: https://github.com/rails/webpacker/tree/v5.
|
304
|
-
changelog_uri: https://github.com/rails/webpacker/blob/v5.
|
309
|
+
source_code_uri: https://github.com/rails/webpacker/tree/v5.2.0
|
310
|
+
changelog_uri: https://github.com/rails/webpacker/blob/v5.2.0/CHANGELOG.md
|
305
311
|
post_install_message:
|
306
312
|
rdoc_options: []
|
307
313
|
require_paths:
|