From 0a7ce46d2c6c0df10972de6c1aa79efc295e5245 Mon Sep 17 00:00:00 2001 From: Richard Macklin Date: Wed, 4 Sep 2019 16:46:07 +0200 Subject: [PATCH] Document the new npm package names in the upgrade guide [ci skip] --- guides/source/upgrading_ruby_on_rails.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index 4d82f63ee77d4..926e2cf7d67e6 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -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