create-jilatax 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +38 -9
  2. package/THIRD_PARTY_NOTICES.md +7 -0
  3. package/dist/bin.cjs +6 -0
  4. package/dist/bin.d.cts +1 -0
  5. package/dist/bin.d.ts +1 -0
  6. package/dist/bin.js +8 -0
  7. package/dist/cli-BO6toXiq.cjs +450 -0
  8. package/dist/cli-BQK3vkvN.js +385 -0
  9. package/dist/index.cjs +8 -6
  10. package/dist/index.d.cts +32 -3
  11. package/dist/index.d.ts +32 -3
  12. package/dist/index.js +2 -6
  13. package/package.json +13 -5
  14. package/template/README.md.tmpl +31 -0
  15. package/template/android/app/build.gradle.kts +112 -0
  16. package/template/android/app/proguard-rules.pro +1 -0
  17. package/template/android/app/src/debug/AndroidManifest.xml +8 -0
  18. package/template/android/app/src/main/AndroidManifest.xml +30 -0
  19. package/template/android/app/src/main/res/drawable/jilatax_mark_foreground.xml +11 -0
  20. package/template/android/app/src/main/res/drawable/jilatax_splash.xml +9 -0
  21. package/template/android/app/src/main/res/mipmap-anydpi/jilatax_launcher.xml +12 -0
  22. package/template/android/app/src/main/res/mipmap-anydpi/jilatax_launcher_round.xml +12 -0
  23. package/template/android/app/src/main/res/mipmap-anydpi-v26/jilatax_launcher.xml +5 -0
  24. package/template/android/app/src/main/res/mipmap-anydpi-v26/jilatax_launcher_round.xml +5 -0
  25. package/template/android/app/src/main/res/values/styles.xml +16 -0
  26. package/template/android/app/src/main/res/values-v31/styles.xml +8 -0
  27. package/template/android/build.gradle.kts +5 -0
  28. package/template/android/gradle/wrapper/gradle-wrapper.jar.base64 +1112 -0
  29. package/template/android/gradle/wrapper/gradle-wrapper.properties +7 -0
  30. package/template/android/gradle.properties +6 -0
  31. package/template/android/gradlew +248 -0
  32. package/template/android/gradlew.bat +92 -0
  33. package/template/android/keystore.properties.example +5 -0
  34. package/template/android/settings.gradle.kts.tmpl +29 -0
  35. package/template/gitignore +22 -0
  36. package/template/lynx.config.ts +17 -0
  37. package/template/src/App.css +95 -0
  38. package/template/src/App.tsx.tmpl +23 -0
  39. package/template/src/index.tsx +9 -0
  40. package/template/src/rspeedy-env.d.ts +1 -0
  41. package/template/src/tsconfig.json +13 -0
  42. package/template/tsconfig.json +15 -0
  43. package/template/tsconfig.node.json +12 -0
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
+ <application
4
+ android:name="dev.jilatax.android.JilataxApplication"
5
+ android:allowBackup="false"
6
+ android:enableOnBackInvokedCallback="${jilataxPredictiveBack}"
7
+ android:icon="@mipmap/jilatax_launcher"
8
+ android:label="@string/jilatax_app_name"
9
+ android:roundIcon="@mipmap/jilatax_launcher_round"
10
+ android:supportsRtl="true"
11
+ android:theme="@style/Theme.Jilatax"
12
+ android:usesCleartextTraffic="false">
13
+ <activity
14
+ android:name="dev.jilatax.android.JilataxActivity"
15
+ android:exported="true"
16
+ android:screenOrientation="${jilataxOrientation}"
17
+ android:theme="@style/Theme.Jilatax.Starting">
18
+ <intent-filter>
19
+ <action android:name="android.intent.action.MAIN" />
20
+ <category android:name="android.intent.category.LAUNCHER" />
21
+ </intent-filter>
22
+ <intent-filter>
23
+ <action android:name="android.intent.action.VIEW" />
24
+ <category android:name="android.intent.category.DEFAULT" />
25
+ <category android:name="android.intent.category.BROWSABLE" />
26
+ <data android:scheme="${jilataxScheme}" />
27
+ </intent-filter>
28
+ </activity>
29
+ </application>
30
+ </manifest>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <vector
3
+ xmlns:android="http://schemas.android.com/apk/res/android"
4
+ android:width="108dp"
5
+ android:height="108dp"
6
+ android:viewportWidth="108"
7
+ android:viewportHeight="108">
8
+ <path
9
+ android:fillColor="#38BDF8"
10
+ android:pathData="M24,22 L84,22 L84,34 L62,34 L62,68 C62,82 53,90 39,90 C32,90 26,88 21,84 L27,73 C31,76 35,78 39,78 C46,78 50,74 50,67 L50,34 L24,34 Z" />
11
+ </vector>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
3
+ <item android:drawable="@color/jilatax_splash_background" />
4
+ <item
5
+ android:width="108dp"
6
+ android:height="108dp"
7
+ android:drawable="@drawable/jilatax_mark_foreground"
8
+ android:gravity="center" />
9
+ </layer-list>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <vector
3
+ xmlns:android="http://schemas.android.com/apk/res/android"
4
+ android:width="108dp"
5
+ android:height="108dp"
6
+ android:viewportWidth="108"
7
+ android:viewportHeight="108">
8
+ <path android:fillColor="#0F172A" android:pathData="M0,0 L108,0 L108,108 L0,108 Z" />
9
+ <path
10
+ android:fillColor="#38BDF8"
11
+ android:pathData="M24,22 L84,22 L84,34 L62,34 L62,68 C62,82 53,90 39,90 C32,90 26,88 21,84 L27,73 C31,76 35,78 39,78 C46,78 50,74 50,67 L50,34 L24,34 Z" />
12
+ </vector>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <vector
3
+ xmlns:android="http://schemas.android.com/apk/res/android"
4
+ android:width="108dp"
5
+ android:height="108dp"
6
+ android:viewportWidth="108"
7
+ android:viewportHeight="108">
8
+ <path android:fillColor="#0F172A" android:pathData="M54,4 A50,50 0,1 0,54 104 A50,50 0,1 0,54 4" />
9
+ <path
10
+ android:fillColor="#38BDF8"
11
+ android:pathData="M24,22 L84,22 L84,34 L62,34 L62,68 C62,82 53,90 39,90 C32,90 26,88 21,84 L27,73 C31,76 35,78 39,78 C46,78 50,74 50,67 L50,34 L24,34 Z" />
12
+ </vector>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3
+ <background android:drawable="@color/jilatax_icon_background" />
4
+ <foreground android:drawable="@drawable/jilatax_mark_foreground" />
5
+ </adaptive-icon>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3
+ <background android:drawable="@color/jilatax_icon_background" />
4
+ <foreground android:drawable="@drawable/jilatax_mark_foreground" />
5
+ </adaptive-icon>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <resources>
3
+ <style name="Theme.Jilatax" parent="android:style/Theme.Material.Light.NoActionBar">
4
+ <item name="android:colorAccent">#38BDF8</item>
5
+ <item name="android:navigationBarColor">@color/jilatax_splash_background</item>
6
+ <item name="android:statusBarColor">@color/jilatax_splash_background</item>
7
+ <item name="android:windowActionModeOverlay">true</item>
8
+ <item name="android:windowLightNavigationBar">false</item>
9
+ <item name="android:windowLightStatusBar">false</item>
10
+ <item name="android:windowNoTitle">true</item>
11
+ </style>
12
+
13
+ <style name="Theme.Jilatax.Starting" parent="Theme.Jilatax">
14
+ <item name="android:windowBackground">@drawable/jilatax_splash</item>
15
+ </style>
16
+ </resources>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <resources>
3
+ <style name="Theme.Jilatax.Starting" parent="Theme.Jilatax">
4
+ <item name="android:windowSplashScreenAnimatedIcon">@drawable/jilatax_mark_foreground</item>
5
+ <item name="android:windowSplashScreenAnimationDuration">300</item>
6
+ <item name="android:windowSplashScreenBackground">@color/jilatax_splash_background</item>
7
+ </style>
8
+ </resources>
@@ -0,0 +1,5 @@
1
+ plugins {
2
+ id("com.android.application") apply false
3
+ id("com.android.library") apply false
4
+ id("org.jetbrains.kotlin.android") apply false
5
+ }