webpacker 4.2.2 → 5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.node-version +1 -1
- data/.travis.yml +7 -20
- data/CHANGELOG.md +32 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +8 -5
- data/README.md +52 -280
- data/docs/css.md +3 -4
- data/docs/deployment.md +2 -2
- data/docs/docker.md +17 -17
- data/docs/engines.md +13 -0
- data/docs/env.md +0 -2
- data/docs/integrations.md +220 -0
- data/docs/testing.md +1 -2
- data/docs/typescript.md +48 -28
- data/lib/install/config/webpacker.yml +0 -4
- data/lib/install/examples/react/tsconfig.json +2 -1
- data/lib/install/examples/typescript/tsconfig.json +2 -1
- data/lib/install/loaders/svelte.js +2 -2
- data/lib/install/template.rb +1 -1
- data/lib/install/typescript.rb +5 -12
- data/lib/tasks/webpacker/check_node.rake +14 -7
- data/lib/tasks/webpacker/check_yarn.rake +16 -9
- data/lib/tasks/webpacker/clean.rake +12 -6
- data/lib/tasks/webpacker/clobber.rake +8 -4
- data/lib/tasks/webpacker/yarn_install.rake +5 -16
- data/lib/webpacker/commands.rb +33 -9
- data/lib/webpacker/compiler.rb +2 -3
- data/lib/webpacker/configuration.rb +1 -5
- data/lib/webpacker/dev_server_proxy.rb +3 -1
- data/lib/webpacker/dev_server_runner.rb +4 -4
- data/lib/webpacker/helper.rb +12 -12
- data/lib/webpacker/manifest.rb +4 -4
- data/lib/webpacker/railtie.rb +0 -43
- data/lib/webpacker/version.rb +1 -1
- data/package.json +35 -35
- data/package/__tests__/dev_server.js +2 -0
- data/package/dev_server.js +1 -1
- data/package/environments/__tests__/base.js +10 -0
- data/package/environments/base.js +12 -1
- data/package/environments/development.js +0 -4
- data/package/rules/babel.js +1 -1
- data/package/rules/sass.js +7 -1
- data/test/manifest_test.rb +37 -6
- data/test/rake_tasks_test.rb +11 -0
- data/test/test_app/app/javascript/packs/multi_entry.css +4 -0
- data/test/test_app/app/javascript/packs/multi_entry.js +4 -0
- data/test/test_app/config/application.rb +0 -1
- data/webpacker.gemspec +4 -3
- data/yarn.lock +2627 -1547
- metadata +28 -13
- data/gemfiles/Gemfile-rails.4.2.x +0 -9
- data/gemfiles/Gemfile-rails.5.0.x +0 -9
- data/gemfiles/Gemfile-rails.5.1.x +0 -9
- 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:
|
4
|
+
version: 5.1.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:
|
12
|
+
date: 2020-04-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -17,28 +17,28 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '5.2'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '5.2'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: railties
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '5.2'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '5.2'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rack-proxy
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,6 +53,20 @@ dependencies:
|
|
53
53
|
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 0.6.1
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: semantic_range
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 2.3.0
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 2.3.0
|
56
70
|
- !ruby/object:Gem::Dependency
|
57
71
|
name: bundler
|
58
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,6 +139,7 @@ files:
|
|
125
139
|
- docs/env.md
|
126
140
|
- docs/es6.md
|
127
141
|
- docs/folder-structure.md
|
142
|
+
- docs/integrations.md
|
128
143
|
- docs/misc.md
|
129
144
|
- docs/props.md
|
130
145
|
- docs/testing.md
|
@@ -135,9 +150,6 @@ files:
|
|
135
150
|
- docs/webpack.md
|
136
151
|
- docs/yarn.md
|
137
152
|
- gemfiles/Gemfile-rails-edge
|
138
|
-
- gemfiles/Gemfile-rails.4.2.x
|
139
|
-
- gemfiles/Gemfile-rails.5.0.x
|
140
|
-
- gemfiles/Gemfile-rails.5.1.x
|
141
153
|
- gemfiles/Gemfile-rails.5.2.x
|
142
154
|
- gemfiles/Gemfile-rails.6.0.x
|
143
155
|
- lib/install/angular.rb
|
@@ -181,7 +193,6 @@ files:
|
|
181
193
|
- lib/install/loaders/elm.js
|
182
194
|
- lib/install/loaders/erb.js
|
183
195
|
- lib/install/loaders/svelte.js
|
184
|
-
- lib/install/loaders/typescript.js
|
185
196
|
- lib/install/loaders/vue.js
|
186
197
|
- lib/install/react.rb
|
187
198
|
- lib/install/stimulus.rb
|
@@ -267,6 +278,8 @@ files:
|
|
267
278
|
- test/rake_tasks_test.rb
|
268
279
|
- test/test_app/Rakefile
|
269
280
|
- test/test_app/app/javascript/packs/application.js
|
281
|
+
- test/test_app/app/javascript/packs/multi_entry.css
|
282
|
+
- test/test_app/app/javascript/packs/multi_entry.js
|
270
283
|
- test/test_app/bin/webpack
|
271
284
|
- test/test_app/bin/webpack-dev-server
|
272
285
|
- test/test_app/config.ru
|
@@ -287,8 +300,8 @@ homepage: https://github.com/rails/webpacker
|
|
287
300
|
licenses:
|
288
301
|
- MIT
|
289
302
|
metadata:
|
290
|
-
source_code_uri: https://github.com/rails/webpacker/tree/
|
291
|
-
changelog_uri: https://github.com/rails/webpacker/blob/
|
303
|
+
source_code_uri: https://github.com/rails/webpacker/tree/v5.1.1
|
304
|
+
changelog_uri: https://github.com/rails/webpacker/blob/v5.1.1/CHANGELOG.md
|
292
305
|
post_install_message:
|
293
306
|
rdoc_options: []
|
294
307
|
require_paths:
|
@@ -297,7 +310,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
297
310
|
requirements:
|
298
311
|
- - ">="
|
299
312
|
- !ruby/object:Gem::Version
|
300
|
-
version: 2.
|
313
|
+
version: 2.4.0
|
301
314
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
302
315
|
requirements:
|
303
316
|
- - ">="
|
@@ -320,6 +333,8 @@ test_files:
|
|
320
333
|
- test/rake_tasks_test.rb
|
321
334
|
- test/test_app/Rakefile
|
322
335
|
- test/test_app/app/javascript/packs/application.js
|
336
|
+
- test/test_app/app/javascript/packs/multi_entry.css
|
337
|
+
- test/test_app/app/javascript/packs/multi_entry.js
|
323
338
|
- test/test_app/bin/webpack
|
324
339
|
- test/test_app/bin/webpack-dev-server
|
325
340
|
- test/test_app/config.ru
|