Skip to content

Commit

Permalink
refactor: replace globby with tinyglobby (#1168)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperchupuDev committed Aug 24, 2024
1 parent 49c11c3 commit 3f44303
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 134 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@
"debug": "^4.3.5",
"esbuild": "^0.23.0",
"execa": "^5.1.1",
"globby": "^11.1.0",
"joycon": "^3.1.1",
"picocolors": "^1.0.1",
"postcss-load-config": "^6.0.1",
"resolve-from": "^5.0.0",
"rollup": "^4.19.0",
"source-map": "0.8.0-beta.0",
"sucrase": "^3.35.0",
"tinyglobby": "^0.2.1",
"tree-kill": "^1.2.2"
},
"devDependencies": {
Expand Down
146 changes: 17 additions & 129 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import path from 'node:path'
import fs from 'node:fs'
import { Worker } from 'node:worker_threads'
import glob from 'globby'
import { loadTsConfig } from 'bundle-require'
import execa from 'execa'
import { glob } from 'tinyglobby'
import kill from 'tree-kill'
import { version } from '../package.json'
import { PrettyError, handleError } from './errors'
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import fs from 'node:fs'
import path from 'node:path'
import glob from 'globby'
import resolveFrom from 'resolve-from'
import strip from 'strip-json-comments'
import { glob } from 'tinyglobby'
import type { Entry, Format } from './options'

export type MaybePromise<T> = T | Promise<T>
Expand Down
Loading

0 comments on commit 3f44303

Please sign in to comment.