Skip to content

Commit

Permalink
fix: fixed build docs error
Browse files Browse the repository at this point in the history
  • Loading branch information
vtrbo committed Nov 21, 2023
1 parent 5f3642e commit d55f869
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/.vitepress/theme/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as ARR from '@vtrbo/utils-arr'
import * as COLOR from '@vtrbo/utils-color'
import * as IS from '@vtrbo/utils-is'
import * as LOG from '@vtrbo/utils-log'
import * as OBJ from '@vtrbo/utils-obj'
import * as STR from '@vtrbo/utils-str'
import * as TOOL from '@vtrbo/utils-tool'
import * as TREE from '@vtrbo/utils-tree'
Expand All @@ -10,6 +11,7 @@ import * as TREE from '@vtrbo/utils-tree'
(globalThis as any)['@vtrbo/utils-color'] = COLOR;
(globalThis as any)['@vtrbo/utils-is'] = IS;
(globalThis as any)['@vtrbo/utils-log'] = LOG;
(globalThis as any)['@vtrbo/utils-obj'] = OBJ;
(globalThis as any)['@vtrbo/utils-str'] = STR;
(globalThis as any)['@vtrbo/utils-tool'] = TOOL;
(globalThis as any)['@vtrbo/utils-tree'] = TREE
8 changes: 8 additions & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@
"devDependencies": {
"@iconify/json": "^2.2.144",
"@vitejs/plugin-vue": "^4.5.0",
"@vtrbo/utils-arr": "workspace:*",
"@vtrbo/utils-color": "workspace:*",
"@vtrbo/utils-is": "workspace:*",
"@vtrbo/utils-log": "workspace:*",
"@vtrbo/utils-obj": "workspace:*",
"@vtrbo/utils-str": "workspace:*",
"@vtrbo/utils-tool": "workspace:*",
"@vtrbo/utils-tree": "workspace:*",
"@vueuse/core": "^10.6.1",
"pretty-format": "^29.7.0",
"sass": "^1.69.5",
Expand Down
24 changes: 24 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d55f869

Please sign in to comment.