File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ export class ProjectPrincipal {
227
227
filePath : string ,
228
228
options : Omit < GetImportsAndExportsOptions , 'skipExports' > ,
229
229
isGitIgnored : ( filePath : string ) => boolean ,
230
- isPackageNameInternalWorkspace : ( packageName : string ) => boolean ,
230
+ isInternalWorkspace : ( packageName : string ) => boolean ,
231
231
getPrincipalByFilePath : ( filePath : string ) => undefined | ProjectPrincipal
232
232
) {
233
233
const fd = this . cache . getFileDescriptor ( filePath ) ;
@@ -254,7 +254,7 @@ export class ProjectPrincipal {
254
254
255
255
for ( const [ specifier , specifierFilePath ] of specifiers ) {
256
256
const packageName = getPackageNameFromModuleSpecifier ( specifier ) ;
257
- if ( packageName && isPackageNameInternalWorkspace ( packageName ) ) {
257
+ if ( packageName && isInternalWorkspace ( packageName ) ) {
258
258
external . add ( packageName ) ;
259
259
const principal = getPrincipalByFilePath ( specifierFilePath ) ;
260
260
if ( principal && ! isGitIgnored ( specifierFilePath ) ) principal . addNonEntryPath ( specifierFilePath ) ;
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ export async function build({
261
261
const unreferencedFiles = new Set < string > ( ) ;
262
262
const entryPaths = new Set < string > ( ) ;
263
263
264
- const isPackageNameInternalWorkspace = ( packageName : string ) => chief . availableWorkspacePkgNames . has ( packageName ) ;
264
+ const isInternalWorkspace = ( packageName : string ) => chief . availableWorkspacePkgNames . has ( packageName ) ;
265
265
266
266
const getPrincipalByFilePath = ( filePath : string ) => {
267
267
const workspace = chief . findWorkspaceByFilePath ( filePath ) ;
@@ -286,7 +286,7 @@ export async function build({
286
286
tags,
287
287
} ,
288
288
isGitIgnored ,
289
- isPackageNameInternalWorkspace ,
289
+ isInternalWorkspace ,
290
290
getPrincipalByFilePath
291
291
) ;
292
292
You can’t perform that action at this time.
0 commit comments