@nuxt/docs-nightly 4.1.0-29278578.7c5efacf → 4.1.0-29278670.a74035ee

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -177,6 +177,23 @@ export default defineNuxtModule({
177
177
  defaults: {},
178
178
  // Shorthand sugar to register Nuxt hooks
179
179
  hooks: {},
180
+ // Configuration for other modules - this does not ensure the module runs before
181
+ // your module, but it allows you to change the other module's configuration before it runs
182
+ moduleDependencies: {
183
+ 'some-module': {
184
+ // You can specify a version constraint for the module. If the user has a different
185
+ // version installed, Nuxt will throw an error on startup.
186
+ version: '>=2',
187
+ // By default moduleDependencies will be added to the list of modules to be installed
188
+ // by Nuxt unless `optional` is set.
189
+ optional: true,
190
+ // Any configuration that should override `nuxt.options`.
191
+ overrides: {},
192
+ // Any configuration that should be set. It will override module defaults but
193
+ // will not override any configuration set in `nuxt.options`.
194
+ defaults: {}
195
+ }
196
+ },
180
197
  // The function holding your module logic, it can be asynchronous
181
198
  setup(moduleOptions, nuxt) {
182
199
  // ...
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/docs-nightly",
3
- "version": "4.1.0-29278578.7c5efacf",
3
+ "version": "4.1.0-29278670.a74035ee",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",