-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core): include non-project files on fileMap and filesToProcess #19217
feat(core): include non-project files on fileMap and filesToProcess #19217
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 8480d22. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 6 targets
Sent with 💌 from NxCloud. |
3c24412
to
ebc36dd
Compare
ebc36dd
to
1149eb0
Compare
1149eb0
to
ce101d3
Compare
ce101d3
to
e60defb
Compare
e60defb
to
3d2cb30
Compare
3d2cb30
to
a51bac9
Compare
pub struct FileMap { | ||
pub project_file_map: HashMap<String, Vec<FileData>>, | ||
pub non_project_files: Vec<FileData> | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rm
); | ||
const isProjectFileData = !!fileData; | ||
fileData ??= getNonProjectFileData(sourceFile, this.allWorkspaceFiles); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fileData ??= getNonProjectFileData(sourceFile, this.allWorkspaceFiles); | |
fileData ??= getNonProjectFileData(sourceFile, this.nonProjectFiles); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double check all of the createDependencies functions
b1ca553
to
0055f13
Compare
0055f13
to
8480d22
Compare
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
filesToProcess
doesn't include non project files, so there is no indication inside ofcreateDependencies
if one has changed. This leads to requiring custom caching and hashing behavior on the plugin side to avoid extra work.Expected Behavior
filesToProcess
includes non project filesRelated Issue(s)
Fixes #