webpacker 5.4.4 → 6.0.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.eslintrc.js +1 -1
- data/.github/workflows/ruby.yml +28 -4
- data/.gitignore +2 -0
- data/.node-version +1 -1
- data/.rubocop.yml +3 -111
- data/6_0_upgrade.md +43 -0
- data/CHANGELOG.md +19 -26
- data/Gemfile.lock +91 -94
- data/README.md +215 -98
- data/gemfiles/Gemfile-rails-edge +1 -1
- data/lib/install/config/webpack/base.js +3 -0
- data/lib/install/config/webpack/development.js +2 -2
- data/lib/install/config/webpack/production.js +2 -2
- data/lib/install/config/webpack/test.js +2 -2
- data/lib/install/config/webpacker.yml +8 -37
- data/lib/install/javascript/packs/application.css +9 -0
- data/lib/install/javascript/packs/application.js +3 -1
- data/lib/install/template.rb +33 -27
- data/lib/tasks/webpacker/binstubs.rake +6 -4
- data/lib/tasks/webpacker/check_binstubs.rake +4 -4
- data/lib/tasks/webpacker/check_yarn.rake +1 -1
- data/lib/tasks/webpacker/compile.rake +4 -2
- data/lib/tasks/webpacker/info.rake +12 -10
- data/lib/tasks/webpacker/install.rake +6 -4
- data/lib/tasks/webpacker/verify_install.rake +2 -1
- data/lib/tasks/webpacker/yarn_install.rake +9 -7
- data/lib/tasks/webpacker.rake +2 -11
- data/lib/webpacker/compiler.rb +15 -8
- data/lib/webpacker/configuration.rb +10 -45
- data/lib/webpacker/dev_server_runner.rb +21 -2
- data/lib/webpacker/env.rb +1 -5
- data/lib/webpacker/helper.rb +22 -32
- data/lib/webpacker/manifest.rb +1 -1
- data/lib/webpacker/version.rb +1 -1
- data/lib/webpacker/webpack_runner.rb +5 -0
- data/package/__tests__/config.js +5 -37
- data/package/__tests__/development.js +9 -11
- data/package/__tests__/env.js +12 -4
- data/package/__tests__/production.js +6 -6
- data/package/__tests__/staging.js +7 -6
- data/package/__tests__/test.js +4 -5
- data/package/babel/preset.js +55 -0
- data/package/config.js +3 -11
- data/package/env.js +8 -2
- data/package/environments/__tests__/base.js +15 -47
- data/package/environments/base.js +62 -125
- data/package/environments/development.js +45 -44
- data/package/environments/production.js +63 -68
- data/package/environments/test.js +2 -2
- data/package/index.js +13 -8
- data/package/rules/babel.js +9 -7
- data/package/rules/coffee.js +6 -0
- data/package/rules/erb.js +15 -0
- data/package/rules/file.js +19 -19
- data/package/rules/index.js +15 -18
- data/package/rules/less.js +22 -0
- data/package/rules/sass.js +10 -10
- data/package/rules/svg.js +20 -0
- data/package/utils/get_style_rule.js +26 -36
- data/package/utils/helpers.js +26 -35
- data/package.json +29 -45
- data/test/compiler_test.rb +0 -12
- data/test/configuration_test.rb +1 -32
- data/test/dev_server_runner_test.rb +24 -5
- data/test/engine_rake_tasks_test.rb +39 -0
- data/test/helper_test.rb +24 -30
- data/test/mounted_app/Rakefile +4 -0
- data/test/mounted_app/test/dummy/Rakefile +3 -0
- data/test/mounted_app/test/dummy/bin/rails +3 -0
- data/test/mounted_app/test/dummy/bin/rake +3 -0
- data/test/mounted_app/test/dummy/config/application.rb +10 -0
- data/test/mounted_app/test/dummy/config/environment.rb +3 -0
- data/test/mounted_app/test/dummy/config/webpacker.yml +75 -0
- data/test/mounted_app/test/dummy/config.ru +5 -0
- data/test/mounted_app/test/dummy/package.json +7 -0
- data/test/rake_tasks_test.rb +1 -10
- data/test/test_app/config/webpacker.yml +1 -25
- data/test/test_app/config/webpacker_public_root.yml +0 -1
- data/test/test_app/public/packs/manifest.json +17 -13
- data/test/test_app/some.config.js +0 -0
- data/test/webpack_runner_test.rb +9 -3
- data/yarn.lock +2505 -4943
- metadata +37 -82
- data/docs/assets.md +0 -119
- data/docs/cloud9.md +0 -310
- data/docs/css.md +0 -308
- data/docs/deployment.md +0 -130
- data/docs/docker.md +0 -68
- data/docs/engines.md +0 -213
- data/docs/env.md +0 -63
- data/docs/es6.md +0 -72
- data/docs/folder-structure.md +0 -66
- data/docs/integrations.md +0 -220
- data/docs/misc.md +0 -23
- data/docs/props.md +0 -223
- data/docs/target.md +0 -22
- data/docs/testing.md +0 -136
- data/docs/troubleshooting.md +0 -158
- data/docs/typescript.md +0 -190
- data/docs/v4-upgrade.md +0 -142
- data/docs/webpack-dev-server.md +0 -92
- data/docs/webpack.md +0 -364
- data/docs/yarn.md +0 -23
- data/lib/install/angular.rb +0 -23
- data/lib/install/coffee.rb +0 -25
- data/lib/install/config/.browserslistrc +0 -1
- data/lib/install/config/babel.config.js +0 -82
- data/lib/install/config/postcss.config.js +0 -12
- data/lib/install/config/webpack/environment.js +0 -3
- data/lib/install/elm.rb +0 -39
- data/lib/install/erb.rb +0 -25
- data/lib/install/examples/angular/hello_angular/app/app.component.ts +0 -9
- data/lib/install/examples/angular/hello_angular/app/app.module.ts +0 -16
- data/lib/install/examples/angular/hello_angular/index.ts +0 -8
- data/lib/install/examples/angular/hello_angular/polyfills.ts +0 -73
- data/lib/install/examples/angular/hello_angular.js +0 -7
- data/lib/install/examples/coffee/hello_coffee.coffee +0 -4
- data/lib/install/examples/elm/Main.elm +0 -55
- data/lib/install/examples/elm/hello_elm.js +0 -16
- data/lib/install/examples/erb/hello_erb.js.erb +0 -6
- data/lib/install/examples/react/babel.config.js +0 -99
- data/lib/install/examples/react/hello_react.jsx +0 -26
- data/lib/install/examples/react/tsconfig.json +0 -21
- data/lib/install/examples/stimulus/application.js +0 -1
- data/lib/install/examples/stimulus/controllers/hello_controller.js +0 -18
- data/lib/install/examples/stimulus/controllers/index.js +0 -9
- data/lib/install/examples/svelte/app.svelte +0 -11
- data/lib/install/examples/svelte/hello_svelte.js +0 -20
- data/lib/install/examples/typescript/hello_typescript.ts +0 -4
- data/lib/install/examples/typescript/tsconfig.json +0 -24
- data/lib/install/examples/vue/app.vue +0 -22
- data/lib/install/examples/vue/hello_vue.js +0 -72
- data/lib/install/loaders/coffee.js +0 -6
- data/lib/install/loaders/elm.js +0 -25
- data/lib/install/loaders/erb.js +0 -11
- data/lib/install/loaders/svelte.js +0 -9
- data/lib/install/loaders/vue.js +0 -6
- data/lib/install/react.rb +0 -18
- data/lib/install/stimulus.rb +0 -12
- data/lib/install/svelte.rb +0 -29
- data/lib/install/typescript.rb +0 -39
- data/lib/install/vue.rb +0 -49
- data/lib/tasks/installers.rake +0 -42
- data/package/config_types/__tests__/config_list.js +0 -118
- data/package/config_types/__tests__/config_object.js +0 -43
- data/package/config_types/config_list.js +0 -75
- data/package/config_types/config_object.js +0 -55
- data/package/config_types/index.js +0 -7
- data/package/rules/module.css.js +0 -3
- data/package/rules/module.sass.js +0 -8
- data/package/rules/node_modules.js +0 -22
- data/package/utils/__tests__/deep_assign.js +0 -32
- data/package/utils/__tests__/deep_merge.js +0 -10
- data/package/utils/__tests__/get_style_rule.js +0 -65
- data/package/utils/__tests__/objectify.js +0 -9
- data/package/utils/deep_assign.js +0 -22
- data/package/utils/deep_merge.js +0 -22
- data/package/utils/objectify.js +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19faa9561fccec8279b1d8031c2a386c44554ba0f24acc048ec4856853900fc5
|
4
|
+
data.tar.gz: a10901426f6b8ff524c243ddc21392ada8cf189fd85d63d3a6b558cd71b4237f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cda09944b075aa8da83a0c568f656d63b040b4c110b5a87f1e5962b60c24e63d70020a4648c1133674611a64178f048ad081128ea891df1950f82957e7a2a5da
|
7
|
+
data.tar.gz: aa72ec1ac73614d32405ca4dfbfbd05e910167599b30e9ed91b3360bdbc0ba12db577fb55096942f6e1a468e21e1e05ccf8bfc5b80596fb3f68e187a73fe1a63
|
data/.eslintrc.js
CHANGED
data/.github/workflows/ruby.yml
CHANGED
@@ -7,6 +7,9 @@ jobs:
|
|
7
7
|
name: Ruby specs
|
8
8
|
runs-on: ${{ matrix.os }}
|
9
9
|
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' || matrix.experimental }}
|
10
|
+
env:
|
11
|
+
BUNDLE_JOBS: 4
|
12
|
+
BUNDLE_RETRY: 3
|
10
13
|
strategy:
|
11
14
|
fail-fast: false
|
12
15
|
matrix:
|
@@ -26,21 +29,42 @@ jobs:
|
|
26
29
|
gemfile: gemfiles/Gemfile-rails.6.0.x
|
27
30
|
experimental: [false]
|
28
31
|
include:
|
32
|
+
- ruby: head
|
33
|
+
os: ubuntu-latest
|
34
|
+
gemfile: gemfiles/Gemfile-rails.6.0.x
|
35
|
+
experimental: true
|
36
|
+
- ruby: head
|
37
|
+
os: ubuntu-latest
|
38
|
+
gemfile: gemfiles/Gemfile-rails-edge
|
39
|
+
experimental: true
|
40
|
+
- ruby: 2.6
|
41
|
+
os: ubuntu-latest
|
42
|
+
gemfile: gemfiles/Gemfile-rails-edge
|
43
|
+
experimental: true
|
29
44
|
- ruby: 2.7
|
30
45
|
os: ubuntu-latest
|
31
46
|
gemfile: gemfiles/Gemfile-rails-edge
|
32
47
|
experimental: true
|
33
48
|
|
34
|
-
env:
|
35
|
-
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
36
49
|
steps:
|
37
50
|
- uses: actions/checkout@v2
|
51
|
+
- uses: actions/cache@v2
|
52
|
+
with:
|
53
|
+
path: /home/runner/bundle
|
54
|
+
key: bundle-use-ruby-${{ matrix.ruby }}-${{ matrix.gemfile }}-gems-${{ hashFiles(matrix.gemfile) }}-${{ hashFiles('**/*.gemspec') }}
|
55
|
+
restore-keys: |
|
56
|
+
bundle-use-ruby-${{ matrix.ruby }}-${{ matrix.gemfile }}-gems-
|
38
57
|
|
39
58
|
- uses: ruby/setup-ruby@v1
|
40
59
|
with:
|
41
60
|
ruby-version: ${{ matrix.ruby }}
|
42
|
-
|
43
|
-
|
61
|
+
|
62
|
+
- name: Bundle install
|
63
|
+
run: |
|
64
|
+
gem install bundler -v 2.1.4
|
65
|
+
bundle config path /home/runner/bundle
|
66
|
+
bundle config --global gemfile ${{ matrix.gemfile }}
|
67
|
+
bundle install --jobs 4 --retry 3
|
44
68
|
|
45
69
|
- name: Ruby specs
|
46
70
|
run: bundle exec rake test
|
data/.gitignore
CHANGED
data/.node-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
10.
|
1
|
+
10.22.1
|
data/.rubocop.yml
CHANGED
@@ -5,9 +5,9 @@ AllCops:
|
|
5
5
|
# to ignore them, so only the ones explicitly set in this file are enabled.
|
6
6
|
DisabledByDefault: true
|
7
7
|
Exclude:
|
8
|
-
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
- "lib/install/templates/**"
|
9
|
+
- "vendor/**/*"
|
10
|
+
- "node_modules/**/*"
|
11
11
|
|
12
12
|
# Prefer &&/|| over and/or.
|
13
13
|
Style/AndOr:
|
@@ -109,9 +109,6 @@ Layout/TrailingWhitespace:
|
|
109
109
|
Style/RedundantPercentQ:
|
110
110
|
Enabled: true
|
111
111
|
|
112
|
-
Lint/DeprecatedClassMethods:
|
113
|
-
Enabled: true
|
114
|
-
|
115
112
|
# Align `end` with the matching keyword or starting expression except for
|
116
113
|
# assignments, where it should be aligned with the LHS.
|
117
114
|
Layout/EndAlignment:
|
@@ -121,108 +118,3 @@ Layout/EndAlignment:
|
|
121
118
|
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
122
119
|
Lint/RequireParentheses:
|
123
120
|
Enabled: true
|
124
|
-
|
125
|
-
# Use `bind_call(obj, args, ...)` instead of `bind(obj).call(args, ...)`.
|
126
|
-
Performance/BindCall:
|
127
|
-
Enabled: true
|
128
|
-
|
129
|
-
# Use `caller(n..n)` instead of `caller`.
|
130
|
-
Performance/Caller:
|
131
|
-
Enabled: true
|
132
|
-
|
133
|
-
# Use `casecmp` for case comparison.
|
134
|
-
Performance/Casecmp:
|
135
|
-
Enabled: true
|
136
|
-
|
137
|
-
# Extract Array and Hash literals outside of loops into local variables or constants.
|
138
|
-
Performance/CollectionLiteralInLoop:
|
139
|
-
Enabled: true
|
140
|
-
|
141
|
-
# Prefer `sort_by(&:foo)` instead of `sort { |a, b| a.foo <=> b.foo }`.
|
142
|
-
Performance/CompareWithBlock:
|
143
|
-
Enabled: true
|
144
|
-
|
145
|
-
# Use `count` instead of `{select,find_all,filter,reject}...{size,count,length}`.
|
146
|
-
Performance/Count:
|
147
|
-
Enabled: true
|
148
|
-
|
149
|
-
# Use `delete_prefix` instead of `gsub`.
|
150
|
-
Performance/DeletePrefix:
|
151
|
-
Enabled: true
|
152
|
-
|
153
|
-
# Use `delete_suffix` instead of `gsub`.
|
154
|
-
Performance/DeleteSuffix:
|
155
|
-
Enabled: true
|
156
|
-
|
157
|
-
# Use `detect` instead of `select.first`, `find_all.first`, `filter.first`, `select.last`, `find_all.last`, and `filter.last`.
|
158
|
-
Performance/Detect:
|
159
|
-
Enabled: true
|
160
|
-
|
161
|
-
# Use `str.{start,end}_with?(x, ..., y, ...)` instead of `str.{start,end}_with?(x, ...) || str.{start,end}_with?(y, ...)`.
|
162
|
-
Performance/DoubleStartEndWith:
|
163
|
-
Enabled: true
|
164
|
-
|
165
|
-
# Use `end_with?` instead of a regex match anchored to the end of a string.
|
166
|
-
Performance/EndWith:
|
167
|
-
Enabled: true
|
168
|
-
|
169
|
-
# Do not compute the size of statically sized objects except in constants.
|
170
|
-
Performance/FixedSize:
|
171
|
-
Enabled: true
|
172
|
-
|
173
|
-
# Use `Enumerable#flat_map` instead of `Enumerable#map...Array#flatten(1).
|
174
|
-
Performance/FlatMap:
|
175
|
-
Enabled: true
|
176
|
-
|
177
|
-
# Use `key?` or `value?` instead of `keys.include?` or `values.include?`.
|
178
|
-
Performance/InefficientHashSearch:
|
179
|
-
Enabled: true
|
180
|
-
|
181
|
-
# Use `Range#cover?` instead of `Range#include?` (or `Range#member?`).
|
182
|
-
Performance/RangeInclude:
|
183
|
-
Enabled: true
|
184
|
-
|
185
|
-
# Use `yield` instead of `block.call`.
|
186
|
-
Performance/RedundantBlockCall:
|
187
|
-
Enabled: true
|
188
|
-
|
189
|
-
# Use `=~` instead of `String#match` or `Regexp#match` in a context where the returned `MatchData` is not needed.
|
190
|
-
Performance/RedundantMatch:
|
191
|
-
Enabled: true
|
192
|
-
|
193
|
-
# Use Hash#[]=, rather than Hash#merge! with a single key-value pair.
|
194
|
-
Performance/RedundantMerge:
|
195
|
-
Enabled: true
|
196
|
-
|
197
|
-
# Use `match?` instead of `Regexp#match`, `String#match`, `Symbol#match`, `Regexp#===`, or `=~` when `MatchData` is not used.
|
198
|
-
Performance/RegexpMatch:
|
199
|
-
Enabled: true
|
200
|
-
|
201
|
-
# Use `reverse_each` instead of `reverse.each`.
|
202
|
-
Performance/ReverseEach:
|
203
|
-
Enabled: true
|
204
|
-
|
205
|
-
# Use `size` instead of `count` for counting the number of elements in `Array` and `Hash`.
|
206
|
-
Performance/Size:
|
207
|
-
Enabled: true
|
208
|
-
|
209
|
-
# Use `start_with?` instead of a regex match anchored to the beginning of a string.
|
210
|
-
Performance/StartWith:
|
211
|
-
Enabled: true
|
212
|
-
|
213
|
-
# Use `tr` instead of `gsub` when you are replacing the same number of characters.
|
214
|
-
# Use `delete` instead of `gsub` when you are deleting characters.
|
215
|
-
Performance/StringReplacement:
|
216
|
-
Enabled: true
|
217
|
-
|
218
|
-
# Checks for .times.map calls.
|
219
|
-
Performance/TimesMap:
|
220
|
-
Enabled: true
|
221
|
-
|
222
|
-
# Use unary plus to get an unfrozen string literal.
|
223
|
-
Performance/UnfreezeString:
|
224
|
-
Enabled: true
|
225
|
-
|
226
|
-
# Use `URI::DEFAULT_PARSER` instead of `URI::Parser.new`.
|
227
|
-
Performance/UriDefaultParser:
|
228
|
-
Enabled: true
|
data/6_0_upgrade.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# To webpacker v6 from v5
|
2
|
+
|
3
|
+
This guide aims to help you migrating to webpacker 6. If you are using
|
4
|
+
vanilla webpacker install then hopefully, the upgrade should be really
|
5
|
+
straightforward.
|
6
|
+
|
7
|
+
## Preparation
|
8
|
+
|
9
|
+
- Rename `config/webpack` to `config/webpack_old`
|
10
|
+
- Rename `config/webpacker.yml` to `config/webpacker_old.yml`
|
11
|
+
- Upgrade webpacker
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
# Gemfile
|
15
|
+
gem 'webpacker', '~> 6.x'
|
16
|
+
```
|
17
|
+
|
18
|
+
```
|
19
|
+
bundle
|
20
|
+
```
|
21
|
+
|
22
|
+
```bash
|
23
|
+
yarn add @rails/webpacker@next
|
24
|
+
```
|
25
|
+
|
26
|
+
```bash
|
27
|
+
bundle exec rails webpacker:install
|
28
|
+
```
|
29
|
+
|
30
|
+
- Change `javascript_pack_tag` and `stylesheet_pack_tag` to `javascript_packs_with_chunks_tag` and
|
31
|
+
`stylesheet_packs_with_chunks_tag`
|
32
|
+
|
33
|
+
- If you are using any integrations like css, react or typescript. Please see https://github.com/rails/webpacker#integrations section on how they work in v6.0
|
34
|
+
|
35
|
+
- Copy over any custom webpack config from `config/webpack_old`
|
36
|
+
|
37
|
+
```js
|
38
|
+
// config/webpack/base.js
|
39
|
+
const { webpackConfig, merge } = require('@rails/webpacker')
|
40
|
+
const customConfig = require('./custom')
|
41
|
+
|
42
|
+
module.exports = merge(webpackConfig, customConfig)
|
43
|
+
```
|
data/CHANGELOG.md
CHANGED
@@ -2,43 +2,36 @@
|
|
2
2
|
|
3
3
|
**Please note that Webpacker 4.1.0 has an installer bug. Please use 4.2.0 or above**
|
4
4
|
|
5
|
-
## [[
|
5
|
+
## [[6.0.0]](https://github.com/rails/webpacker/compare/v5.1.1...master) - 2021-TBD
|
6
6
|
|
7
|
-
-
|
7
|
+
- `node_modules` will no longer be compiled by default. This primarily fixes [rails issue #35501](https://github.com/rails/rails/issues/35501) as well as [numerous other webpacker issues](https://github.com/rails/webpacker/issues/2131#issuecomment-581618497). The disabled loader can still be required explicitly via:
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
## [[5.4.2]](https://github.com/rails/webpacker/compare/v5.4.1...v5.4.2) - 2021-08-20
|
14
|
-
|
15
|
-
- Fix babel warning about private-methods in @babel/plugin-proposal-private-property-in-object as well.
|
16
|
-
|
17
|
-
## [[5.4.1]](https://github.com/rails/webpacker/compare/v5.4.0...v5.4.1) - 2021-08-20
|
18
|
-
|
19
|
-
- Update all dependencies within the same major version (#3120)
|
20
|
-
|
21
|
-
- Fix babel warning about private-methods (#3016)
|
22
|
-
|
23
|
-
## [[5.4.0]](https://github.com/rails/webpacker/compare/v5.3.0...v5.4.0) - 2021-05-18
|
24
|
-
|
25
|
-
- Fix compatibility with Psych 4
|
26
|
-
|
27
|
-
## [[5.3.0]](https://github.com/rails/webpacker/compare/v5.2.1...v5.3.0) - 2021-04-27
|
9
|
+
```js
|
10
|
+
const nodeModules = require('@rails/webpacker/rules/node_modules.js')
|
11
|
+
environment.loaders.append('nodeModules', nodeModules)
|
12
|
+
```
|
28
13
|
|
14
|
+
- If you have added `environment.loaders.delete('nodeModules')` to your `environment.js`, this must be removed or you will receive an error (`Item nodeModules not found`).
|
15
|
+
- The install task will now set the `extract_css` default to `true` in all environments and generate a separate `application.css` file for the default `application` pack, as supported by multiple files per entry introduced in 5.0.0. [#2608](https://github.com/rails/webpacker/pull/2608)
|
16
|
+
- Webpacker's wrapper to the `splitChunks()` API will now default `runtimeChunk: 'single'` which will help prevent potential issues when using multiple entry points per page [#2708](https://github.com/rails/webpacker/pull/2708).
|
17
|
+
- Changes `@babel/preset-env` modules option to `'auto'` per recommendation in the Babel docs [#2709](https://github.com/rails/webpacker/pull/2709)
|
29
18
|
- Adds experimental Yarn 2 support. Note you must manually set `nodeLinker: node-modules` in your `.yarnrc.yml`.
|
30
19
|
|
31
|
-
|
20
|
+
### Breaking changes
|
32
21
|
|
33
|
-
|
22
|
+
- Simple webpack config
|
23
|
+
- Removed integration installers
|
24
|
+
- Splitchunks enabled by default
|
25
|
+
- CSS extraction enabled by default
|
26
|
+
- Optional CSS support
|
34
27
|
|
35
|
-
|
28
|
+
Please see upgrade [guide](./6_0_upgrade.md)
|
36
29
|
|
37
|
-
## [[5.2.1]](https://github.com/rails/webpacker/compare/v5.2.0...
|
30
|
+
## [[5.2.1]](https://github.com/rails/webpacker/compare/v5.2.0...5.2.1) - 2020-08-17
|
38
31
|
|
39
32
|
- Revert [#1311](https://github.com/rails/webpacker/pull/1311).
|
40
33
|
|
41
|
-
## [[5.2.0]](https://github.com/rails/webpacker/compare/v5.1.1...
|
34
|
+
## [[5.2.0]](https://github.com/rails/webpacker/compare/v5.1.1...5.2.0) - 2020-08-16
|
42
35
|
|
43
36
|
- Bump dependencies and fixes. See [diff](https://github.com/rails/webpacker/compare/v5.1.1...5-x-stable) for changes.
|
44
37
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
webpacker (
|
4
|
+
webpacker (6.0.0.beta)
|
5
5
|
activesupport (>= 5.2)
|
6
6
|
rack-proxy (>= 0.6.1)
|
7
7
|
railties (>= 5.2)
|
@@ -10,128 +10,124 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actioncable (6.
|
14
|
-
actionpack (= 6.
|
15
|
-
activesupport (= 6.1.3.2)
|
13
|
+
actioncable (6.0.3.2)
|
14
|
+
actionpack (= 6.0.3.2)
|
16
15
|
nio4r (~> 2.0)
|
17
16
|
websocket-driver (>= 0.6.1)
|
18
|
-
actionmailbox (6.
|
19
|
-
actionpack (= 6.
|
20
|
-
activejob (= 6.
|
21
|
-
activerecord (= 6.
|
22
|
-
activestorage (= 6.
|
23
|
-
activesupport (= 6.
|
17
|
+
actionmailbox (6.0.3.2)
|
18
|
+
actionpack (= 6.0.3.2)
|
19
|
+
activejob (= 6.0.3.2)
|
20
|
+
activerecord (= 6.0.3.2)
|
21
|
+
activestorage (= 6.0.3.2)
|
22
|
+
activesupport (= 6.0.3.2)
|
24
23
|
mail (>= 2.7.1)
|
25
|
-
actionmailer (6.
|
26
|
-
actionpack (= 6.
|
27
|
-
actionview (= 6.
|
28
|
-
activejob (= 6.
|
29
|
-
activesupport (= 6.1.3.2)
|
24
|
+
actionmailer (6.0.3.2)
|
25
|
+
actionpack (= 6.0.3.2)
|
26
|
+
actionview (= 6.0.3.2)
|
27
|
+
activejob (= 6.0.3.2)
|
30
28
|
mail (~> 2.5, >= 2.5.4)
|
31
29
|
rails-dom-testing (~> 2.0)
|
32
|
-
actionpack (6.
|
33
|
-
actionview (= 6.
|
34
|
-
activesupport (= 6.
|
35
|
-
rack (~> 2.0, >= 2.0.
|
30
|
+
actionpack (6.0.3.2)
|
31
|
+
actionview (= 6.0.3.2)
|
32
|
+
activesupport (= 6.0.3.2)
|
33
|
+
rack (~> 2.0, >= 2.0.8)
|
36
34
|
rack-test (>= 0.6.3)
|
37
35
|
rails-dom-testing (~> 2.0)
|
38
36
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
39
|
-
actiontext (6.
|
40
|
-
actionpack (= 6.
|
41
|
-
activerecord (= 6.
|
42
|
-
activestorage (= 6.
|
43
|
-
activesupport (= 6.
|
37
|
+
actiontext (6.0.3.2)
|
38
|
+
actionpack (= 6.0.3.2)
|
39
|
+
activerecord (= 6.0.3.2)
|
40
|
+
activestorage (= 6.0.3.2)
|
41
|
+
activesupport (= 6.0.3.2)
|
44
42
|
nokogiri (>= 1.8.5)
|
45
|
-
actionview (6.
|
46
|
-
activesupport (= 6.
|
43
|
+
actionview (6.0.3.2)
|
44
|
+
activesupport (= 6.0.3.2)
|
47
45
|
builder (~> 3.1)
|
48
46
|
erubi (~> 1.4)
|
49
47
|
rails-dom-testing (~> 2.0)
|
50
48
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
51
|
-
activejob (6.
|
52
|
-
activesupport (= 6.
|
49
|
+
activejob (6.0.3.2)
|
50
|
+
activesupport (= 6.0.3.2)
|
53
51
|
globalid (>= 0.3.6)
|
54
|
-
activemodel (6.
|
55
|
-
activesupport (= 6.
|
56
|
-
activerecord (6.
|
57
|
-
activemodel (= 6.
|
58
|
-
activesupport (= 6.
|
59
|
-
activestorage (6.
|
60
|
-
actionpack (= 6.
|
61
|
-
activejob (= 6.
|
62
|
-
activerecord (= 6.
|
63
|
-
|
64
|
-
|
65
|
-
mini_mime (~> 1.0.2)
|
66
|
-
activesupport (6.1.3.2)
|
52
|
+
activemodel (6.0.3.2)
|
53
|
+
activesupport (= 6.0.3.2)
|
54
|
+
activerecord (6.0.3.2)
|
55
|
+
activemodel (= 6.0.3.2)
|
56
|
+
activesupport (= 6.0.3.2)
|
57
|
+
activestorage (6.0.3.2)
|
58
|
+
actionpack (= 6.0.3.2)
|
59
|
+
activejob (= 6.0.3.2)
|
60
|
+
activerecord (= 6.0.3.2)
|
61
|
+
marcel (~> 0.3.1)
|
62
|
+
activesupport (6.0.3.2)
|
67
63
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
68
|
-
i18n (>=
|
69
|
-
minitest (
|
70
|
-
tzinfo (~>
|
71
|
-
zeitwerk (~> 2.
|
72
|
-
ast (2.4.
|
64
|
+
i18n (>= 0.7, < 2)
|
65
|
+
minitest (~> 5.1)
|
66
|
+
tzinfo (~> 1.1)
|
67
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
68
|
+
ast (2.4.1)
|
73
69
|
builder (3.2.4)
|
74
70
|
byebug (11.1.3)
|
75
|
-
concurrent-ruby (1.1.
|
71
|
+
concurrent-ruby (1.1.6)
|
76
72
|
crass (1.0.6)
|
77
|
-
erubi (1.
|
73
|
+
erubi (1.9.0)
|
78
74
|
globalid (0.4.2)
|
79
75
|
activesupport (>= 4.2.0)
|
80
|
-
i18n (1.8.
|
76
|
+
i18n (1.8.5)
|
81
77
|
concurrent-ruby (~> 1.0)
|
82
|
-
loofah (2.
|
78
|
+
loofah (2.6.0)
|
83
79
|
crass (~> 1.0.2)
|
84
80
|
nokogiri (>= 1.5.9)
|
85
81
|
mail (2.7.1)
|
86
82
|
mini_mime (>= 0.1.1)
|
87
|
-
marcel (
|
83
|
+
marcel (0.3.3)
|
84
|
+
mimemagic (~> 0.3.2)
|
88
85
|
method_source (1.0.0)
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
parallel (1.
|
97
|
-
parser (
|
86
|
+
mimemagic (0.3.5)
|
87
|
+
mini_mime (1.0.2)
|
88
|
+
mini_portile2 (2.4.0)
|
89
|
+
minitest (5.14.1)
|
90
|
+
nio4r (2.5.2)
|
91
|
+
nokogiri (1.10.10)
|
92
|
+
mini_portile2 (~> 2.4.0)
|
93
|
+
parallel (1.19.2)
|
94
|
+
parser (2.7.2.0)
|
98
95
|
ast (~> 2.4.1)
|
99
|
-
racc (1.5.2)
|
100
96
|
rack (2.2.3)
|
101
97
|
rack-proxy (0.6.5)
|
102
98
|
rack
|
103
99
|
rack-test (1.1.0)
|
104
100
|
rack (>= 1.0, < 3)
|
105
|
-
rails (6.
|
106
|
-
actioncable (= 6.
|
107
|
-
actionmailbox (= 6.
|
108
|
-
actionmailer (= 6.
|
109
|
-
actionpack (= 6.
|
110
|
-
actiontext (= 6.
|
111
|
-
actionview (= 6.
|
112
|
-
activejob (= 6.
|
113
|
-
activemodel (= 6.
|
114
|
-
activerecord (= 6.
|
115
|
-
activestorage (= 6.
|
116
|
-
activesupport (= 6.
|
117
|
-
bundler (>= 1.
|
118
|
-
railties (= 6.
|
101
|
+
rails (6.0.3.2)
|
102
|
+
actioncable (= 6.0.3.2)
|
103
|
+
actionmailbox (= 6.0.3.2)
|
104
|
+
actionmailer (= 6.0.3.2)
|
105
|
+
actionpack (= 6.0.3.2)
|
106
|
+
actiontext (= 6.0.3.2)
|
107
|
+
actionview (= 6.0.3.2)
|
108
|
+
activejob (= 6.0.3.2)
|
109
|
+
activemodel (= 6.0.3.2)
|
110
|
+
activerecord (= 6.0.3.2)
|
111
|
+
activestorage (= 6.0.3.2)
|
112
|
+
activesupport (= 6.0.3.2)
|
113
|
+
bundler (>= 1.3.0)
|
114
|
+
railties (= 6.0.3.2)
|
119
115
|
sprockets-rails (>= 2.0.0)
|
120
116
|
rails-dom-testing (2.0.3)
|
121
117
|
activesupport (>= 4.2.0)
|
122
118
|
nokogiri (>= 1.6)
|
123
119
|
rails-html-sanitizer (1.3.0)
|
124
120
|
loofah (~> 2.3)
|
125
|
-
railties (6.
|
126
|
-
actionpack (= 6.
|
127
|
-
activesupport (= 6.
|
121
|
+
railties (6.0.3.2)
|
122
|
+
actionpack (= 6.0.3.2)
|
123
|
+
activesupport (= 6.0.3.2)
|
128
124
|
method_source
|
129
125
|
rake (>= 0.8.7)
|
130
|
-
thor (
|
126
|
+
thor (>= 0.20.3, < 2.0)
|
131
127
|
rainbow (3.0.0)
|
132
|
-
rake (13.0.
|
133
|
-
regexp_parser (
|
134
|
-
rexml (3.2.
|
128
|
+
rake (13.0.1)
|
129
|
+
regexp_parser (1.8.2)
|
130
|
+
rexml (3.2.4)
|
135
131
|
rubocop (0.93.1)
|
136
132
|
parallel (~> 1.10)
|
137
133
|
parser (>= 2.7.1.5)
|
@@ -141,28 +137,29 @@ GEM
|
|
141
137
|
rubocop-ast (>= 0.6.0)
|
142
138
|
ruby-progressbar (~> 1.7)
|
143
139
|
unicode-display_width (>= 1.4.0, < 2.0)
|
144
|
-
rubocop-ast (
|
145
|
-
parser (>=
|
146
|
-
rubocop-performance (1.
|
147
|
-
rubocop (>= 0.
|
140
|
+
rubocop-ast (0.8.0)
|
141
|
+
parser (>= 2.7.1.5)
|
142
|
+
rubocop-performance (1.8.1)
|
143
|
+
rubocop (>= 0.87.0)
|
148
144
|
rubocop-ast (>= 0.4.0)
|
149
|
-
ruby-progressbar (1.
|
150
|
-
semantic_range (3.0
|
145
|
+
ruby-progressbar (1.10.1)
|
146
|
+
semantic_range (2.3.0)
|
151
147
|
sprockets (4.0.2)
|
152
148
|
concurrent-ruby (~> 1.0)
|
153
149
|
rack (> 1, < 3)
|
154
|
-
sprockets-rails (3.2.
|
150
|
+
sprockets-rails (3.2.1)
|
155
151
|
actionpack (>= 4.0)
|
156
152
|
activesupport (>= 4.0)
|
157
153
|
sprockets (>= 3.0.0)
|
158
|
-
thor (1.1
|
159
|
-
|
160
|
-
|
154
|
+
thor (1.0.1)
|
155
|
+
thread_safe (0.3.6)
|
156
|
+
tzinfo (1.2.7)
|
157
|
+
thread_safe (~> 0.1)
|
161
158
|
unicode-display_width (1.7.0)
|
162
159
|
websocket-driver (0.7.3)
|
163
160
|
websocket-extensions (>= 0.1.0)
|
164
161
|
websocket-extensions (0.1.5)
|
165
|
-
zeitwerk (2.4.
|
162
|
+
zeitwerk (2.4.0)
|
166
163
|
|
167
164
|
PLATFORMS
|
168
165
|
ruby
|
@@ -180,4 +177,4 @@ DEPENDENCIES
|
|
180
177
|
webpacker!
|
181
178
|
|
182
179
|
BUNDLED WITH
|
183
|
-
2.
|
180
|
+
2.1.4
|