globby icon indicating copy to clipboard operation
globby copied to clipboard

User-friendly glob matching

Results 40 globby issues
Sort by recently updated
recently updated
newest added

Just running this code: ```js const paths = await globby( '../src/*.ts', { dot: true, onlyFiles: false, gitignore: true, cwd: __dirname, absolute: true, }, ) ``` Then you will get an...

bug
help wanted

When I pass a relative path, and `gitignore: true`, I get an error. [Demo repo](https://github.com/NickHeiner/globby-relative-path-demo) ```js const path = require('path'); const globby = require('globby'); console.log(globby.sync( ['..'], {cwd: path.join(__dirname, 'node_modules'), gitignore:...

https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34960 https://github.com/DefinitelyTyped/DefinitelyTyped/pull/58277 https://github.com/DefinitelyTyped/DefinitelyTyped/pull/58619

[](https://issuehunt.io/r/sindresorhus/globby/issues/86) Currently only gitignores from cwd and down are taken into account for gitignore filtering. What about those who are higher in a hierarchy? Use case: monorepo repositories (like babel...

enhancement
help wanted
:dollar: Funded on Issuehunt

Can't make `globby` to search file inside this folder: `C:\Users\me\Desktop\github.com + Globby`. I've tryed `noext` and other options, but without result.

bug
help wanted

![image](https://user-images.githubusercontent.com/17594267/124695906-ad9db300-df16-11eb-9579-bfed02b2e162.png) use await globby(globPattern) and has files in globPattern. but globby cannot find any file in pattern.

I installed globby as a dependency of the `lerna` dependency on my project and this causing my program to failed transpiling (TS to JS) with the following error: ![image](https://user-images.githubusercontent.com/61906684/134766737-eb6ed47e-69fc-4c19-91c7-d49b5730b6f6.png) The...

globby is built on top of [fast-glob](https://github.com/mrmlnc/fast-glob) which allows the use of custom file system functions via the [fs option](https://github.com/mrmlnc/fast-glob#fs). However, globby does not pass that option through to its...

enhancement
help wanted

Related to #152, but `.sync` is broken as well: doesn't matter what you try, globby won't produce any results. Sample code: ``` var testset = globby.sync(__dirname + '/specs/*.jisonlex'); console.error({testset, dir:...

file structure: ``` . ├── dir │ ├── .gitignore │ ├── bar.log │ └── subdir │ └── baz.log └── foo.log ``` `./dir/.gitignore`: ``` *.log ``` List of files to be...