-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): find references for files not in proj
- looks for changed file basename references in cwd - compares referencing file and change file path - if equals adds the found line number to changed files
- Loading branch information
1 parent
b51d992
commit bb72919
Showing
15 changed files
with
423 additions
and
108 deletions.
There are no files selected for viewing
Empty file.
12 changes: 12 additions & 0 deletions
12
libs/core/src/__fixtures__/monorepo/angular-component/component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore-next-line | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'example-component', | ||
templateUrl: './component.html', | ||
styleUrls: ['./component.css'], | ||
}) | ||
export class AppComponent { | ||
title = 'example'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from './true-affected'; | ||
export * from './types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export interface TrueAffectedProject { | ||
name: string; | ||
sourceRoot: string; | ||
tsConfig?: string; | ||
implicitDependencies?: string[]; | ||
} | ||
|
||
export interface TrueAffected { | ||
cwd: string; | ||
rootTsConfig?: string; | ||
base?: string; | ||
projects: TrueAffectedProject[]; | ||
includeFiles?: string[]; | ||
} |
Oops, something went wrong.