Skip to content

Commit

Permalink
chore: update storybook to v8
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed May 2, 2024
1 parent 57eac82 commit 6711a44
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type {StorybookConfig} from "@storybook/vue3-vite";

const config: StorybookConfig = {
stories: [
"../doc/**/*.stories.mdx",
"../doc/**/*.mdx",
{
directory: "../docs/.vitepress/theme/atoms",
titlePrefix: "Atoms"
Expand All @@ -29,7 +29,8 @@ const config: StorybookConfig = {
options: {
mocksFolder: "__mocks__"
}
}
},
"@chromatic-com/storybook"
],
framework: {
name: "@storybook/vue3-vite",
Expand Down
1 change: 0 additions & 1 deletion .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import "../docs/.vitepress/theme/style.css";

const preview: Preview = {
parameters: {
actions: {argTypesRegex: "^on[A-Z].*"},
controls: {
matchers: {
color: /(background|color)$/i,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@vueuse/core": "^10.9.0"
},
"devDependencies": {
"@chromatic-com/storybook": "^1",
"@commitlint/cli": "19.0.3",
"@commitlint/config-conventional": "19.0.3",
"@storybook/addon-a11y": "^7.6.19",
Expand Down
60 changes: 59 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1650,10 +1650,24 @@ __metadata:
languageName: node
linkType: hard

"@chromatic-com/storybook@npm:^1":
version: 1.3.3
resolution: "@chromatic-com/storybook@npm:1.3.3"
dependencies:
chromatic: "npm:^11.3.0"
filesize: "npm:^10.0.12"
jsonfile: "npm:^6.1.0"
react-confetti: "npm:^6.1.0"
strip-ansi: "npm:^7.1.0"
checksum: 10c0/7667b76f693132ca184a5abd97d8922e5017f398c6f51ea83ed89d751d1ec70df508704624981ce020d87722af660d55d473bc4bc6fa386563bacf869518a9d8
languageName: node
linkType: hard

"@clubmed/root@workspace:.":
version: 0.0.0-use.local
resolution: "@clubmed/root@workspace:."
dependencies:
"@chromatic-com/storybook": "npm:^1"
"@commitlint/cli": "npm:19.0.3"
"@commitlint/config-conventional": "npm:19.0.3"
"@storybook/addon-a11y": "npm:^7.6.19"
Expand Down Expand Up @@ -6944,6 +6958,25 @@ __metadata:
languageName: node
linkType: hard

"chromatic@npm:^11.3.0":
version: 11.3.0
resolution: "chromatic@npm:11.3.0"
peerDependencies:
"@chromatic-com/cypress": ^0.*.* || ^1.0.0
"@chromatic-com/playwright": ^0.*.* || ^1.0.0
peerDependenciesMeta:
"@chromatic-com/cypress":
optional: true
"@chromatic-com/playwright":
optional: true
bin:
chroma: dist/bin.js
chromatic: dist/bin.js
chromatic-cli: dist/bin.js
checksum: 10c0/e977ef43a43ebb0250ec8fc46f5751c8cb9b798f75fcf9ec52485c1127caf9d6cef0346a9dd1660a8967faf1a7cde579571a0ac130cfaf475d6f22e4929003b6
languageName: node
linkType: hard

"ci-info@npm:^3.2.0":
version: 3.9.0
resolution: "ci-info@npm:3.9.0"
Expand Down Expand Up @@ -8713,6 +8746,13 @@ __metadata:
languageName: node
linkType: hard

"filesize@npm:^10.0.12":
version: 10.1.1
resolution: "filesize@npm:10.1.1"
checksum: 10c0/440f873dbf39fb934041cbc2cb6cc9425b0aae6faf465e1c84facaf4120e80638b779890f07a1ca76f47ddc7fba3e328498b4869454fb6e067777e806b9a4755
languageName: node
linkType: hard

"fill-range@npm:^7.0.1":
version: 7.0.1
resolution: "fill-range@npm:7.0.1"
Expand Down Expand Up @@ -10433,7 +10473,7 @@ __metadata:
languageName: node
linkType: hard

"jsonfile@npm:^6.0.1":
"jsonfile@npm:^6.0.1, jsonfile@npm:^6.1.0":
version: 6.1.0
resolution: "jsonfile@npm:6.1.0"
dependencies:
Expand Down Expand Up @@ -12896,6 +12936,17 @@ __metadata:
languageName: node
linkType: hard

"react-confetti@npm:^6.1.0":
version: 6.1.0
resolution: "react-confetti@npm:6.1.0"
dependencies:
tween-functions: "npm:^1.2.0"
peerDependencies:
react: ^16.3.0 || ^17.0.1 || ^18.0.0
checksum: 10c0/5b4eb23eef564695f6db1d25b294ed31d5fa21ff4092c6a38e641f85cd10e3e0b50014366e3ac0f7cf772e73faaecd14614e5b11a5531336fa769dda8068ab59
languageName: node
linkType: hard

"react-dom@npm:^18.2.0":
version: 18.2.0
resolution: "react-dom@npm:18.2.0"
Expand Down Expand Up @@ -14550,6 +14601,13 @@ __metadata:
languageName: node
linkType: hard

"tween-functions@npm:^1.2.0":
version: 1.2.0
resolution: "tween-functions@npm:1.2.0"
checksum: 10c0/7e59295b8b0ee4132ed2fe335f56a9db5c87056dad6b6fd3011be72239fd20398003ddb4403bc98ad9f5c94468890830f64016edbbde35581faf95b32cda8305
languageName: node
linkType: hard

"type-check@npm:^0.4.0, type-check@npm:~0.4.0":
version: 0.4.0
resolution: "type-check@npm:0.4.0"
Expand Down

0 comments on commit 6711a44

Please sign in to comment.