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.json "$schema" property is incorrect after @nrwl:angular/application generator #15429

Closed
RolginRoman opened this issue Mar 3, 2023 · 1 comment · Fixed by #15463
Closed
Assignees
Labels
outdated scope: angular Issues related to Angular support in Nx type: bug

Comments

@RolginRoman
Copy link

Current Behavior

project.json $schema property created incorrectly.

It's relative from @angular-devkit schematic directory, but nrwl plugin moves files to a new directory here

Expected Behavior

$schema attribute must be resolved correctly and at appropriate moment of generation

GitHub Repo

No response

Steps to Reproduce

No separate repo for reproduction. The case is reproduced on https://github.com/nrwl/nx-examples without changes

  1. invoke nx g @nrwl/angular:application --name="apps-core/testapp".
  2. observe apps/apps-core/testapp/project.json#$schema attribute. It must have several additional leading ..

Nx Report

Node : 18.14.1
   OS   : darwin arm64
   yarn : 1.22.19
   
   nx                      : 15.8.0-beta.8
   @nrwl/js                : 15.8.0-beta.8
   @nrwl/jest              : 15.8.0-beta.8
   @nrwl/linter            : 15.8.0-beta.8
   @nrwl/workspace         : 15.8.0-beta.8
   @nrwl/angular           : 15.8.0-beta.8
   @nrwl/cli               : 15.8.0-beta.8
   @nrwl/cypress           : 15.8.0-beta.8
   @nrwl/devkit            : 15.8.0-beta.8
   @nrwl/eslint-plugin-nx  : 15.8.0-beta.8
   @nrwl/react             : 15.8.0-beta.8
   @nrwl/rollup            : 15.8.0-beta.8
   @nrwl/tao               : 15.8.0-beta.8
   @nrwl/web               : 15.8.0-beta.8
   @nrwl/webpack           : 15.8.0-beta.8
   @nrwl/nx-cloud          : 15.1.1
   typescript              : 4.9.5
   ---------------------------------------
   Community plugins:
   @ngrx/component-store : 15.3.0
   @ngrx/effects         : 15.3.0
   @ngrx/entity          : 15.3.0
   @ngrx/router-store    : 15.3.0
   @ngrx/store           : 15.3.0
   @ngrx/store-devtools  : 15.3.0

Failure Logs

No response

Additional Information

No response

@RolginRoman RolginRoman changed the title project.json "$schema" property incorrect after @nrwl:angular/application generator project.json "$schema" property is incorrect after @nrwl:angular/application generator Mar 3, 2023
@AgentEnder AgentEnder added the scope: angular Issues related to Angular support in Nx label Mar 3, 2023
@leosvelperez leosvelperez self-assigned this Mar 6, 2023
@github-actions
Copy link

github-actions bot commented Apr 6, 2023

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 Apr 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: angular Issues related to Angular support in Nx type: bug
Projects
None yet
3 participants