-
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): update dependsOn configuration to use dependencies property #16584
feat(core): update dependsOn configuration to use dependencies property #16584
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
packages/nx/src/hasher/hasher.ts
Outdated
const partialHashes: Promise<PartialHash[]>[] = []; | ||
for (const input of projectInputs) { | ||
for (const project of input.projects) { | ||
console.log(project, this.projectGraph.nodes[project]); |
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
packages/nx/src/hasher/hasher.ts
Outdated
this.nxJson, | ||
this.projectGraph.nodes[project] | ||
); | ||
const expandedInput = expandSelfInputs( |
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.
expandSingleProjectInputs
packages/nx/src/hasher/hasher.ts
Outdated
[{ input: input.input }], | ||
namedInputs | ||
); | ||
partialHashes.push(this.hashSelfInputs(project, expandedInput)); |
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.
hashSingleProjectInputs
eda9a3c
to
f10c32d
Compare
2e47682
to
3941696
Compare
3941696
to
8c9041d
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. |
…ty rather than tokens
Current Behavior
We introduced {self} and {dependencies} for TargetDependencyConfig['projects'], but have decided to move in a slightly different direction.
Expected Behavior
Instead, we use the lack of a
projects
field to indicateself
, and a fielddependencies: true
to indicatedependencies
.Also, this is equivalent for hashing and
inputs
.Related Issue(s)
Fixes #