dumi-theme-lobehub 1.0.0 → 1.1.1
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
|
@@ -8,9 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
<h1>Dumi Theme Lobehub</h1>
|
|
10
10
|
|
|
11
|
-
dumi-theme-lobehub is a documentation site theme package designed for `Dumi 2`.
|
|
12
|
-
|
|
13
|
-
It provides a more beautiful and user-friendly development and reading experience based on `dumi-theme-lobehub`
|
|
11
|
+
dumi-theme-lobehub is a documentation site theme package designed for `Dumi 2`. <br/>It provides a more beautiful and user-friendly development and reading experience based on `@lobehub/ui`
|
|
14
12
|
|
|
15
13
|
[Changelog](./CHANGELOG.md) · [Report Bug][issues-url] · [Request Feature][issues-url]
|
|
16
14
|
|
|
@@ -6,7 +6,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
|
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import { ActionIcon, TabsNav } from '@lobehub/ui';
|
|
8
8
|
import { openCodeSandbox, openStackBlitz, useIntl } from 'dumi';
|
|
9
|
-
import SourceCode from
|
|
9
|
+
import SourceCode from 'dumi/theme-default/builtins/SourceCode';
|
|
10
10
|
import { Code, Code2, Codesandbox, MonitorUp, Zap } from 'lucide-react';
|
|
11
11
|
import { useState } from 'react';
|
|
12
12
|
import { useStyles } from "./style";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dumi-theme-lobehub",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "dumi-theme-lobehub is a documentation site theme package designed for dumi2. It provides a more beautiful and user-friendly development and reading experience based on @lobehub/ui",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lobehub",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "father build",
|
|
29
29
|
"build:docs": "npm run build && npm run build --prefix=example",
|
|
30
|
+
"ci": "npm run test",
|
|
30
31
|
"dev": "father dev",
|
|
31
32
|
"dev:docs": "npm run start --prefix=example",
|
|
32
33
|
"lint": "eslint \"{src,example}/**/*.{js,jsx,ts,tsx}\" --fix",
|