webpacker 5.0.0 → 5.2.1
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 +27 -2
- data/Gemfile.lock +76 -76
- data/README.md +47 -79
- data/docs/css.md +58 -3
- data/docs/env.md +0 -2
- data/docs/integrations.md +1 -1
- data/docs/target.md +22 -0
- data/docs/testing.md +2 -3
- data/docs/troubleshooting.md +3 -1
- data/docs/typescript.md +92 -27
- data/docs/webpack-dev-server.md +1 -1
- data/lib/install/config/babel.config.js +1 -3
- data/lib/install/config/webpacker.yml +1 -5
- data/lib/install/examples/react/tsconfig.json +2 -1
- data/lib/install/examples/typescript/tsconfig.json +2 -1
- data/lib/install/typescript.rb +5 -12
- data/lib/tasks/webpacker/check_node.rake +1 -1
- data/lib/tasks/webpacker/check_yarn.rake +1 -1
- data/lib/webpacker/compiler.rb +9 -5
- data/lib/webpacker/configuration.rb +13 -9
- data/lib/webpacker/dev_server_proxy.rb +3 -1
- data/lib/webpacker/dev_server_runner.rb +2 -2
- data/lib/webpacker/helper.rb +37 -18
- data/lib/webpacker/railtie.rb +0 -43
- 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 +35 -35
- data/package/__tests__/config.js +12 -1
- data/package/__tests__/dev_server.js +2 -0
- data/package/__tests__/development.js +14 -1
- data/package/config.js +4 -1
- data/package/configPath.js +3 -0
- data/package/dev_server.js +1 -1
- data/package/env.js +1 -2
- data/package/environments/__tests__/base.js +25 -8
- 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 +12 -5
- data/package/rules/file.js +1 -0
- data/package/rules/node_modules.js +1 -3
- data/package/rules/sass.js +7 -2
- 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/application.rb +0 -1
- 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 +3198 -3166
- metadata +10 -5
- data/lib/install/loaders/typescript.js +0 -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: 5.
|
4
|
+
version: 5.2.1
|
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-17 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
|
@@ -193,7 +198,6 @@ files:
|
|
193
198
|
- lib/install/loaders/elm.js
|
194
199
|
- lib/install/loaders/erb.js
|
195
200
|
- lib/install/loaders/svelte.js
|
196
|
-
- lib/install/loaders/typescript.js
|
197
201
|
- lib/install/loaders/vue.js
|
198
202
|
- lib/install/react.rb
|
199
203
|
- lib/install/stimulus.rb
|
@@ -238,6 +242,7 @@ files:
|
|
238
242
|
- package/__tests__/staging.js
|
239
243
|
- package/__tests__/test.js
|
240
244
|
- package/config.js
|
245
|
+
- package/configPath.js
|
241
246
|
- package/config_types/__tests__/config_list.js
|
242
247
|
- package/config_types/__tests__/config_object.js
|
243
248
|
- package/config_types/config_list.js
|
@@ -301,8 +306,8 @@ homepage: https://github.com/rails/webpacker
|
|
301
306
|
licenses:
|
302
307
|
- MIT
|
303
308
|
metadata:
|
304
|
-
source_code_uri: https://github.com/rails/webpacker/tree/v5.
|
305
|
-
changelog_uri: https://github.com/rails/webpacker/blob/v5.
|
309
|
+
source_code_uri: https://github.com/rails/webpacker/tree/v5.2.1
|
310
|
+
changelog_uri: https://github.com/rails/webpacker/blob/v5.2.1/CHANGELOG.md
|
306
311
|
post_install_message:
|
307
312
|
rdoc_options: []
|
308
313
|
require_paths:
|