diff --git a/package.json b/package.json index e280429..f60ac03 100644 --- a/package.json +++ b/package.json @@ -64,11 +64,11 @@ "c12": "^1.11.2", "cac": "^6.7.14", "escalade": "^3.2.0", - "fast-glob": "^3.3.2", "js-yaml": "^4.1.0", "jsonc-parser": "^3.3.1", "prompts": "^2.4.2", - "semver": "^7.6.3" + "semver": "^7.6.3", + "tinyglobby": "^0.2.9" }, "devDependencies": { "@antfu/eslint-config": "^3.7.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c839029..eb8183c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,9 +20,6 @@ importers: escalade: specifier: ^3.2.0 version: 3.2.0 - fast-glob: - specifier: ^3.3.2 - version: 3.3.2 js-yaml: specifier: ^4.1.0 version: 4.1.0 @@ -35,6 +32,9 @@ importers: semver: specifier: ^7.6.3 version: 7.6.3 + tinyglobby: + specifier: ^0.2.9 + version: 0.2.9 devDependencies: '@antfu/eslint-config': specifier: ^3.7.3 @@ -1590,8 +1590,8 @@ packages: fastq@1.13.0: resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==} - fdir@6.3.0: - resolution: {integrity: sha512-QOnuT+BOtivR77wYvCWHfGt9s4Pz1VIMbD463vegT5MLqNXy8rYFT/lPVEqf/bhYeT6qmqrNHhsX+rWwe3rOCQ==} + fdir@6.4.0: + resolution: {integrity: sha512-3oB133prH1o4j/L5lLW7uOCF1PlD+/It2L0eL/iAqWMB91RBbqTewABqxhj0ibBd90EEmWZq7ntIWzVaWcXTGQ==} peerDependencies: picomatch: ^3 || ^4 peerDependenciesMeta: @@ -2921,8 +2921,8 @@ packages: tinyexec@0.3.0: resolution: {integrity: sha512-tVGE0mVJPGb0chKhqmsoosjsS+qUnJVGJpZgsHYQcGoPlG3B51R3PouqTgEGH2Dc9jjFyOqOpix6ZHNMXp1FZg==} - tinyglobby@0.2.6: - resolution: {integrity: sha512-NbBoFBpqfcgd1tCiO8Lkfdk+xrA7mlLR9zgvZcZWQQwU63XAfUePyd6wZBaU93Hqw347lHnwFzttAkemHzzz4g==} + tinyglobby@0.2.9: + resolution: {integrity: sha512-8or1+BGEdk1Zkkw2ii16qSS7uVrQJPre5A9o/XkWPATkk23FZh/15BKFxPnlTy6vkljZxLqYCzzBMj30ZrSvjw==} engines: {node: '>=12.0.0'} tinypool@1.0.0: @@ -4809,7 +4809,7 @@ snapshots: dependencies: reusify: 1.0.4 - fdir@6.3.0(picomatch@4.0.2): + fdir@6.4.0(picomatch@4.0.2): optionalDependencies: picomatch: 4.0.2 @@ -6276,9 +6276,9 @@ snapshots: tinyexec@0.3.0: {} - tinyglobby@0.2.6: + tinyglobby@0.2.9: dependencies: - fdir: 6.3.0(picomatch@4.0.2) + fdir: 6.4.0(picomatch@4.0.2) picomatch: 4.0.2 tinypool@1.0.0: {} @@ -6337,7 +6337,7 @@ snapshots: rollup: 4.19.2 source-map: 0.8.0-beta.0 sucrase: 3.35.0 - tinyglobby: 0.2.6 + tinyglobby: 0.2.9 tree-kill: 1.2.2 optionalDependencies: postcss: 8.4.35 diff --git a/src/normalize-options.ts b/src/normalize-options.ts index a8ba678..f38331b 100644 --- a/src/normalize-options.ts +++ b/src/normalize-options.ts @@ -3,7 +3,7 @@ import type { VersionBumpOptions } from './types/version-bump-options' import fsSync from 'node:fs' import fs from 'node:fs/promises' import process from 'node:process' -import fg from 'fast-glob' +import { glob } from 'tinyglobby' import yaml from 'js-yaml' import { isReleaseType } from './release-type' @@ -138,11 +138,12 @@ export async function normalizeOptions(raw: VersionBumpOptions): Promise