Skip to content

Commit

Permalink
chore: switch to tiny-globby
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Dec 14, 2024
1 parent e6d564f commit d65a454
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 23 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"chalk": "^4.1.1",
"cross-env": "^7.0.3",
"execa": "^5.1.1",
"fast-glob": "^3.2.7",
"fast-json-stable-stringify": "^2.1.0",
"fs-extra": "^11.1.0",
"klaw": "^4.0.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/vite-plugin-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
"chalk": "^4.1.1",
"chokidar": "^3.5.1",
"commander": "^8.0.0",
"fast-glob": "^3.2.7",
"fs-extra": "^11.1.0",
"npm-run-path": "^4.0.1",
"strip-ansi": "^6.0.0",
"tiny-invariant": "^1.1.0",
"tinyglobby": "^0.2.10",
"vscode-languageclient": "^7.0.0",
"vscode-languageserver": "^7.0.0",
"vscode-languageserver-textdocument": "^1.0.1",
Expand All @@ -60,6 +60,7 @@
"meow": "^9.0.0",
"npm-run-all2": "^5.0.0",
"stylelint": "^14.0.0",
"tinyglobby": "^0.2.10",
"tsup": "^6.7.0",
"typescript": "^5.5.3",
"vls": "^0.8.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/vite-plugin-checker/src/checkers/vls/diagnostics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import path from 'node:path'
import { Duplex } from 'node:stream'
import chalk from 'chalk'
import chokidar from 'chokidar'
import glob from 'fast-glob'
import { globSync } from 'tinyglobby'
import { VLS } from 'vls'
import type { TextDocument } from 'vscode-languageserver-textdocument'
import {
Expand Down Expand Up @@ -254,7 +254,7 @@ async function getDiagnostics(
options,
)

const files = glob.sync([...watchedDidChangeContentGlob], {
const files = globSync([...watchedDidChangeContentGlob], {
cwd: workspaceUri.fsPath,
ignore: ['node_modules/**'],
})
Expand Down
2 changes: 1 addition & 1 deletion playground/vitestGlobalSetup.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from 'fs-extra'
import os from 'node:os'
import path from 'node:path'
import glob from 'fast-glob'
import { glob } from 'tinyglobby'
import { chromium } from 'playwright-chromium'

import type { BrowserServer } from 'playwright-chromium'
Expand Down
56 changes: 38 additions & 18 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 d65a454

Please sign in to comment.