shakapacker 9.3.3 → 9.3.4.beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/CONTRIBUTING.md +1 -1
- data/Gemfile.lock +1 -1
- data/lib/shakapacker/bundler_switcher.rb +6 -8
- data/lib/shakapacker/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: 6f91e082c004aed62a936ae04be5d4a86adb4532deebe84f55662660f3735f67
|
|
4
|
+
data.tar.gz: aa26a6595a4f37bb61f83d10e978e77f5b6cbe2df50debb7428ecb9f8a6f1072
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: efeea8ba10d3a7df9d4a5d14d7f7f34169202ebd2f7f9c16e1875cdb55531be5155600ba2a06cb2fa53866785fd0a374742f2b420be68c12430a7597b553e23c
|
|
7
|
+
data.tar.gz: 89965343135e74749d0a04cafd1c6a931b311d62432c25cfc6f3e9c1bcbee4274605a200211d39622e6934a376f00b092b556238586d1742603398b0862b7d34
|
data/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
|
|
12
12
|
Changes since the last non-beta release.
|
|
13
13
|
|
|
14
|
+
## [v9.3.3] - November 15, 2025
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **Fixed `switch_bundler` task to preserve shared dependencies**. [PR #836](https://github.com/shakacode/shakapacker/pull/836) by [justin808](https://github.com/justin808). The task no longer removes `@swc/core`, `swc-loader`, and `webpack-merge` when switching bundlers, as these packages are shared between webpack and rspack configurations.
|
|
19
|
+
|
|
14
20
|
## [v9.3.2] - November 10, 2025
|
|
15
21
|
|
|
16
22
|
### Fixed
|
|
@@ -746,7 +752,8 @@ Note: [Rubygem is 6.3.0.pre.rc.1](https://rubygems.org/gems/shakapacker/versions
|
|
|
746
752
|
|
|
747
753
|
See [CHANGELOG.md in rails/webpacker (up to v5.4.3)](https://github.com/rails/webpacker/blob/master/CHANGELOG.md)
|
|
748
754
|
|
|
749
|
-
[Unreleased]: https://github.com/shakacode/shakapacker/compare/v9.3.
|
|
755
|
+
[Unreleased]: https://github.com/shakacode/shakapacker/compare/v9.3.3...main
|
|
756
|
+
[v9.3.3]: https://github.com/shakacode/shakapacker/compare/v9.3.2...v9.3.3
|
|
750
757
|
[v9.3.2]: https://github.com/shakacode/shakapacker/compare/v9.3.1...v9.3.2
|
|
751
758
|
[v9.3.1]: https://github.com/shakacode/shakapacker/compare/v9.3.0...v9.3.1
|
|
752
759
|
[v9.3.0]: https://github.com/shakacode/shakapacker/compare/v9.2.0...v9.3.0
|
data/CONTRIBUTING.md
CHANGED
|
@@ -70,7 +70,7 @@ yarn lint --cache
|
|
|
70
70
|
|
|
71
71
|
## Setting Up a Development Environment
|
|
72
72
|
|
|
73
|
-
1. Install [Yarn](https://classic.yarnpkg.com/)
|
|
73
|
+
1. Install [Yarn](https://classic.yarnpkg.com/) & [yalc](https://github.com/wclr/yalc)
|
|
74
74
|
2. To test your changes on a Rails test project do the following steps:
|
|
75
75
|
- For Ruby gem, update `Gemfile` and point the `shakapacker` to the locally developing Shakapacker project:
|
|
76
76
|
```ruby
|
data/Gemfile.lock
CHANGED
|
@@ -300,15 +300,13 @@ module Shakapacker
|
|
|
300
300
|
def remove_dependencies(deps)
|
|
301
301
|
package_json = get_package_json
|
|
302
302
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
end
|
|
307
|
-
end
|
|
303
|
+
# Combine dev and prod dependencies into a single list for removal
|
|
304
|
+
# Package managers remove packages from both dependencies and devDependencies sections if present
|
|
305
|
+
all_deps = deps[:dev] + deps[:prod]
|
|
308
306
|
|
|
309
|
-
unless
|
|
310
|
-
unless package_json.manager.remove(
|
|
311
|
-
puts " ⚠️ Warning: Failed to uninstall some
|
|
307
|
+
unless all_deps.empty?
|
|
308
|
+
unless package_json.manager.remove(all_deps)
|
|
309
|
+
puts " ⚠️ Warning: Failed to uninstall some dependencies"
|
|
312
310
|
end
|
|
313
311
|
end
|
|
314
312
|
end
|
data/lib/shakapacker/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: 9.3.
|
|
4
|
+
version: 9.3.4.beta.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
@@ -389,7 +389,7 @@ homepage: https://github.com/shakacode/shakapacker
|
|
|
389
389
|
licenses:
|
|
390
390
|
- MIT
|
|
391
391
|
metadata:
|
|
392
|
-
source_code_uri: https://github.com/shakacode/shakapacker/tree/v9.3.
|
|
392
|
+
source_code_uri: https://github.com/shakacode/shakapacker/tree/v9.3.4.beta.0
|
|
393
393
|
rdoc_options: []
|
|
394
394
|
require_paths:
|
|
395
395
|
- lib
|