webpacker 4.3.0 → 5.0.0
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 +8 -22
- data/CHANGELOG.md +17 -6
- data/Gemfile +1 -0
- data/Gemfile.lock +8 -5
- data/README.md +25 -229
- 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/integrations.md +220 -0
- data/docs/typescript.md +2 -3
- data/lib/install/loaders/svelte.js +2 -2
- data/lib/install/template.rb +1 -1
- 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/dev_server_runner.rb +4 -4
- data/lib/webpacker/manifest.rb +4 -4
- data/lib/webpacker/version.rb +1 -1
- data/package.json +26 -26
- 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/sass.js +2 -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/webpacker.gemspec +4 -3
- data/yarn.lock +1131 -712
- metadata +28 -12
- 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
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.0.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-03-22 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
|
@@ -267,6 +279,8 @@ files:
|
|
267
279
|
- test/rake_tasks_test.rb
|
268
280
|
- test/test_app/Rakefile
|
269
281
|
- test/test_app/app/javascript/packs/application.js
|
282
|
+
- test/test_app/app/javascript/packs/multi_entry.css
|
283
|
+
- test/test_app/app/javascript/packs/multi_entry.js
|
270
284
|
- test/test_app/bin/webpack
|
271
285
|
- test/test_app/bin/webpack-dev-server
|
272
286
|
- test/test_app/config.ru
|
@@ -287,8 +301,8 @@ homepage: https://github.com/rails/webpacker
|
|
287
301
|
licenses:
|
288
302
|
- MIT
|
289
303
|
metadata:
|
290
|
-
source_code_uri: https://github.com/rails/webpacker/tree/
|
291
|
-
changelog_uri: https://github.com/rails/webpacker/blob/
|
304
|
+
source_code_uri: https://github.com/rails/webpacker/tree/v5.0.0
|
305
|
+
changelog_uri: https://github.com/rails/webpacker/blob/v5.0.0/CHANGELOG.md
|
292
306
|
post_install_message:
|
293
307
|
rdoc_options: []
|
294
308
|
require_paths:
|
@@ -297,7 +311,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
297
311
|
requirements:
|
298
312
|
- - ">="
|
299
313
|
- !ruby/object:Gem::Version
|
300
|
-
version: 2.
|
314
|
+
version: 2.4.0
|
301
315
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
302
316
|
requirements:
|
303
317
|
- - ">="
|
@@ -320,6 +334,8 @@ test_files:
|
|
320
334
|
- test/rake_tasks_test.rb
|
321
335
|
- test/test_app/Rakefile
|
322
336
|
- test/test_app/app/javascript/packs/application.js
|
337
|
+
- test/test_app/app/javascript/packs/multi_entry.css
|
338
|
+
- test/test_app/app/javascript/packs/multi_entry.js
|
323
339
|
- test/test_app/bin/webpack
|
324
340
|
- test/test_app/bin/webpack-dev-server
|
325
341
|
- test/test_app/config.ru
|