@rspress/shared 2.0.5 → 2.0.7

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
@@ -314,6 +314,7 @@ export declare interface NavItemWithChildren {
314
314
  export declare type NavItemWithLink = {
315
315
  text: string;
316
316
  link: string;
317
+ download?: boolean;
317
318
  tag?: string;
318
319
  activeMatch?: string;
319
320
  position?: 'left' | 'right';
package/dist/logger.js CHANGED
@@ -1 +1 @@
1
- export { logger } from "./649.js";
1
+ export { logger } from "@rsbuild/core";
@@ -304,6 +304,7 @@ declare interface NavItemWithChildren {
304
304
  declare type NavItemWithLink = {
305
305
  text: string;
306
306
  link: string;
307
+ download?: boolean;
307
308
  tag?: string;
308
309
  activeMatch?: string;
309
310
  position?: 'left' | 'right';
@@ -1,7 +1,7 @@
1
1
  import node_path from "node:path";
2
2
  import { fileURLToPath } from "node:url";
3
3
  import gray_matter from "gray-matter";
4
- import { logger } from "./649.js";
4
+ import { logger } from "./logger.js";
5
5
  const extractTextAndId = (title)=>{
6
6
  if (!title) return [
7
7
  '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/shared",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/web-infra-dev/rspress.git",
@@ -32,14 +32,14 @@
32
32
  "dist"
33
33
  ],
34
34
  "dependencies": {
35
- "@rsbuild/core": "2.0.0-beta.6",
36
- "@shikijs/rehype": "^4.0.1",
35
+ "@rsbuild/core": "2.0.0-beta.10",
36
+ "@shikijs/rehype": "^4.0.2",
37
37
  "gray-matter": "4.0.3",
38
38
  "lodash-es": "^4.17.23",
39
39
  "unified": "^11.0.5"
40
40
  },
41
41
  "devDependencies": {
42
- "@rslib/core": "0.19.6",
42
+ "@rslib/core": "0.20.0",
43
43
  "@types/lodash-es": "^4.17.12",
44
44
  "@types/node": "^22.8.1",
45
45
  "@types/react": "^19.2.14",
package/dist/649.js DELETED
@@ -1 +0,0 @@
1
- export { logger } from "@rsbuild/core";