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 18 Angular Library generator adds @nx/angular:ng-packagr-lite plugin #21909

Closed
1 of 4 tasks
GeorgeKnap opened this issue Feb 21, 2024 · 1 comment · Fixed by #21935
Closed
1 of 4 tasks

NX 18 Angular Library generator adds @nx/angular:ng-packagr-lite plugin #21909

GeorgeKnap opened this issue Feb 21, 2024 · 1 comment · Fixed by #21935
Labels
outdated scope: angular Issues related to Angular support in Nx type: bug

Comments

@GeorgeKnap
Copy link

Current Behavior

using NX angular generator to create library adds

"@nx/angular:ng-packagr-lite": {
      "cache": true,
      "dependsOn": ["^build"],
      "inputs": ["production", "^production"]
    }

plugin into nx.json

Expected Behavior

This should happen imho only if --buildable=true

GitHub Repo

No response

Steps to Reproduce

  1. nx g @nx/angular:library my-ui-lib

Nx Report

NX   Report complete - copy this into the issue template

   Node   : 20.11.0
   OS     : win32-x64
   npm    : 10.4.0
   
   nx (global)        : 18.0.2
   nx                 : 18.0.2
   @nx/js             : 18.0.2
   @nx/jest           : 18.0.2
   @nx/linter         : 18.0.2
   @nx/eslint         : 18.0.2
   @nx/workspace      : 18.0.2
   @nx/angular        : 18.0.2
   @nx/cypress        : 18.0.2
   @nx/devkit         : 18.0.2
   @nx/eslint-plugin  : 18.0.2
   @nx/storybook      : 18.0.2
   @nrwl/tao          : 18.0.2
   @nx/web            : 18.0.2
   @nx/webpack        : 18.0.2
   typescript         : 5.3.3
   ---------------------------------------
   Community plugins:
   @ngrx/component      : 17.0.1
   @ngrx/effects        : 17.0.1
   @ngrx/entity         : 17.0.1
   @ngrx/router-store   : 17.0.1
   @ngrx/schematics     : 17.0.1
   @ngrx/store          : 17.0.1
   @ngrx/store-devtools : 17.0.1
   @storybook/angular   : 7.5.3

Failure Logs

No response

Package Manager Version

npm 10.4

Operating System

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

Additional Information

No response

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 24, 2024
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
2 participants