Skip to content

Commit b3b0953

Browse files
authored
feat(nm): export the hoist function (#4951)
* feat(nm): export the hoist function * style: fix
1 parent ff4b894 commit b3b0953

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.yarn/versions/9fb28ef8.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
releases:
2+
"@yarnpkg/nm": minor
3+
4+
declined:
5+
- "@yarnpkg/plugin-nm"
6+
- "@yarnpkg/pnpify"

packages/yarnpkg-nm/sources/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ export {
1919
};
2020

2121
export type {NodeModulesLocatorMap};
22+
23+
export type {HoisterTree, HoisterResult} from './hoist';
24+
export {hoist, HoisterDependencyKind} from './hoist';

0 commit comments

Comments
 (0)