-
Notifications
You must be signed in to change notification settings - Fork 45
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
Add Ionic Capacitor #1769
Add Ionic Capacitor #1769
Conversation
d065669
to
3f483fe
Compare
843104b
to
652b279
Compare
Before adding all these MBs to repo we should run squoosh or some other optimizer. |
@@ -0,0 +1,92 @@ | |||
@rem |
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.
Do we need files for Win?
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.
I wouldn't touch any of autogenerated scripts. Just to spend ages fixing it, if something breaks in the future.
|
||
@Test | ||
public void addition_isCorrect() throws Exception { | ||
assertEquals(4, 2 + 2); |
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.
good that we have some test coverage here
we can remove ExampleUnitTest
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.
I would still rather keep this, just in case there is no confusion if we need to generate android/ios platform from scratch, and wonder where did this file came from disappear. But if you are strongly against it, I can delete it as well.
Can you provide requirements and steps how these files were generated - sorry I did not look into ionic since weeks and I remember nothing. thx |
So all files inside
And I wouldn't change those files, I know there is some useless stuff in it - addressing some comments in the PR. |
What was the reason for including these autogenerated files into the repo again? Is it because of unavoidable modifications we need to make to them later on? |
Yeah. Even though we could in theory just commit diffs, and overwrite generated files on |
9265ab3
to
ceea95c
Compare
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1769 +/- ##
==========================================
+ Coverage 81.19% 81.37% +0.18%
==========================================
Files 192 192
Lines 5067 5042 -25
Branches 932 923 -9
==========================================
- Hits 4114 4103 -11
+ Misses 953 939 -14
Flags with carried forward coverage won't be shown. Click here to find out more. |
Folders android and ios were auto generated with npx cap add [platform]. Android platform - example for Android.
Assets for each platform were generated using @capacitor/assets