shakapacker 8.0.0.pre.rc.1 → 8.0.0.rc.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec98bf8d86496333c62b85cc9abbb31f44bdfb4844d64c65d7faf1bec76c8003
4
- data.tar.gz: 3b05acd544a8cb23d74c641ee746385260eb5c0708b9af230dc1c813c7c9977c
3
+ metadata.gz: e72a54f983e2119580919efc77ce450a4ffb2f7978732baf3d5867a77ad50bc7
4
+ data.tar.gz: 9ffa35b16d167fde5a0a8dbf68744dd7017461c91f7aedf405e1372d40614aaf
5
5
  SHA512:
6
- metadata.gz: f9174d503f9e8dc6447c124dd236c3b65a66f23b780cea48e46e8921c5c4bcbcc0f5b75165175cd19f8177edce67e6c49128de58631272edcbecf5eb0431a13f
7
- data.tar.gz: 2f8c44e24add0bc1930f2d6dbb58d20f6f5f82efbd0ffdf245b8ce85da4c4fa7c7d9dab07fc6d60f6709265b4e2ed23e0194040d8cba6c60cd62ef92e4e16d8e
6
+ metadata.gz: 69fcfa1c1d2cf18918faff7db4c1a9a116a887425629ec4f69e8dc162a4008e99661b058af8e88ae7560b9c684b9494ef047072162e600a00136d0740721767a
7
+ data.tar.gz: 81448d6f15ccc851c0c56cf6d7be04b205e02c87dcb489d3ab25a5db7886f999949508c907d10d08e13d732a9c0ec35179ab9cf375af74fe3cefebc4abd2f8c6
data/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@ _next_ branch is for v8 changes
10
10
  ## [Unreleased]
11
11
  Changes since the last non-beta release.
12
12
 
13
+ ### Fixed
14
+
15
+ - Support v9 PNPM lockfiles [PR 472](https://github.com/shakacode/shakapacker/pull/472) by [G-Rath](https://github.com/g-rath).
16
+
17
+ ## [v8.0.0.rc.2] - May 7, 2024
18
+
13
19
  ### Breaking changes
14
20
  - Remove `relative_url_root` [PR 413](https://github.com/shakacode/shakapacker/pull/413) by [G-Rath](https://github.com/g-rath).
15
21
 
@@ -353,7 +359,8 @@ Note: [Rubygem is 6.3.0.pre.rc.1](https://rubygems.org/gems/shakapacker/versions
353
359
  ## v5.4.3 and prior changes from rails/webpacker
354
360
  See [CHANGELOG.md in rails/webpacker (up to v5.4.3)](https://github.com/rails/webpacker/blob/master/CHANGELOG.md)
355
361
 
356
- [Unreleased]: https://github.com/shakacode/shakapacker/compare/v7.2.3...main
362
+ [Unreleased]: https://github.com/shakacode/shakapacker/compare/v8.0.0-rc.2...main
363
+ [v8.0.0.rc.2]: https://github.com/shakacode/shakapacker/compare/v7.2.3...v8.0.0-rc.2
357
364
  [v7.2.3]: https://github.com/shakacode/shakapacker/compare/v7.2.2...v7.2.3
358
365
  [v7.2.2]: https://github.com/shakacode/shakapacker/compare/v7.2.1...v7.2.2
359
366
  [v7.2.1]: https://github.com/shakacode/shakapacker/compare/v7.2.0...v7.2.1
@@ -1,4 +1,4 @@
1
1
  module Shakapacker
2
2
  # Change the version in package.json too, please!
3
- VERSION = "8.0.0-rc.1".freeze
3
+ VERSION = "8.0.0.rc.3".freeze
4
4
  end
@@ -207,8 +207,13 @@ module Shakapacker
207
207
  content = YAML.load_file(@pnpm_lock)
208
208
 
209
209
  content.fetch("packages", {}).each do |key, value|
210
+ # git-based constraints will include a "version" key with their pseudo semantic version
211
+ return value["version"] if key.start_with?("shakapacker") && value.key?("version")
210
212
  return value["version"] if value["name"] == "shakapacker"
211
213
 
214
+ # v9+ uses the same key format just without the leading slash, so we just add one in
215
+ key = "/#{key}" unless key.start_with?("/")
216
+
212
217
  parts = key.split("/")
213
218
 
214
219
  return parts[2] if parts[1] == "shakapacker"
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shakapacker",
3
- "version": "8.0.0-rc.1",
3
+ "version": "8.0.0-rc.3",
4
4
  "description": "Use webpack to manage app-like JavaScript modules in Rails",
5
5
  "homepage": "https://github.com/shakacode/shakapacker",
6
6
  "bugs": {
data/spec/dummy/yarn.lock CHANGED
@@ -4060,7 +4060,7 @@ setprototypeof@1.2.0:
4060
4060
  integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==
4061
4061
 
4062
4062
  "shakapacker@file:.yalc/shakapacker":
4063
- version "7.2.3"
4063
+ version "8.0.0-rc.2"
4064
4064
  dependencies:
4065
4065
  js-yaml "^4.1.0"
4066
4066
  path-complete-extname "^1.0.0"