Skip to content

Commit 7f88431

Browse files
committed
chore: switch to tiny-globby
1 parent e6d564f commit 7f88431

File tree

5 files changed

+46
-23
lines changed

5 files changed

+46
-23
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
"chalk": "^4.1.1",
5050
"cross-env": "^7.0.3",
5151
"execa": "^5.1.1",
52-
"fast-glob": "^3.2.7",
5352
"fast-json-stable-stringify": "^2.1.0",
5453
"fs-extra": "^11.1.0",
5554
"klaw": "^4.0.1",
@@ -65,6 +64,7 @@
6564
"sort-package-json": "^2.10.0",
6665
"strip-ansi": "^7.0.0",
6766
"tiny-invariant": "^1.1.0",
67+
"tinyglobby": "^0.2.10",
6868
"typescript": "^5.5.3",
6969
"vite": "^5.3.2",
7070
"vite-plugin-checker": "workspace:*",

packages/vite-plugin-checker/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
"chalk": "^4.1.1",
4242
"chokidar": "^3.5.1",
4343
"commander": "^8.0.0",
44-
"fast-glob": "^3.2.7",
4544
"fs-extra": "^11.1.0",
4645
"npm-run-path": "^4.0.1",
4746
"strip-ansi": "^6.0.0",
4847
"tiny-invariant": "^1.1.0",
48+
"tinyglobby": "^0.2.10",
4949
"vscode-languageclient": "^7.0.0",
5050
"vscode-languageserver": "^7.0.0",
5151
"vscode-languageserver-textdocument": "^1.0.1",

packages/vite-plugin-checker/src/checkers/vls/diagnostics.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import path from 'node:path'
44
import { Duplex } from 'node:stream'
55
import chalk from 'chalk'
66
import chokidar from 'chokidar'
7-
import glob from 'fast-glob'
7+
import { globSync } from 'tinyglobby'
88
import { VLS } from 'vls'
99
import type { TextDocument } from 'vscode-languageserver-textdocument'
1010
import {
@@ -254,7 +254,7 @@ async function getDiagnostics(
254254
options,
255255
)
256256

257-
const files = glob.sync([...watchedDidChangeContentGlob], {
257+
const files = globSync([...watchedDidChangeContentGlob], {
258258
cwd: workspaceUri.fsPath,
259259
ignore: ['node_modules/**'],
260260
})

playground/vitestGlobalSetup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from 'fs-extra'
22
import os from 'node:os'
33
import path from 'node:path'
4-
import glob from 'fast-glob'
4+
import { glob } from 'tinyglobby'
55
import { chromium } from 'playwright-chromium'
66

77
import type { BrowserServer } from 'playwright-chromium'

pnpm-lock.yaml

Lines changed: 41 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)