Skip to content

Commit

Permalink
chore: indicate compatibility with new v4 major (#645)
Browse files Browse the repository at this point in the history
With Nuxt 4 on the horizon, this updates the module compatibility
definition to allow it to be installed on Nuxt v4. (Otherwise Nuxt will
indicate the module might not be compatible.)

When Nuxt v4 comes out then you might decide or need to make breaking
changes in this module and release a new major, but hopefully the
migration should be smoother. 🙏

👉 You can follow this and other changes in
nuxt/nuxt#27613 - please feel free to provide
feedback as well!
  • Loading branch information
danielroe committed Jun 15, 2024
1 parent 5b39570 commit c40a4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default defineNuxtModule<ModuleOptions>({
name: '@nuxtjs/storybook',
configKey: 'storybook',
compatibility: {
nuxt: '^3.0.0',
nuxt: '>=3.0.0',
},
},
defaults: (nuxt) => ({
Expand Down

0 comments on commit c40a4dd

Please sign in to comment.