-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
[0.8.x] Moving to Typescript #103
Conversation
BREAKING CHANGE: This might introduce some breaking changes if you are not using Typescript (Only in development mode, regular end-user usage should not be affected)
Codecov ReportBase: 71.64% // Head: 72.00% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #103 +/- ##
============================================
+ Coverage 71.64% 72.00% +0.35%
- Complexity 261 263 +2
============================================
Files 44 44
Lines 871 875 +4
============================================
+ Hits 624 630 +6
+ Misses 247 245 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
# Conflicts: # dist/js/tool.js # resources/js/fields/FormField.vue # resources/js/store/index.js # src/Services/FileManagerService.php
ready to merge |
Target version
0.8.x
📣 Summary
This PR introduces a reworked code based which embeds Typescript in every file and component. Vue components have been rewritten to use
<script setup lang="ts">
and Pinia store was improved with better static analysis and types.This PR follows the spirit of building a package that should provide a strongly typed codebase to ensure its resilience to user induced issues due to potential poor type checking. Typescript will give the development team a more robust source code to work with. This should also facilitate new feature development and bug fixes.
🚩 Impact and breaking changes
As this PR only modifies the underlying code base to Typescript, no changes should affect the end users of the package. If you are a developer working on the package, please note that no fixes or new features will be accepted if they're not built with Typescript.
We will be thoroughly testing the package before the upcoming release.
And as always, the package is still in its
0.x
, and no guarantees are to be made as the core functionality of the package. However, we always aim to avoid BCs, yet sometimes changes are necessary to move forward.