-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
refactor(angular-query): build with tsup and remove devtools component #8284
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit e98bab4. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8284 +/- ##
=========================================
+ Coverage 0 46.00% +46.00%
=========================================
Files 0 200 +200
Lines 0 7526 +7526
Branches 0 1726 +1726
=========================================
+ Hits 0 3462 +3462
- Misses 0 3687 +3687
- Partials 0 377 +377 |
9d7016c
to
e98bab4
Compare
This changes the build process of the Angular adapter to use tsup. When not relying on a certain version of the Angular compiler, its mandatory TypeScript version, the Angular runtime or ng-packagr it will be easier to support multiple Angular versions. The Angular packages then only rely on the public API of Angular.
This removes the
<angular-query-devtools>
component as components depend on the Angular compiler.In most cases this can simply be replaced by
withDevtools
, which will load devtools when Angular runs in developer mode. For more details and configuration, see the devtools documentation.Example of withDevtools