From dad26af778e06fbdfd8588e928e2ba51450506d6 Mon Sep 17 00:00:00 2001 From: Chris Thielen Date: Sun, 23 Apr 2017 12:26:19 -0700 Subject: [PATCH] chore(migrate): Print blog post link when warning about package migration --- migrate/migratewarn.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/migrate/migratewarn.js b/migrate/migratewarn.js index 60e85ae53..8a19fc387 100755 --- a/migrate/migratewarn.js +++ b/migrate/migratewarn.js @@ -6,5 +6,7 @@ var migrate = require('./migrate.json'); if (pkg.name === migrate.old) { var warning = 'WARNING! this npm package "' + migrate.old + '" has moved to "' + migrate.new + '". Please update your package.json'; + var warning2 = 'WARNING! See https://ui-router.github.io/blog/uirouter-scoped-packages/ for details';; console.log("\x1b[1m\x1b[37m\x1b[41m%s\x1b[0m", warning); + console.log("\x1b[1m\x1b[37m\x1b[41m%s\x1b[0m", warning2); }