Skip to content

Commit

Permalink
fix(fslib): export CustomDir (#5371)
Browse files Browse the repository at this point in the history
* Whitespace.

* Export CustomDir class.

To allow compatible implementations of `opendir` to be created by
consumers of this library.
  • Loading branch information
bruce-one committed Apr 24, 2023
1 parent 3bd5082 commit c70ff90
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
36 changes: 36 additions & 0 deletions .yarn/versions/fefcfcf9.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
releases:
"@yarnpkg/fslib": patch

declined:
- "@yarnpkg/plugin-compat"
- "@yarnpkg/plugin-constraints"
- "@yarnpkg/plugin-dlx"
- "@yarnpkg/plugin-essentials"
- "@yarnpkg/plugin-exec"
- "@yarnpkg/plugin-file"
- "@yarnpkg/plugin-git"
- "@yarnpkg/plugin-github"
- "@yarnpkg/plugin-init"
- "@yarnpkg/plugin-link"
- "@yarnpkg/plugin-nm"
- "@yarnpkg/plugin-npm"
- "@yarnpkg/plugin-npm-cli"
- "@yarnpkg/plugin-pack"
- "@yarnpkg/plugin-patch"
- "@yarnpkg/plugin-pnp"
- "@yarnpkg/plugin-pnpm"
- "@yarnpkg/plugin-stage"
- "@yarnpkg/plugin-typescript"
- "@yarnpkg/plugin-version"
- "@yarnpkg/plugin-workspace-tools"
- vscode-zipfs
- "@yarnpkg/builder"
- "@yarnpkg/cli"
- "@yarnpkg/core"
- "@yarnpkg/doctor"
- "@yarnpkg/libzip"
- "@yarnpkg/nm"
- "@yarnpkg/pnp"
- "@yarnpkg/pnpify"
- "@yarnpkg/sdks"
- "@yarnpkg/shell"
6 changes: 3 additions & 3 deletions packages/yarnpkg-fslib/sources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ export {constants};
export {errors};
export {statUtils};

export type {LinkStrategy} from './algorithms/copyPromise';
export {setupCopyIndex} from './algorithms/copyPromise';
export {opendir} from './algorithms/opendir';
export type {LinkStrategy} from './algorithms/copyPromise';
export {setupCopyIndex} from './algorithms/copyPromise';
export {opendir, CustomDir} from './algorithms/opendir';
export {watchFile, unwatchFile, unwatchAllFiles} from './algorithms/watchFile';

export {normalizeLineEndings} from './FakeFS';
Expand Down

0 comments on commit c70ff90

Please sign in to comment.