We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
include
In a nx monorepo :
Create a lib & a secondary entry:
nx g @nx/angular:library my-ui-lib --publishable --importPath @MyCorp/MyLib
nx g @nx/angular:library-secondary-entry-point --library=my-ui-lib --name=button
In tsconfig.lib.json: We have "include": ["src/**/*.ts"]
tsconfig.lib.json
"include": ["src/**/*.ts"]
include should be migrated to "include": ["**/*.ts"] to include the secondary entry that we just created.
"include": ["**/*.ts"]
https://github.com/jeanmeche/nx-demo
Run nx g @nx/angular:library-secondary-entry-point --library=my-ui-lib --name=button on the repo.
Node : 18.15.0 OS : darwin-x64 npm : 9.5.0 nx (global) : 16.7.4 nx : 16.7.4 @nx/js : 16.7.4 @nx/jest : 16.7.4 @nx/linter : 16.7.4 @nx/workspace : 16.7.4 @nx/angular : 16.7.4 @nx/cypress : 16.7.4 @nx/devkit : 16.7.4 @nx/eslint-plugin : 16.7.4 @nrwl/tao : 16.7.4 @nx/webpack : 16.7.4 typescript : 5.1.6
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
leosvelperez
Successfully merging a pull request may close this issue.
Current Behavior
In a nx monorepo :
Create a lib & a secondary entry:
nx g @nx/angular:library my-ui-lib --publishable --importPath @MyCorp/MyLib
nx g @nx/angular:library-secondary-entry-point --library=my-ui-lib --name=button
In
tsconfig.lib.json
: We have"include": ["src/**/*.ts"]
Expected Behavior
include
should be migrated to"include": ["**/*.ts"]
to include the secondary entry that we just created.GitHub Repo
https://github.com/jeanmeche/nx-demo
Steps to Reproduce
Run
nx g @nx/angular:library-secondary-entry-point --library=my-ui-lib --name=button
on the repo.Nx Report
The text was updated successfully, but these errors were encountered: