Skip to content
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(linter): add option to exclude projects from circular deps check #27504

Merged
merged 3 commits into from
Sep 3, 2024

Conversation

meeroslav
Copy link
Contributor

Current Behavior

Expected Behavior

Related Issue(s)

Fixes #

@meeroslav meeroslav self-assigned this Aug 19, 2024
@meeroslav meeroslav requested review from a team as code owners August 19, 2024 09:01
@meeroslav meeroslav requested a review from leosvelperez August 19, 2024 09:01
Copy link

vercel bot commented Aug 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Aug 27, 2024 8:04pm

Copy link
Collaborator

@JamesHenry JamesHenry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending a final conclusion to our internal discussion

@FrozenPandaz
Copy link
Collaborator

Let's make a PR release for this once it's ready to try.

Copy link

🐳 We have a release for that!

This PR has a release associated with it. You can try it out using this command:

npx create-nx-workspace@0.0.0-pr-27504-68aa5d2 my-workspace

Or just copy this version and use it in your own command:

0.0.0-pr-27504-68aa5d2
Release details 📑
Published version 0.0.0-pr-27504-68aa5d2
Triggered by @FrozenPandaz
Branch feat/exclude-circular
Commit 68aa5d2
Workflow run 10529287477

To request a new release for this pull request, mention someone from the Nx team or the @nrwl/nx-pipelines-reviewers.

@@ -101,6 +104,15 @@ export default ESLintUtils.RuleCreator(
type: 'array',
items: { type: 'string' },
},
excludeCircularDependencyPairs: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're calling it excludeCircularDependencyPairs in the schema validation, however you're calling it ignoredCircularDependencies in the api. This will never work :(

@FrozenPandaz FrozenPandaz force-pushed the feat/exclude-circular branch from feeaf03 to b2dfc57 Compare August 27, 2024 19:44
Copy link

🐳 We have a release for that!

This PR has a release associated with it. You can try it out using this command:

npx create-nx-workspace@0.0.0-pr-27504-f64ce1f my-workspace

Or just copy this version and use it in your own command:

0.0.0-pr-27504-f64ce1f
Release details 📑
Published version 0.0.0-pr-27504-f64ce1f
Triggered by @FrozenPandaz
Branch feat/exclude-circular
Commit f64ce1f
Workflow run 10586005127

To request a new release for this pull request, mention someone from the Nx team or the @nrwl/nx-pipelines-reviewers.

@FrozenPandaz FrozenPandaz merged commit c4c8b01 into master Sep 3, 2024
6 checks passed
@FrozenPandaz FrozenPandaz deleted the feat/exclude-circular branch September 3, 2024 18:33
ZackDeRose pushed a commit to ZackDeRose/nx that referenced this pull request Sep 6, 2024
…nrwl#27504)

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #

---------

Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
FrozenPandaz pushed a commit that referenced this pull request Sep 6, 2024
…#27504)

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #

---------

Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
(cherry picked from commit c4c8b01)
Copy link

github-actions bot commented Sep 9, 2024

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants