But then when I tried to compile using npm run build, I got the following error:
[0] npm run buildBabel exited with code 0
[1] src/utils/getColorControls/index.ts(14,30): error TS2339: Property 'type' does not exist on type 'Control'.
[1] Property 'type' does not exist on type 'false'.
[1] src/utils/getColorControls/index.ts(21,64): error TS2339: Property 'type' does not exist on type 'Control'.
[1] Property 'type' does not exist on type 'false'.
[1] npm run buildTsc exited with code 2
I wish I could get this to work so I could make that pull request, but I'm new to Storybook (and even newer to add-ons), so I'm not sure where to go from here to get the add-on working with Storybook v8.
I am getting the following error when running
npm install storybook-color-picker
in a Storybook v8 project:It looks like the Storybook dependencies need to be upgraded to v8. I attempted to do this on a forked brach so I could make a pull request: https://github.com/johnshopkins/storybook-color-picker/tree/v8-deps
But then when I tried to compile using
npm run build,
I got the following error:I wish I could get this to work so I could make that pull request, but I'm new to Storybook (and even newer to add-ons), so I'm not sure where to go from here to get the add-on working with Storybook v8.