usemods-nuxt 1.8.0 → 1.9.0

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.
package/dist/module.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "usemods-nuxt",
3
3
  "configKey": "usemods",
4
- "version": "1.8.0",
4
+ "compatibility": {
5
+ "nuxt": "^3.0.0"
6
+ },
7
+ "version": "1.9.0",
5
8
  "builder": {
6
- "@nuxt/module-builder": "0.7.1",
9
+ "@nuxt/module-builder": "0.8.4",
7
10
  "unbuild": "2.0.0"
8
11
  }
9
12
  }
package/dist/module.mjs CHANGED
@@ -4,7 +4,10 @@ import * as utils from 'usemods';
4
4
  const module = defineNuxtModule({
5
5
  meta: {
6
6
  name: "usemods-nuxt",
7
- configKey: "usemods"
7
+ configKey: "usemods",
8
+ compatibility: {
9
+ nuxt: "^3.0.0"
10
+ }
8
11
  },
9
12
  // Default configuration options of the Nuxt module
10
13
  defaults: {
package/dist/types.d.mts CHANGED
@@ -1,17 +1 @@
1
-
2
- import type { ModuleOptions } from './module.js'
3
-
4
-
5
-
6
- declare module '@nuxt/schema' {
7
- interface NuxtConfig { ['usemods']?: Partial<ModuleOptions> }
8
- interface NuxtOptions { ['usemods']?: ModuleOptions }
9
- }
10
-
11
- declare module 'nuxt/schema' {
12
- interface NuxtConfig { ['usemods']?: Partial<ModuleOptions> }
13
- interface NuxtOptions { ['usemods']?: ModuleOptions }
14
- }
15
-
16
-
17
- export type { ModuleOptions, default } from './module.js'
1
+ export { type ModuleOptions, default } from './module.js'
package/dist/types.d.ts CHANGED
@@ -1,17 +1 @@
1
-
2
- import type { ModuleOptions } from './module'
3
-
4
-
5
-
6
- declare module '@nuxt/schema' {
7
- interface NuxtConfig { ['usemods']?: Partial<ModuleOptions> }
8
- interface NuxtOptions { ['usemods']?: ModuleOptions }
9
- }
10
-
11
- declare module 'nuxt/schema' {
12
- interface NuxtConfig { ['usemods']?: Partial<ModuleOptions> }
13
- interface NuxtOptions { ['usemods']?: ModuleOptions }
14
- }
15
-
16
-
17
- export type { ModuleOptions, default } from './module'
1
+ export { type ModuleOptions, default } from './module'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "usemods-nuxt",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "Zippy little modifiers and utilities for your Nuxt app.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,21 +31,21 @@
31
31
  "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
32
32
  },
33
33
  "dependencies": {
34
- "@nuxt/kit": "^3.12.1",
35
- "usemods": "1.8.0"
34
+ "@nuxt/kit": "^3.15.3",
35
+ "usemods": "1.9.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@nuxt/devtools": "^1.3.3",
39
- "@nuxt/eslint-config": "^0.3.13",
40
- "@nuxt/module-builder": "^0.7.1",
41
- "@nuxt/schema": "^3.12.1",
42
- "@nuxt/test-utils": "^3.14.2",
43
- "@types/node": "^20.14.2",
44
- "changelogen": "^0.5.5",
45
- "eslint": "^9.5.0",
46
- "nuxt": "^3.12.1",
47
- "typescript": "^5.4.5",
48
- "vitest": "^1.6.0",
49
- "vue-tsc": "^2.0.21"
38
+ "@nuxt/devtools": "^1.7.0",
39
+ "@nuxt/eslint-config": "^0.7.5",
40
+ "@nuxt/module-builder": "^0.8.4",
41
+ "@nuxt/schema": "^3.15.3",
42
+ "@nuxt/test-utils": "^3.15.4",
43
+ "@types/node": "^22.10.7",
44
+ "changelogen": "^0.5.7",
45
+ "eslint": "^9.18.0",
46
+ "nuxt": "^3.15.3",
47
+ "typescript": "^5.7.3",
48
+ "vitest": "^3.0.2",
49
+ "vue-tsc": "^2.2.0"
50
50
  }
51
51
  }