Skip to content

Commit

Permalink
chore(project): update the postinstall messages for deprecated packag…
Browse files Browse the repository at this point in the history
…es (#17962)

Co-authored-by: Preeti Bansal <[email protected]>
  • Loading branch information
tay1orjones and preetibansalui authored Nov 5, 2024
1 parent c9c20be commit 4ab57c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
10 changes: 3 additions & 7 deletions packages/carbon-components-react/scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@ const chalk = require('chalk');

console.warn(
chalk.yellow('Warning: ') +
'the ' +
chalk.cyan('carbon-components-react') +
" will soon be deprecated and no longer receive updates. We recommend to move to it's replacement, " +
chalk.cyan('@carbon/react') +
' at your earliest convenience. Please visit ' +
chalk.dim.underline.italic(
'https://github.com/carbon-design-system/carbon/discussions/12179'
) +
' for more information on the package strategy, deprecation, and plan of action.'
' package is no longer supported. More info at ' +
chalk.dim.underline.italic('https://carbondesignsystem.com/deprecations/')
);
10 changes: 3 additions & 7 deletions packages/carbon-components/scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@ const chalk = require('chalk');

console.warn(
chalk.yellow('Warning: ') +
'the ' +
chalk.cyan('carbon-components') +
" will soon be deprecated and no longer receive updates. We recommend to move to it's replacement, " +
chalk.cyan('@carbon/styles') +
' at your earliest convenience. Please visit ' +
chalk.dim.underline.italic(
'https://github.com/carbon-design-system/carbon/discussions/12179'
) +
' for more information on the package strategy, deprecation, and plan of action.'
' package is no longer supported. More info at ' +
chalk.dim.underline.italic('https://carbondesignsystem.com/deprecations/')
);

0 comments on commit 4ab57c9

Please sign in to comment.