shakapacker 6.0.1 → 6.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -7
- data/README.md +1 -3
- data/docs/customizing_babel_config.md +4 -4
- data/lib/webpacker/compiler.rb +2 -2
- data/lib/webpacker/version.rb +1 -1
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92baeec1396c0616c20a1aad6d7b45f81776c825c684cf585ca2511602b9f60e
|
4
|
+
data.tar.gz: 91f7b0d550b5334d6284636b984bdb55f9feb5cd72211254be5c50b4afae2b27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ccc02bd10d28bf68b1b38fba51769c71c23aa874f5922516c9804088d179163fd25b8ac5e2da48325d5fbdffe65467c409848ef5086551ffee60c8021fcb444
|
7
|
+
data.tar.gz: e035005d2e37ccad4a0bdd7cde26059fc1dd00d840d8d487866de0f175c083d26a6c427eb663065d4190a47608bf7572c29752c2d1ce52a50986504bee0c8970
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
* For versions prior to v6, see the [5.x stable branch of rails/webpacker](https://github.com/rails/webpacker/tree/5-x-stable).
|
1
|
+
* For versions prior to v6, see the [5.x stable branch of rails/webpacker](https://github.com/rails/webpacker/tree/5-x-stable).
|
2
2
|
* Please see [UPGRADE GUIDE](./docs/v6_upgrade.md).
|
3
3
|
|
4
4
|
## Versions
|
@@ -6,21 +6,25 @@
|
|
6
6
|
Changes since last non-beta release.
|
7
7
|
|
8
8
|
*Please add entries here for your pull requests that are not yet released.*
|
9
|
+
## [v6.0.2] - January 25, 2022
|
10
|
+
### Improved
|
11
|
+
- Fix incorrect command name in warning. [PR 33](https://github.com/shakacode/shakapacker/pull/33) by [tricknotes](https://github.com/tricknotes).
|
12
|
+
|
9
13
|
## [v6.0.1] - January 24, 2022
|
10
14
|
### Improved
|
11
|
-
- PR #21 removed pnp-webpack-plugin as a dev dependency but did not remove it from the peer dependency list. [PR 30](https://github.com/shakacode/shakapacker/pull/
|
15
|
+
- PR #21 removed pnp-webpack-plugin as a dev dependency but did not remove it from the peer dependency list. [PR 30](https://github.com/shakacode/shakapacker/pull/30) by [t27duck](https://github.com/t27duck).
|
12
16
|
|
13
17
|
## [v6.0.0 changes from v6.0.0.rc.6] - January 22, 2022
|
14
18
|
|
15
19
|
### Improved
|
16
|
-
- Raise on multiple invocations of javascript_pack_tag and stylesheet_pack_tag helpers. [PR 19](https://github.com/shakacode/shakapacker/pull/19) by [tomdracz](https://github.com/tomdracz
|
17
|
-
- Remove automatic addition of node_modules into rails asset load path. [PR 20](https://github.com/shakacode/shakapacker/pull/20) by [tomdracz](https://github.com/tomdracz
|
18
|
-
- Remove pnp-webpack-plugin. [PR 21](https://github.com/shakacode/shakapacker/pull/21) by [tomdracz](https://github.com/tomdracz
|
20
|
+
- Raise on multiple invocations of javascript_pack_tag and stylesheet_pack_tag helpers. [PR 19](https://github.com/shakacode/shakapacker/pull/19) by [tomdracz](https://github.com/tomdracz).
|
21
|
+
- Remove automatic addition of node_modules into rails asset load path. [PR 20](https://github.com/shakacode/shakapacker/pull/20) by [tomdracz](https://github.com/tomdracz).
|
22
|
+
- Remove pnp-webpack-plugin. [PR 21](https://github.com/shakacode/shakapacker/pull/21) by [tomdracz](https://github.com/tomdracz).
|
19
23
|
|
20
24
|
|
21
25
|
### Merged from rails/webpacker
|
22
26
|
|
23
|
-
- Make watched_files_digest thread safe. [rails/webpacker #3233](https://github.com/rails/webpacker/pull/3233)
|
27
|
+
- Make watched_files_digest thread safe. [rails/webpacker #3233](https://github.com/rails/webpacker/pull/3233)
|
24
28
|
- Use single webpack config webpack.config.js. [rails/webpacker #3240](https://github.com/rails/webpacker/pull/3240)
|
25
29
|
- Switch to peer dependencies. [rails/webpacker #3234](https://github.com/rails/webpacker/pull/3234)
|
26
30
|
|
@@ -55,7 +59,8 @@ Changes since last non-beta release.
|
|
55
59
|
- CSS extraction enabled by default, except when devServer is configured and running
|
56
60
|
|
57
61
|
|
58
|
-
[Unreleased]: https://github.com/shakacode/shakapacker/compare/6.0.
|
62
|
+
[Unreleased]: https://github.com/shakacode/shakapacker/compare/6.0.2...master
|
63
|
+
[v6.0.2]: https://github.com/shakacode/shakapacker/compare/v6.0.1...v6.0.2
|
59
64
|
[v6.0.1]: https://github.com/shakacode/shakapacker/compare/v6.0.0...v6.0.1
|
60
65
|
[v6.0.0 changes from v6.0.0.rc.6]: https://github.com/shakacode/shakapacker/compare/aba79635e6ff6562ec04d3c446d57ef19a5fef7d...v6.0.0
|
61
66
|
[v6.0.0.rc.6 changes from v5.4]: https://github.com/rails/webpacker/compare/v5.4.3...aba79635e6ff6562ec04d3c446d57ef19a5fef7d
|
data/README.md
CHANGED
@@ -32,9 +32,7 @@ Discussion forums to discuss debugging and troubleshooting tips. Please open iss
|
|
32
32
|
- [Features](#features)
|
33
33
|
- [Optional support](#optional-support)
|
34
34
|
- [Installation](#installation)
|
35
|
-
- [Rails v6](#rails-v6)
|
36
|
-
- [Rails v7](#rails-v7)
|
37
|
-
- [Manual Installation Steps](#manual-installation-steps)
|
35
|
+
- [Rails v6+](#rails-v6)
|
38
36
|
- [Note for Sprockets usage](#note-for-sprockets-usage)
|
39
37
|
- [Usage](#usage)
|
40
38
|
- [View Helpers](#view-helpers)
|
@@ -39,14 +39,14 @@ module.exports = function (api) {
|
|
39
39
|
development: isDevelopmentEnv || isTestEnv,
|
40
40
|
useBuiltIns: true
|
41
41
|
}
|
42
|
-
]
|
42
|
+
]
|
43
|
+
].filter(Boolean),
|
44
|
+
plugins: [
|
43
45
|
isProductionEnv && ['babel-plugin-transform-react-remove-prop-types',
|
44
46
|
{
|
45
47
|
removeImport: true
|
46
48
|
}
|
47
|
-
]
|
48
|
-
].filter(Boolean),
|
49
|
-
plugins: [
|
49
|
+
],
|
50
50
|
process.env.WEBPACK_SERVE && 'react-refresh/babel'
|
51
51
|
].filter(Boolean),
|
52
52
|
}
|
data/lib/webpacker/compiler.rb
CHANGED
@@ -57,8 +57,8 @@ class Webpacker::Compiler
|
|
57
57
|
Webpacker::Compiler - Slow setup for development
|
58
58
|
|
59
59
|
Prepare JS assets with either:
|
60
|
-
1. Running `bin/
|
61
|
-
2. Set `compile` to false in webpacker.yml and run `bin/
|
60
|
+
1. Running `bin/webpacker-dev-server`
|
61
|
+
2. Set `compile` to false in webpacker.yml and run `bin/webpacker -w`
|
62
62
|
MSG
|
63
63
|
end
|
64
64
|
|
data/lib/webpacker/version.rb
CHANGED
data/package.json
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shakapacker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
@@ -269,7 +269,7 @@ homepage: https://github.com/shakacode/shakapacker
|
|
269
269
|
licenses:
|
270
270
|
- MIT
|
271
271
|
metadata:
|
272
|
-
source_code_uri: https://github.com/shakacode/shakapacker/tree/v6.0.
|
272
|
+
source_code_uri: https://github.com/shakacode/shakapacker/tree/v6.0.2
|
273
273
|
post_install_message:
|
274
274
|
rdoc_options: []
|
275
275
|
require_paths:
|