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

fix(workspace): the tsconfig links to generate libraries #2648

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kpanot
Copy link
Contributor

@kpanot kpanot commented Dec 23, 2024

Proposed change

fix(workspace): the tsconfig links to generate libraries

It fixes the following points:

  • generate the tsconfig.build.json (mandatory for lib standalone publishing)
  • remove the dist/ path from the tsconfig.base.json which is leading to wrong path mapping when the library was locally built
  • register properly the lib in both tsconfig files
  • update the tsconfig.lib.prod.json to extend the correct tsconfig

Related issues

- No issue associated -

@kpanot kpanot requested a review from a team as a code owner December 23, 2024 05:20
Copy link

nx-cloud bot commented Dec 23, 2024

View your CI Pipeline Execution ↗ for commit e73788e.

Command Status Duration Result
nx run-many --target=test-int ✅ Succeeded 9m 29s View ↗
nx run-many --target=build --projects=eslint-pl... ✅ Succeeded <1s View ↗
nx run-many --target=test-e2e ✅ Succeeded 2m 29s View ↗
nx run-many --target=publish --nx-bail --userco... ✅ Succeeded 35s View ↗
nx run-many --target=documentation ✅ Succeeded 1m 18s View ↗
nx affected --target=test --cacheDirectory=D:\a... ✅ Succeeded 13s View ↗
nx run ama-sdk-schematics:build-swagger ✅ Succeeded <1s View ↗
nx run-many --target=build ✅ Succeeded 33s View ↗
Additional runs (4) ✅ Succeeded ... View ↗

☁️ Nx Cloud last updated this comment at 2024-12-23 08:06:38 UTC

@github-actions github-actions bot added bug Something isn't working project:@o3r/workspace labels Dec 23, 2024
@kpanot kpanot force-pushed the bugfix/library-generation branch from d9c04af to e73788e Compare December 23, 2024 07:42
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

Attention: Patch coverage is 91.30435% with 2 lines in your changes missing coverage. Please review.

Project coverage is 70.79%. Comparing base (c8834dc) to head (e73788e).

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...o3r/workspace/schematics/library/rules/rules.ng.ts 91.30% 1 Missing and 1 partial ⚠️
Additional details and impacted files

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working project:@o3r/workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant