Skip to content

Commit

Permalink
updating to storybook 8.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle committed Jun 10, 2024
1 parent d15cf06 commit 2fecebf
Show file tree
Hide file tree
Showing 12 changed files with 2,685 additions and 3,607 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ lint-fix:
pnpm run lint:fix

# how to use pnpm to upgrade storybook
# storybook@latest upgrade --package-manager pnpm
# npx storybook@latest upgrade --package-manager pnpm
# TODO: Below helper commands not running as expected change dir first, then pnpm dlx...
# ## HTML: update Storybook
# html-storybook-update:
Expand Down
22 changes: 11 additions & 11 deletions apps/html-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,24 @@
"@percy/cli": "^1.28.6",
"@percy/storybook": "^6.0.0",
"@rushstack/eslint-patch": "^1.2.0",
"@storybook/addon-a11y": "^8.1.4",
"@storybook/addon-docs": "^8.1.4",
"@storybook/addon-essentials": "^8.1.4",
"@storybook/addon-links": "^8.1.4",
"@storybook/addon-viewport": "^8.1.4",
"@storybook/html": "^8.1.4",
"@storybook/html-vite": "^8.1.4",
"@storybook/manager-api": "^8.1.4",
"@storybook/preview-api": "^8.1.4",
"@storybook/theming": "^8.1.4",
"@storybook/addon-a11y": "^8.1.6",
"@storybook/addon-docs": "^8.1.6",
"@storybook/addon-essentials": "^8.1.6",
"@storybook/addon-links": "^8.1.6",
"@storybook/addon-viewport": "^8.1.6",
"@storybook/html": "^8.1.6",
"@storybook/html-vite": "^8.1.6",
"@storybook/manager-api": "^8.1.6",
"@storybook/preview-api": "^8.1.6",
"@storybook/theming": "^8.1.6",
"@whitespace/storybook-addon-html": "^6.1.1",
"autoprefixer": "^10.4.19",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.38",
"postcss-import": "^16.1.0",
"remark-gfm": "^4.0.0",
"rimraf": "^5.0.5",
"storybook": "^8.1.4",
"storybook": "^8.1.6",
"tailwindcss": "^3.4.3",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
Expand Down
12 changes: 6 additions & 6 deletions apps/vue-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"@explorer-1/tsconfig": "workspace:*",
"@explorer-1/vue": "workspace:*",
"@rushstack/eslint-patch": "^1.2.0",
"@storybook/addon-a11y": "^8.1.4",
"@storybook/addon-essentials": "^8.1.4",
"@storybook/blocks": "^8.1.4",
"@storybook/vue3": "^8.1.4",
"@storybook/vue3-vite": "^8.1.4",
"@storybook/addon-a11y": "^8.1.6",
"@storybook/addon-essentials": "^8.1.6",
"@storybook/blocks": "^8.1.6",
"@storybook/vue3": "^8.1.6",
"@storybook/vue3-vite": "^8.1.6",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/eslint-config-prettier": "^7.1.0",
"@whitespace/storybook-addon-html": "^6.1.1",
Expand All @@ -44,7 +44,7 @@
"postcss": "^8.4.38",
"postcss-import": "^16.1.0",
"rimraf": "^5.0.5",
"storybook": "^8.1.4",
"storybook": "^8.1.6",
"storybook-addon-vue-slots": "^0.9.29",
"tailwindcss": "^3.4.3",
"ts-node": "^10.9.2",
Expand Down
3 changes: 2 additions & 1 deletion packages/nuxt/dist/module.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const module = defineNuxtModule({
const runtimeDir = resolver.resolve("./runtime");
const pluginDir = resolver.resolve("./runtime/plugins");
addPlugin(resolver.resolve(pluginDir, "dayjs"));
addPlugin(resolver.resolve(pluginDir, "click-outside"));
addPlugin(resolver.resolve(pluginDir, "filters"));
addPlugin(resolver.resolve(pluginDir, "vue-click-outside"));
if (_options.includeStyles) {
await installModule("@nuxtjs/tailwindcss", {
configPath: resolver.resolve(runtimeDir, "tailwind.config")
Expand Down Expand Up @@ -46,6 +46,7 @@ const module = defineNuxtModule({
// make sure to externalize deps that shouldn't be bundled
// into your library
external: [
// './../node_modules/vue3-compare-image',
"./../node_modules/vue",
"./../node_modules/swiper",
"./../node_modules/@fancyapps/ui",
Expand Down
3 changes: 1 addition & 2 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
"dayjs": "^1.11.11",
"lodash": "^4.17.21",
"qs": "^6.12.1",
"swiper": "^11.1.3",
"vue3-compare-image": "^1.2.5"
"swiper": "^11.1.3"
},
"devDependencies": {
"@explorer-1/common": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/nuxt/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export default defineNuxtModule<ModuleOptions>({
// add plugins
// Do not add the extension since the `.ts` will be transpiled to `.mjs` after `npm run prepack`
addPlugin(resolver.resolve(pluginDir, 'dayjs'))
addPlugin(resolver.resolve(pluginDir, 'click-outside'))
addPlugin(resolver.resolve(pluginDir, 'filters'))
addPlugin(resolver.resolve(pluginDir, 'vue-click-outside'))

if (_options.includeStyles) {
await installModule('@nuxtjs/tailwindcss', {
Expand Down Expand Up @@ -71,6 +71,7 @@ export default defineNuxtModule<ModuleOptions>({
// make sure to externalize deps that shouldn't be bundled
// into your library
external: [
// './../node_modules/vue3-compare-image',
'./../node_modules/vue',
'./../node_modules/swiper',
'./../node_modules/@fancyapps/ui',
Expand Down
1 change: 1 addition & 0 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"dayjs": "^1.11.11",
"lodash": "^4.17.21",
"qs": "^6.12.1",
"sass": "^1.77.4",
"swiper": "^11.1.3",
"tailwindcss": "^3.4.3",
"twitter-widgets": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/vue/src/components/BlockListCards/BlockListCards.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
>
<!-- When exactly one link, use primary link variant -->
<template
v-for="(link, index_link) in item.links"
:key="index_link"
v-for="(link, _index_link) in item.links"
:key="_index_link"
>
<BaseLink
variant="primary"
Expand Down
Loading

0 comments on commit 2fecebf

Please sign in to comment.