Find project files
Finds files in a directory that are not ignored by .gitignore
files in the filesystem
Usage
findProjectFiles(rootPath: string, globalIgnorePatterns = [])
const findProjectFiles = const files = console //-> ['index.js', 'foo.js', 'bar.js'...] const filesWithoutFoo = console //-> ['index.js', 'bar.js'...] const filesWithoutFooBar = console //-> ['index.js'...]
checkIsProjectFilePath(rootPath: string, filePath: string, globalIgnorePatterns = [])
const checkIsProjectFilePath = const isProjectFile = console //-> true const isIgnoredProjectFile = console //-> false const isProjectFileExceptFoo = console //-> false