-
Notifications
You must be signed in to change notification settings - Fork 56
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: rename views.ts to file-routes.ts #2271
Conversation
This also renames views.json to file-routes.json
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2271 +/- ##
=======================================
Coverage 93.77% 93.77%
=======================================
Files 65 65
Lines 1639 1639
Branches 368 368
=======================================
Hits 1537 1537
Misses 67 67
Partials 35 35
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Follow up for vaadin/hilla#2271 NOTE: the vaadin/hilla#2271 also keeps the generation of views.ts temporarily to prevent possible snapshot build failures. After these two PRs (on both sides) merged successfully, the generation of views.ts would be removed from Hilla codebase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Quality Gate passedIssues Measures |
This is a follow-up PR for #2271
This is a follow-up PR for #2271 Co-authored-by: Luciano Vernaschi <[email protected]>
Description
This renames the
views.ts
tofile-routes.ts
(and also renamesviews.json
tofile-routes.json
for the sake of uniformity), but temporarily keeps theviews.ts
as well for the transition period and compatibility to prevent snapshot build failures.Later, when RouterBuilder is merged and Flow adopted the change, the redundant generation of
views.ts
should be removed completely.Fixes #2239
Fixes #2281