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

[Bug]: ng add @o3r/design does not work #1771

Closed
vscaiceanu-1a opened this issue May 10, 2024 · 1 comment · Fixed by #1992
Closed

[Bug]: ng add @o3r/design does not work #1771

vscaiceanu-1a opened this issue May 10, 2024 · 1 comment · Fixed by #1992
Assignees
Labels
bug Something isn't working priority:medium

Comments

@vscaiceanu-1a
Copy link
Member

vscaiceanu-1a commented May 10, 2024

Package name

design

Package version

10.2.1

Reproduction steps

npm create @o3r my-workspace
cd my-workspace
ng g app webapp
ng add @o3r/design --project-name webapp

Current result

In angular.json

  • "useOtterDesignToken": true, is added for all projects. Shouldn't it be only for webapp?
  • generate-css builder is not added
    Also, no template files are added to the project (design-token.custom.json and theme.scss)

Expected result

In angular.json

  • "useOtterDesignToken": true, is added only for webapp?
  • generate-css builder is added for webapp
    Template files are added to the project (design-token.custom.json and theme.scss)

Additional comments

No response

@vscaiceanu-1a
Copy link
Member Author

Integration tests should be enhanced to verify everything works well for the ng add

github-merge-queue bot pushed a commit that referenced this issue Jul 31, 2024
## Proposed change

Fix ngAdd schemtics to correctly add @o3r/design package

<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that is required for this change. -->

## Related issues

- 🐛 Fixes #1771

<!-- Please make sure to follow the contributing guidelines on
https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:medium
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants