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

Project are not affected when files from default namedInput are touched #26274

Open
1 of 4 tasks
Elyahou opened this issue May 30, 2024 · 0 comments · May be fixed by #26275
Open
1 of 4 tasks

Project are not affected when files from default namedInput are touched #26274

Elyahou opened this issue May 30, 2024 · 0 comments · May be fixed by #26275
Assignees
Labels
scope: core core nx functionality type: bug

Comments

@Elyahou
Copy link
Contributor

Elyahou commented May 30, 2024

Current Behavior

When a file that is included in default named input is touched, it does not affect the projects that are using implicitly this namedInput.

Expected Behavior

Touching such file should affect all projects that use the default named input, either they are explicitly using this named input or implicitly.

GitHub Repo

https://github.com/Elyahou/nx-examples

Steps to Reproduce

  1. Checkout the demo-issue branch
  2. Change the babel.config.json that is used in the sharedGlobals named input
  3. Run nx show projects --affected --base=14c49933b77f53d11b389f567b975b4f7d618f6e

The output will be cart and carte-e2e, because cart explicitly use default named input.

Other projects, that implicitly use the same named inputs are not affected, and they should

The graph show that the same file is included in the inputs of the other projects as well, for example product:build:

image

Nx Report

Node   : 22.2.0
OS     : darwin-arm64
yarn   : 1.22.22

nx                 : 19.1.0-beta.3
@nx/js             : 19.1.0-beta.3
@nx/jest           : 19.1.0-beta.3
@nx/linter         : 19.1.0-beta.3
@nx/eslint         : 19.1.0-beta.3
@nx/workspace      : 19.1.0-beta.3
@nx/angular        : 19.1.0-beta.3
@nx/cypress        : 19.1.0-beta.3
@nx/devkit         : 19.1.0-beta.3
@nx/eslint-plugin  : 19.1.0-beta.3
@nx/react          : 19.1.0-beta.3
@nrwl/tao          : 19.1.0-beta.3
@nx/web            : 19.1.0-beta.3
@nx/webpack        : 19.1.0-beta.3
typescript         : 5.4.3
---------------------------------------
Community plugins:
@ngrx/component-store : 17.0.1
@ngrx/effects         : 17.0.1
@ngrx/entity          : 17.0.1
@ngrx/router-store    : 17.0.1
@ngrx/store           : 17.0.1
@ngrx/store-devtools  : 17.0.1

Failure Logs

-

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: core core nx functionality type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants