Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,20 @@
"bundlerutils",
"composables",
"devtool",
"docsearch",
"envinfo",
"esbuild",
"frontmatter",
"globby",
"gtag",
"lightningcss",
"mdit",
"nprogress",
"prefetch",
"preload",
"prismjs",
"shiki",
"slugify",
"tinyglobby",
"unmount",
"upath",
"vuejs",
"vuepress",
"vueuse",
"zoomable"
"vueuse"
],
"typescript.tsdk": "node_modules/typescript/lib"
}
4 changes: 2 additions & 2 deletions packages/core/src/app/resolveAppPages.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { debug, globby } from '@vuepress/utils'
import { debug, tinyglobby } from '@vuepress/utils'
import { createPage } from '../page/index.js'
import type { App, Page } from '../types/index.js'

Expand All @@ -13,7 +13,7 @@ export const resolveAppPages = async (app: App): Promise<Page[]> => {
log('resolveAppPages start')

// resolve page absolute file paths according to the page patterns
const pageFilePaths = await globby(app.options.pagePatterns, {
const pageFilePaths = await tinyglobby.glob(app.options.pagePatterns, {
absolute: true,
cwd: app.dir.source(),
})
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"@vuepress/shared": "workspace:*",
"debug": "^4.4.1",
"fs-extra": "^11.3.0",
"globby": "^14.1.0",
"hash-sum": "^2.0.0",
"ora": "^8.2.0",
"picocolors": "^1.1.1",
"tinyglobby": "^0.2.14",
"upath": "^2.0.1"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import debug from 'debug'
import fs from 'fs-extra'
import { globby } from 'globby'
import hash from 'hash-sum'
import ora from 'ora'
import colors from 'picocolors'
import * as tinyglobby from 'tinyglobby'
import path from 'upath'

export { debug, colors, fs, globby, hash, ora, path }
export { debug, colors, fs, hash, ora, path, tinyglobby }

export * from './console/index.js'
export * from './module/index.js'
Expand Down
Loading
Loading