nuxt-llms 0.1.3 → 0.2.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/README.md CHANGED
@@ -240,7 +240,7 @@ export default defineNuxtConfig({
240
240
  })
241
241
  ```
242
242
 
243
- Checkout the [Nuxt Content documentation](https://content.nuxt.com/docs/usage/content-pages) for more information on how to write your content files.
243
+ Checkout the [Nuxt Content documentation](https://content.nuxt.com/docs/files/markdown) for more information on how to write your content files.
244
244
 
245
245
  And checkout the [Nuxt Content llms documentation](https://content.nuxt.com/docs/advanced/llms) for more information on how to customize LLMs contents with `nuxt-llms` and `@nuxt/content`.
246
246
 
@@ -269,5 +269,5 @@ Copyright (c) NuxtLabs
269
269
  [license-src]: https://img.shields.io/npm/l/nuxt-llms.svg?style=flat&colorA=020420&colorB=00DC82
270
270
  [license-href]: https://npmjs.com/package/nuxt-llms
271
271
 
272
- [nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
272
+ [nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt
273
273
  [nuxt-href]: https://nuxt.com
package/dist/module.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "nuxt-llms",
3
3
  "configKey": "llms",
4
- "version": "0.1.3",
4
+ "version": "0.2.0",
5
5
  "docs": "https://github.com/nuxtlabs/nuxt-llms",
6
6
  "builder": {
7
- "@nuxt/module-builder": "0.8.4",
8
- "unbuild": "2.0.0"
7
+ "@nuxt/module-builder": "1.0.2",
8
+ "unbuild": "3.6.1"
9
9
  }
10
10
  }
package/dist/module.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineNuxtModule, useLogger, createResolver, addServerImports, addServerHandler, addPrerenderRoutes } from '@nuxt/kit';
2
2
 
3
- const version = "0.1.3";
3
+ const version = "0.2.0";
4
4
 
5
- const module = defineNuxtModule({
5
+ const module$1 = defineNuxtModule({
6
6
  meta: {
7
7
  name: "nuxt-llms",
8
8
  configKey: "llms",
@@ -44,4 +44,4 @@ const module = defineNuxtModule({
44
44
  }
45
45
  });
46
46
 
47
- export { module as default };
47
+ export { module$1 as default };
package/dist/types.d.mts CHANGED
@@ -1,7 +1,9 @@
1
1
  import type { NuxtModule } from '@nuxt/schema'
2
2
 
3
- import type { default as Module } from './module.js'
3
+ import type { default as Module } from './module.mjs'
4
4
 
5
5
  export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
6
6
 
7
- export { default } from './module.js'
7
+ export { default } from './module.mjs'
8
+
9
+ export * from '../dist/runtime/types.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-llms",
3
- "version": "0.1.3",
3
+ "version": "0.2.0",
4
4
  "description": "Generate llms.txt documentation for your Nuxt application",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,9 +17,8 @@
17
17
  "type": "module",
18
18
  "exports": {
19
19
  ".": {
20
- "types": "./dist/module.d.ts",
21
- "import": "./dist/module.mjs",
22
- "require": "./dist/module.cjs"
20
+ "types": "./dist/module.d.mts",
21
+ "import": "./dist/module.mjs"
23
22
  },
24
23
  "./runtime": {
25
24
  "types": "./dist/runtime/index.d.ts",
@@ -27,8 +26,8 @@
27
26
  "require": "./dist/runtime/index.js"
28
27
  }
29
28
  },
30
- "main": "./dist/module.cjs",
31
- "types": "./dist/module.d.ts",
29
+ "main": "./dist/module.mjs",
30
+ "types": "./dist/module.d.mts",
32
31
  "files": [
33
32
  "dist"
34
33
  ],
@@ -37,31 +36,32 @@
37
36
  "dev": "nuxi dev playground",
38
37
  "dev:build": "nuxi build playground",
39
38
  "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
40
- "release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
39
+ "release": "npm run lint && npm run test && npm run prepack && release-it",
41
40
  "lint": "eslint .",
42
41
  "typecheck": "nuxi typecheck",
43
42
  "test": "vitest run",
44
43
  "test:watch": "vitest watch",
45
44
  "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
46
- "verify": "npm run dev:prepare && npm run lint && npm run test && npm run typecheck"
45
+ "verify": "npm run dev:prepare && npm run prepack && npm run lint && npm run test && npm run typecheck"
47
46
  },
48
47
  "dependencies": {
49
- "@nuxt/kit": "^3.17.5"
48
+ "@nuxt/kit": "^4.2.2"
50
49
  },
51
50
  "devDependencies": {
52
- "@nuxt/devtools": "^2.5.0",
53
- "@nuxt/eslint-config": "^1.4.1",
54
- "@nuxt/module-builder": "^0.8.4",
55
- "@nuxt/schema": "^3.17.5",
56
- "@nuxt/test-utils": "^3.19.1",
57
- "@types/node": "^22.15.30",
58
- "changelogen": "^0.6.1",
59
- "eslint": "^9.28.0",
60
- "nuxt": "^3.17.5",
51
+ "@nuxt/content": "^3.10.0",
52
+ "@nuxt/devtools": "^3.1.1",
53
+ "@nuxt/eslint-config": "^1.12.1",
54
+ "@nuxt/module-builder": "^1.0.2",
55
+ "@nuxt/schema": "^4.2.2",
56
+ "@nuxt/test-utils": "^3.23.0",
57
+ "@types/node": "^25.0.7",
58
+ "eslint": "^9.39.2",
59
+ "nuxt": "^4.2.2",
61
60
  "nuxt-llms": "link:",
62
- "typescript": "~5.6.3",
63
- "vitest": "^3.2.2",
64
- "vue-tsc": "^2.2.10"
61
+ "release-it": "^19.2.3",
62
+ "typescript": "~5.9.3",
63
+ "vitest": "^4.0.17",
64
+ "vue-tsc": "^3.2.2"
65
65
  },
66
- "packageManager": "pnpm@10.6.5"
66
+ "packageManager": "pnpm@10.28.0"
67
67
  }
package/dist/module.cjs DELETED
@@ -1,5 +0,0 @@
1
- module.exports = function(...args) {
2
- return import('./module.mjs').then(m => m.default.call(this, ...args))
3
- }
4
- const _meta = module.exports.meta = require('./module.json')
5
- module.exports.getMeta = () => Promise.resolve(_meta)
package/dist/module.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import * as _nuxt_schema from '@nuxt/schema';
2
- import { ModuleOptions } from '../dist/runtime/types.js';
3
- export * from '../dist/runtime/types.js';
4
-
5
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
6
-
7
- export { _default as default };
package/dist/types.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import type { NuxtModule } from '@nuxt/schema'
2
-
3
- import type { default as Module } from './module'
4
-
5
- export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
6
-
7
- export { default } from './module'