Comments (5)
affected
seem to be broken:
yarn --silent nx show projects --json --affected --withTarget=lint --base=0626ea8669414acab7b1e7be191066e0b7251881 --head 3acbd6024c094dccb7eb8a69bbe67f181022735b
reports everything while there is not a single change between base
and head
from nx.
nx graph --affected --file=graph.json
has deprecated long ago in version 16.1.0
and was warning since then. This information can now be retrieved by appending --graph
to your nx affected
command.
https://nx.dev/deprecated/affected-graph
affected seem to be broken:
yarn --silent nx show projects --json --affected --withTarget=lint --base=0626ea8669414acab7b1e7be191066e0b7251881 --head 3acbd6024c094dccb7eb8a69bbe67f181022735b
reports everything while there is not a single change between base and head
This seems like a different issue, please open a new issue. Also, please check if there really are no changes between those diffs. The command you can use is:
git diff --name-only --no-renames --relative "${base}" "${head}"
from nx.
@AgentEnder Hi! Can you tell me exactly how to use it nx affected with --graph? When I use nx affected, I need to select --target but I don't need it. I just want to build a graph of affected projects.
from nx.
I just saw in the documentation a recommendation to use nx graph --affected instead of affected:graph but you said she was deprecated. Can you tell me if this is an error in the documentation or if I misunderstood something?
Message in documentation: Deprecated: Use nx graph --affected, or nx affected --graph instead depending on which best suits your use case. The affected:graph command was removed in Nx 19.
from nx.
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
from nx.
Related Issues (20)
- Wrong project graph when using target defaults HOT 2
- The built library does not include assets correctly in nx project?
- When upgrading to Nx 18.0.0 - Cannot figure out your version of React Native HOT 2
- Proxies for dynamic remotes do not support SSL
- nx/Angular: removeWindowsDriveLetter used in reading file provided in option IndexHtmlTransformer HOT 2
- Failed nx run mobile:build-android Command HOT 3
- Nx 19.5 cannot find projects after initial creation HOT 1
- @nx/expo:export outputDir vs output-dir HOT 1
- Since Nx 19.4, @nx/vite/plugin dosn't generate serve target even if there is an eplicit server target in the vite config
- Failed to process the project graph with "nx-js-graph-plugin" when migrating NX from 16.7.2 to 16.7.4 HOT 2
- Styles cannot be shared across Nx libraries HOT 1
- generatePackageJson should be enabled by default in webpack configuration of @nx/nest applications
- metro web builds cache key collision
- NX Missing Platform Dependency HOT 1
- nx@npm:x.x.x [377db] couldn't be built successfully (exit code 129) HOT 4
- nx report shows @nx and @nrwl together HOT 1
- React Native Image on Android fails to display images loaded with `require()`
- dependency-check lint rule, --fix needs to be run twice
- Reopen Issue #19839: dependentTasksOutputFiles Should Interpolate {projectRoot}
- Dependency Conflict with @nxkit/[email protected] and [email protected] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nx.