Skip to content

Commit 56e536d

Browse files
committed
Export isolation utilities from packages module
1 parent 5bc59b4 commit 56e536d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

registry/src/lib/packages.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
isSubpathExports,
1818
resolvePackageJsonEntryExports,
1919
} from './packages/exports'
20+
import { isolatePackage } from './packages/isolation'
2021
import {
2122
collectIncompatibleLicenses,
2223
collectLicenseWarnings,
@@ -141,6 +142,11 @@ export type PacoteOptions = {
141142
fullMetadata?: boolean | undefined
142143
}
143144

145+
export type {
146+
IsolatePackageOptions,
147+
IsolatePackageResult,
148+
} from './packages/isolation'
149+
144150
export type {
145151
InternalAstNode,
146152
InternalBinaryOperationNode,
@@ -176,6 +182,7 @@ export {
176182
isConditionalExports,
177183
isGitHubTgzSpec,
178184
isGitHubUrlSpec,
185+
isolatePackage,
179186
isRegistryFetcherType,
180187
isSubpathExports,
181188
isValidPackageName,

0 commit comments

Comments
 (0)