From d61f4aa549eb6cf1cf5eb4c09061d210fbd00cae Mon Sep 17 00:00:00 2001 From: Manuel Carrera Date: Tue, 22 Oct 2024 08:53:15 -0600 Subject: [PATCH] fix: Add codemod to main index file to export (#2996) Fixes: https://github.com/Workday/canvas-kit/issues/2995 [category:Codemod] Co-authored-by: manuel.carrera --- modules/codemod/index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/codemod/index.js b/modules/codemod/index.js index f52a5ab1d6..09010d36e9 100755 --- a/modules/codemod/index.js +++ b/modules/codemod/index.js @@ -74,6 +74,13 @@ const { describe: chalk.gray('The path to execute the transform in (recursively).'), }); }) + .command('v12 [path]', chalk.gray('Canvas Kit v11 > v12 upgrade transform'), yargs => { + yargs.positional('path', { + type: 'string', + default: '.', + describe: chalk.gray('The path to execute the transform in (recursively).'), + }); + }) .demandCommand(1, chalk.red.bold('You must provide a transform to apply.')) .strictCommands() .fail((msg, err, yargs) => {