Skip to content

Commit

Permalink
Document the new npm package names in the upgrade guide
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
rmacklin committed Sep 4, 2019
1 parent 6d68bb5 commit 0a7ce46
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions guides/source/upgrading_ruby_on_rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,17 @@ If you require your cookies to be read by Rails 5.2 and older, or you are still
to be able to rollback set
`Rails.application.config.action_dispatch.use_cookies_with_metadata` to `false`.

### All npm packages have been moved to the `@rails` scope

If you were previously loading any of the `actioncable`, `activestorage`,
or `rails-ujs` packages through npm/yarn, you must update the names of these
dependencies before you can upgrade them to `6.0.0`:
```
actioncable → @rails/actioncable
activestorage → @rails/activestorage
rails-ujs → @rails/ujs
```

### Action Cable JavaScript API Changes

The Action Cable JavaScript package has been converted from CoffeeScript
Expand Down

0 comments on commit 0a7ce46

Please sign in to comment.