nuxt-content-assets 1.5.1 → 1.5.2

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.d.mts CHANGED
@@ -1,3 +1,29 @@
1
- declare const _default: any;
1
+ import * as _nuxt_schema from '@nuxt/schema';
2
+
3
+ interface ModuleOptions {
4
+ /**
5
+ * Image size hints
6
+ *
7
+ * @example 'attrs style url'
8
+ * @default 'style'
9
+ */
10
+ imageSize?: string | string[] | false;
11
+ /**
12
+ * List of content extensions; anything else as an asset
13
+ *
14
+ * @example 'md'
15
+ * @default 'md csv ya?ml json'
16
+ */
17
+ contentExtensions?: string | string[];
18
+ /**
19
+ * Display debug messages
20
+ *
21
+ * @example true
22
+ * @default false
23
+ */
24
+ debug?: boolean;
25
+ }
26
+
27
+ declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
2
28
 
3
29
  export { _default as default };
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.0.0"
6
6
  },
7
- "version": "1.5.1",
7
+ "version": "1.5.2",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-content-assets",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Enable locally-located assets in Nuxt Content",
5
5
  "repository": {
6
6
  "type": "git",
@@ -49,10 +49,11 @@
49
49
  "ws": "^8.19.0"
50
50
  },
51
51
  "peerDependencies": {
52
- "@nuxt/content": "^2.13.0"
52
+ "@nuxt/content": "^2.13.0",
53
+ "nuxt": ">=3.0.0"
53
54
  },
54
55
  "devDependencies": {
55
- "@nuxt/devtools": "^1.7.0",
56
+ "@nuxt/devtools": "latest",
56
57
  "@nuxt/eslint-config": "^0.7.6",
57
58
  "@nuxt/module-builder": "^1.0.2",
58
59
  "@nuxt/schema": "^3.20.2",
@@ -62,7 +63,7 @@
62
63
  "@types/ws": "^8.18.1",
63
64
  "cpy-cli": "^6.0.0",
64
65
  "eslint": "^8.39.2",
65
- "nuxt": "^3.20.2",
66
+ "nuxt": ">=3.0.0",
66
67
  "vitest": "^3.2.4"
67
68
  },
68
69
  "engines": {