@rspress/plugin-llms 2.0.0-beta.21 → 2.0.0-beta.22

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { PageIndexInfo } from 'rspress/core';
2
- import type { RspressPlugin } from 'rspress/core';
1
+ import type { PageIndexInfo } from '@rspress/core';
2
+ import type { RspressPlugin } from '@rspress/core';
3
3
 
4
4
  declare interface LlmsFullTxt {
5
5
  /**
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import node_path from "node:path";
2
- import { getSidebarDataGroup, logger, matchPath, normalizeHref, remarkFileCodeBlock, remarkPluginNormalizeLink, withBase } from "rspress/core";
2
+ import { getSidebarDataGroup, logger, matchPath, normalizeHref, remarkFileCodeBlock, remarkPluginNormalizeLink, withBase } from "@rspress/core";
3
3
  import remark_mdx from "remark-mdx";
4
4
  import remark_parse from "remark-parse";
5
5
  import remark_stringify from "remark-stringify";
@@ -138,7 +138,7 @@ const rsbuildPluginLlms = ({ disableSSGRef, baseRef, pageDataList, routes, title
138
138
  const { name } = llmsTxt;
139
139
  const llmsTxtContent = generateLlmsTxt(pageArray, navList, others, llmsTxt, titleRef.current, descriptionRef.current, baseRef.current);
140
140
  api.processAssets({
141
- targets: disableSSG ? [
141
+ environments: disableSSG ? [
142
142
  'web'
143
143
  ] : [
144
144
  'node'
@@ -170,7 +170,7 @@ const rsbuildPluginLlms = ({ disableSSGRef, baseRef, pageDataList, routes, title
170
170
  mdContents[outFilePath] = mdContent.toString();
171
171
  }) ?? []);
172
172
  if (mdFiles) api.processAssets({
173
- targets: disableSSG ? [
173
+ environments: disableSSG ? [
174
174
  'web'
175
175
  ] : [
176
176
  'node'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-llms",
3
- "version": "2.0.0-beta.21",
3
+ "version": "2.0.0-beta.22",
4
4
  "description": "A plugin for rspress to generate llms.txt, llms-full.txt, md files to let llm understand your website.",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@microsoft/api-extractor": "^7.52.8",
30
- "@rsbuild/core": "~1.4.6",
31
- "@rslib/core": "0.10.5",
30
+ "@rsbuild/core": "~1.4.8",
31
+ "@rslib/core": "0.10.6",
32
32
  "@types/hast": "^3.0.4",
33
33
  "@types/node": "^22.8.1",
34
34
  "typescript": "^5.8.2",
@@ -36,7 +36,7 @@
36
36
  "@rspress/config": "1.0.0"
37
37
  },
38
38
  "peerDependencies": {
39
- "rspress": "^2.0.0-beta.21"
39
+ "@rspress/core": "^2.0.0-beta.22"
40
40
  },
41
41
  "engines": {
42
42
  "node": ">=18.0.0"