chromaui / storybook-addon-pseudo-states

CSS pseudo-classes for Storybook
MIT License
88 stars 28 forks source link

Bumped dependencies #95

Closed work933k closed 1 week ago

work933k commented 10 months ago

In this PR i bumped most of the dependencies to their latest versions. This PR does should not have breaking-changes.

I was unable to upgrade "concurrently" and "jest" as then the following error would be introduced:

$ jest src
Error [ERR_REQUIRE_ESM]: require() of ES Module /workspaces/storybook-addon-pseudo-states/node_modules/string-width/index.js from /workspaces/storybook-addon-pseudo-states/node_modules/cliui/build/index.cjs not supported.
Instead change the require of index.js in /workspaces/storybook-addon-pseudo-states/node_modules/cliui/build/index.cjs to a dynamic import() which is available in all CommonJS modules.
    at Object.<anonymous> (/workspaces/storybook-addon-pseudo-states/node_modules/cliui/build/index.cjs:291:21)
    at Object.<anonymous> (/workspaces/storybook-addon-pseudo-states/node_modules/yargs/build/index.cjs:2861:12)
    at Object.<anonymous> (/workspaces/storybook-addon-pseudo-states/node_modules/yargs/index.cjs:5:30)
    at _yargs (/workspaces/storybook-addon-pseudo-states/node_modules/jest-cli/build/cli/index.js:40:39)
    at buildArgv (/workspaces/storybook-addon-pseudo-states/node_modules/jest-cli/build/cli/index.js:177:20)
    at Object.run (/workspaces/storybook-addon-pseudo-states/node_modules/jest-cli/build/cli/index.js:147:18)
    at Object.<anonymous> (/workspaces/storybook-addon-pseudo-states/node_modules/jest-cli/bin/jest.js:16:17)
    at Object.<anonymous> (/workspaces/storybook-addon-pseudo-states/node_modules/jest/bin/jest.js:12:3)
error Command failed with exit code 1.
ghengeveld commented 1 week ago

Closing in favor of https://github.com/chromaui/storybook-addon-pseudo-states/pull/124