@nuxt/kit-nightly 4.0.0-29077680.05abdf14 → 4.0.0-29077769.ddba5d04

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.
Files changed (2) hide show
  1. package/dist/index.mjs +8 -2
  2. package/package.json +5 -5
package/dist/index.mjs CHANGED
@@ -173,8 +173,14 @@ function _defineNuxtModule(definition) {
173
173
  if (module.meta.compatibility) {
174
174
  const issues = await checkNuxtCompatibility(module.meta.compatibility, nuxt);
175
175
  if (issues.length) {
176
- logger.warn(`Module \`${module.meta.name}\` is disabled due to incompatibility issues:
177
- ${issues.toString()}`);
176
+ const errorMessage = `Module \`${module.meta.name}\` is disabled due to incompatibility issues:
177
+ ${issues.toString()}`;
178
+ if (nuxt.options.experimental.enforceModuleCompatibility) {
179
+ const error = new Error(errorMessage);
180
+ error.name = "ModuleCompatibilityError";
181
+ throw error;
182
+ }
183
+ logger.warn(errorMessage);
178
184
  return;
179
185
  }
180
186
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/kit-nightly",
3
- "version": "4.0.0-29077680.05abdf14",
3
+ "version": "4.0.0-29077769.ddba5d04",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -46,14 +46,14 @@
46
46
  "untyped": "^2.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.0.0-29077680.05abdf14",
50
- "@rspack/core": "1.3.3",
49
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.0.0-29077769.ddba5d04",
50
+ "@rspack/core": "1.3.4",
51
51
  "@types/semver": "7.7.0",
52
- "nitro": "npm:nitro-nightly@3.0.0-20250404-081807.9f0c8e3c",
52
+ "nitro": "npm:nitro-nightly@3.0.0-20250411-094421.5736f5be",
53
53
  "unbuild": "3.5.0",
54
54
  "vite": "6.2.6",
55
55
  "vitest": "3.1.1",
56
- "webpack": "5.99.3"
56
+ "webpack": "5.99.5"
57
57
  },
58
58
  "engines": {
59
59
  "node": ">=18.12.0"