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

feat(sandbox): create the sandox-angular-lib project (ARCH-285) #2848

Merged

Conversation

tschaffter
Copy link
Member

@tschaffter tschaffter commented Sep 23, 2024

Closes https://sagebionetworks.jira.com/browse/ARCH-285

Changelog

  • Add the sandbox-angular-lib project
  • Import the single component from the lib into sandbox-angular-app

References

Preview

Create the library

nx g @nx/angular:library sandbox-angular-lib \
  --directory libs/sandbox/angular-lib \
  --prefix sandbox \
  --projectNameAndRootFormat as-provided \
  --dry-run

Then, I prefixed the key for this project with @sagebionetworks/ in tsconfig.base.json located in the root folder. This enables to import the library as @sagebionetworks/sandbox-angular-lib.

Serve the app

nx serve sandbox-angular-app

image

@tschaffter tschaffter force-pushed the sandbox/add-angular-library branch from 946636b to 40cb27a Compare September 23, 2024 16:19
@tschaffter tschaffter marked this pull request as ready for review September 23, 2024 16:20
@tschaffter tschaffter merged commit 5632759 into Sage-Bionetworks:main Sep 23, 2024
9 of 10 checks passed
@tschaffter tschaffter deleted the sandbox/add-angular-library branch September 23, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant