Skip to content

Commit

Permalink
Fix NPM versions for @hotwired/stimulus and @rails/actioncable
Browse files Browse the repository at this point in the history
The previous version ranges were failing on Yarn 2+ with:

YN0001: │ Error: @rails/actioncable@>= 6.0, < 8 isn't supported by any available resolver

YN0001: │ Error: @hotwired/stimulus@>= 3.0, < 4 isn't supported by any available resolver
  • Loading branch information
marcoroth committed Mar 15, 2023
1 parent 754beae commit 08881c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
"@hotwired/stimulus": ">= 3.0"
},
"dependencies": {
"@hotwired/stimulus": ">= 3.0, < 4",
"@rails/actioncable": ">= 6.0, < 8",
"@hotwired/stimulus": "^3",
"@rails/actioncable": "^6 || ^7",
"cable_ready": "5.0.0-pre10"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@
resolved "https://registry.yarnpkg.com/@glimmer/util/-/util-0.41.4.tgz#508fd82ca40305416e130f0da7b537295ded7989"
integrity sha512-DwS94K+M0vtG+cymxH0rslJr09qpdjyOLdCjmpKcG/nNiZQfMA1ybAaFEmwk9UaVlUG9STENFeQwyrLevJB+7g==

"@hotwired/stimulus@>= 3.0, < 4":
"@hotwired/stimulus@^3":
version "3.2.1"
resolved "https://registry.yarnpkg.com/@hotwired/stimulus/-/stimulus-3.2.1.tgz#e3de23623b0c52c247aba4cd5d530d257008676b"
integrity sha512-HGlzDcf9vv/EQrMJ5ZG6VWNs8Z/xMN+1o2OhV1gKiSG6CqZt5MCBB1gRg5ILiN3U0jEAxuDTNPRfBcnZBDmupQ==
Expand Down Expand Up @@ -487,7 +487,7 @@
"@types/sinon-chai" "^3.2.3"
chai-a11y-axe "^1.3.2"

"@rails/actioncable@>= 6.0, < 8":
"@rails/actioncable@^6 || ^7":
version "7.0.4"
resolved "https://registry.yarnpkg.com/@rails/actioncable/-/actioncable-7.0.4.tgz#70a3ca56809f7aaabb80af2f9c01ae51e1a8ed41"
integrity sha512-tz4oM+Zn9CYsvtyicsa/AwzKZKL+ITHWkhiu7x+xF77clh2b4Rm+s6xnOgY/sGDWoFWZmtKsE95hxBPkgQQNnQ==
Expand Down

0 comments on commit 08881c8

Please sign in to comment.