From a4a6050b860777965199ed5a908d35b2588c45cb Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 27 Sep 2020 15:54:52 -0400 Subject: [PATCH] spelling: builtin Signed-off-by: Josh Soref --- lib/cli/src/generators/UPDATE_PACKAGE_ORGANIZATIONS/index.ts | 2 +- .../default.input.js | 0 .../default.output.snapshot | 2 +- .../with-no-change.input.js | 0 .../with-no-change.output.snapshot | 2 +- .../{move-buildin-addons.js => move-builtin-addons.js} | 0 6 files changed, 3 insertions(+), 3 deletions(-) rename lib/codemod/src/transforms/__testfixtures__/{move-buildin-addons => move-builtin-addons}/default.input.js (100%) rename lib/codemod/src/transforms/__testfixtures__/{move-buildin-addons => move-builtin-addons}/default.output.snapshot (78%) rename lib/codemod/src/transforms/__testfixtures__/{move-buildin-addons => move-builtin-addons}/with-no-change.input.js (100%) rename lib/codemod/src/transforms/__testfixtures__/{move-buildin-addons => move-builtin-addons}/with-no-change.output.snapshot (75%) rename lib/codemod/src/transforms/{move-buildin-addons.js => move-builtin-addons.js} (100%) diff --git a/lib/cli/src/generators/UPDATE_PACKAGE_ORGANIZATIONS/index.ts b/lib/cli/src/generators/UPDATE_PACKAGE_ORGANIZATIONS/index.ts index 0bd448f3f2f..a78e467e8f5 100644 --- a/lib/cli/src/generators/UPDATE_PACKAGE_ORGANIZATIONS/index.ts +++ b/lib/cli/src/generators/UPDATE_PACKAGE_ORGANIZATIONS/index.ts @@ -54,7 +54,7 @@ function updateSourceCode(parser: string) { const jscodeshiftPath = path.dirname(require.resolve('jscodeshift')); const jscodeshiftCommand = path.join(jscodeshiftPath, 'bin', 'jscodeshift.sh'); - ['update-organisation-name.js', 'move-buildin-addons.js'].forEach((codemod) => { + ['update-organisation-name.js', 'move-builtin-addons.js'].forEach((codemod) => { const codemodPath = path.join( path.dirname(require.resolve('@storybook/codemod')), 'transforms', diff --git a/lib/codemod/src/transforms/__testfixtures__/move-buildin-addons/default.input.js b/lib/codemod/src/transforms/__testfixtures__/move-builtin-addons/default.input.js similarity index 100% rename from lib/codemod/src/transforms/__testfixtures__/move-buildin-addons/default.input.js rename to lib/codemod/src/transforms/__testfixtures__/move-builtin-addons/default.input.js diff --git a/lib/codemod/src/transforms/__testfixtures__/move-buildin-addons/default.output.snapshot b/lib/codemod/src/transforms/__testfixtures__/move-builtin-addons/default.output.snapshot similarity index 78% rename from lib/codemod/src/transforms/__testfixtures__/move-buildin-addons/default.output.snapshot rename to lib/codemod/src/transforms/__testfixtures__/move-builtin-addons/default.output.snapshot index 3e4d1faec48..37a0805dcd1 100644 --- a/lib/codemod/src/transforms/__testfixtures__/move-buildin-addons/default.output.snapshot +++ b/lib/codemod/src/transforms/__testfixtures__/move-builtin-addons/default.output.snapshot @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`move-buildin-addons transforms correctly using "default.input.js" data 1`] = ` +exports[`move-builtin-addons transforms correctly using "default.input.js" data 1`] = ` "/* eslint-disable */ import { storyOf } from '@storybook/react'; import { linkTo } from '@storybook/addon-links'; diff --git a/lib/codemod/src/transforms/__testfixtures__/move-buildin-addons/with-no-change.input.js b/lib/codemod/src/transforms/__testfixtures__/move-builtin-addons/with-no-change.input.js similarity index 100% rename from lib/codemod/src/transforms/__testfixtures__/move-buildin-addons/with-no-change.input.js rename to lib/codemod/src/transforms/__testfixtures__/move-builtin-addons/with-no-change.input.js diff --git a/lib/codemod/src/transforms/__testfixtures__/move-buildin-addons/with-no-change.output.snapshot b/lib/codemod/src/transforms/__testfixtures__/move-builtin-addons/with-no-change.output.snapshot similarity index 75% rename from lib/codemod/src/transforms/__testfixtures__/move-buildin-addons/with-no-change.output.snapshot rename to lib/codemod/src/transforms/__testfixtures__/move-builtin-addons/with-no-change.output.snapshot index eef34d05c50..3966fe70fb0 100644 --- a/lib/codemod/src/transforms/__testfixtures__/move-buildin-addons/with-no-change.output.snapshot +++ b/lib/codemod/src/transforms/__testfixtures__/move-builtin-addons/with-no-change.output.snapshot @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`move-buildin-addons transforms correctly using "with-no-change.input.js" data 1`] = ` +exports[`move-builtin-addons transforms correctly using "with-no-change.input.js" data 1`] = ` "/* eslint-disable */ import { action } from '@kadira/storybook-addons'; import { storyOf } from '@storybook/react';" diff --git a/lib/codemod/src/transforms/move-buildin-addons.js b/lib/codemod/src/transforms/move-builtin-addons.js similarity index 100% rename from lib/codemod/src/transforms/move-buildin-addons.js rename to lib/codemod/src/transforms/move-builtin-addons.js