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

nx graph doesn't recognise "appsDir" as apps #9374

Closed
jimmcslim opened this issue Mar 17, 2022 · 1 comment · Fixed by #9379
Closed

nx graph doesn't recognise "appsDir" as apps #9374

jimmcslim opened this issue Mar 17, 2022 · 1 comment · Fixed by #9379
Assignees
Labels

Comments

@jimmcslim
Copy link

Current Behavior

Running nx graph with a nx.json with the following configuration

...
"workspaceLayout": {
  "appsDir": "deployments",
  "libsDir": "packages"
}
...

I see all my libraries under packages appear under the lib projects heading, but then there is a deployments heading that appears under that.

Expected Behavior

I would expect the value of appsDir to influence the way that nx graph sorts projects and should list everything in deployments under the app projects heading. That appsDir exists suggests that the folder that 'apps' should be homed in isn't prescriptive.

Steps to Reproduce

Configure workspaceLayout with appsDir set to something other than app or apps?

Environment

 >  NX   Report complete - copy this into the issue template

   Node : 16.13.0
   OS   : darwin arm64
   yarn : 1.22.17

   nx : 13.9.2
   @nrwl/angular : undefined
   @nrwl/cypress : undefined
   @nrwl/detox : undefined
   @nrwl/devkit : 13.9.2
   @nrwl/eslint-plugin-nx : undefined
   @nrwl/express : undefined
   @nrwl/jest : 13.9.2
   @nrwl/js : undefined
   @nrwl/linter : 13.9.2
   @nrwl/nest : undefined
   @nrwl/next : undefined
   @nrwl/node : undefined
   @nrwl/nx-cloud : undefined
   @nrwl/nx-plugin : undefined
   @nrwl/react : undefined
   @nrwl/react-native : undefined
   @nrwl/schematics : undefined
   @nrwl/storybook : undefined
   @nrwl/web : undefined
   @nrwl/workspace : 13.9.2
   typescript : 4.5.5
   rxjs : 6.6.7
   ---------------------------------------
   Community plugins:
@github-actions
Copy link

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.

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

Successfully merging a pull request may close this issue.

2 participants