create-jilatax 0.0.9 → 0.1.0

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.
package/README.md CHANGED
@@ -33,7 +33,8 @@ Generated projects include:
33
33
  - a Lynx and Rspeedy application;
34
34
  - `app.json` as the Jilatax application configuration;
35
35
  - an Android Gradle project linked to `jilatax/android`;
36
- - `bun run run:android` for development on a connected device;
36
+ - `bun run run:android` for development on a connected device; the generated
37
+ APK is located at `android/app/build/outputs/apk/debug/app-debug.apk`;
37
38
  - `bun run create:aab` for a Play Store Android App Bundle.
38
39
 
39
40
  The creator only writes the project and can run `bun install`. Device, Gradle,
package/dist/bin.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  //#region src/bin.ts
3
- require("./cli-6qr3BMqu.cjs").runCreateCli().then((exitCode) => {
3
+ require("./cli-DD2gvmMZ.cjs").runCreateCli().then((exitCode) => {
4
4
  process.exitCode = exitCode;
5
5
  });
6
6
  //#endregion
package/dist/bin.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { n as runCreateCli } from "./cli-CrpTfN81.js";
2
+ import { n as runCreateCli } from "./cli-DLBJ0XnY.js";
3
3
  //#region src/bin.ts
4
4
  runCreateCli().then((exitCode) => {
5
5
  process.exitCode = exitCode;
@@ -184,20 +184,20 @@ function createInitialConfig(displayName, projectName, packageId) {
184
184
  android: {
185
185
  adaptiveIcon: {
186
186
  backgroundColor: "#E8FFF2",
187
- foregroundImage: "./assets/icon.png"
187
+ foregroundImage: "./public/assets/icon.png"
188
188
  },
189
189
  package: packageId,
190
190
  predictiveBackGestureEnabled: false,
191
191
  versionCode: 1
192
192
  },
193
- icon: "./assets/icon.png",
193
+ icon: "./public/assets/icon.png",
194
194
  name: displayName,
195
195
  orientation: "portrait",
196
196
  scheme: schemeBase || "jilatax-app",
197
197
  slug,
198
198
  splash: {
199
199
  backgroundColor: "#041A17",
200
- image: "./assets/splash-icon.png",
200
+ image: "./public/assets/splash-icon.png",
201
201
  imageWidth: 96,
202
202
  resizeMode: "contain"
203
203
  },
@@ -160,20 +160,20 @@ function createInitialConfig(displayName, projectName, packageId) {
160
160
  android: {
161
161
  adaptiveIcon: {
162
162
  backgroundColor: "#E8FFF2",
163
- foregroundImage: "./assets/icon.png"
163
+ foregroundImage: "./public/assets/icon.png"
164
164
  },
165
165
  package: packageId,
166
166
  predictiveBackGestureEnabled: false,
167
167
  versionCode: 1
168
168
  },
169
- icon: "./assets/icon.png",
169
+ icon: "./public/assets/icon.png",
170
170
  name: displayName,
171
171
  orientation: "portrait",
172
172
  scheme: schemeBase || "jilatax-app",
173
173
  slug,
174
174
  splash: {
175
175
  backgroundColor: "#041A17",
176
- image: "./assets/splash-icon.png",
176
+ image: "./public/assets/splash-icon.png",
177
177
  imageWidth: 96,
178
178
  resizeMode: "contain"
179
179
  },
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_cli = require("./cli-6qr3BMqu.cjs");
2
+ const require_cli = require("./cli-DD2gvmMZ.cjs");
3
3
  exports.createHelpText = require_cli.createHelpText;
4
4
  exports.createProject = require_cli.createProject;
5
5
  exports.defaultPackageId = require_cli.defaultPackageId;
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as normalizeDisplayName, i as defaultPackageId, n as runCreateCli, o as normalizeProjectName, r as createProject, s as validatePackageId, t as createHelpText } from "./cli-CrpTfN81.js";
1
+ import { a as normalizeDisplayName, i as defaultPackageId, n as runCreateCli, o as normalizeProjectName, r as createProject, s as validatePackageId, t as createHelpText } from "./cli-DLBJ0XnY.js";
2
2
  export { createHelpText, createProject, defaultPackageId, normalizeDisplayName, normalizeProjectName, runCreateCli, validatePackageId };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-jilatax",
3
- "version": "0.0.9",
3
+ "version": "0.1.0",
4
4
  "packageManager": "bun@1.3.4",
5
5
  "description": "Create an Android-first Jilatax application for Lynx and Rspeedy.",
6
6
  "type": "module",
@@ -2,20 +2,21 @@
2
2
 
3
3
  Android-first Lynx application created with Jilatax.
4
4
 
5
- ## Development
5
+ ## Development (QR)
6
6
 
7
7
  ```bash
8
- bun install
9
- bun run run:android
8
+ bun i
9
+ bun run dev
10
10
  ```
11
11
 
12
12
  The Android command starts Rspeedy, builds and installs the debug APK, verifies
13
- the ADB reverse tunnel, and launches the app once.
13
+ the ADB reverse tunnel, and launches the app once. The generated APK is located
14
+ at `android/app/build/outputs/apk/debug/app-debug.apk`.
14
15
 
15
- To run only the Lynx development server:
16
+ To run only the Lynx development APK (Real Mobile):
16
17
 
17
18
  ```bash
18
- bun run dev
19
+ bun run run:android
19
20
  ```
20
21
 
21
22
  When the build is ready, scan the printed QR code with the Lynx application on
@@ -33,6 +34,8 @@ Play Store release. Never commit signing credentials.
33
34
  Application metadata lives in `app.json`. Android is the only supported native
34
35
  platform in this phase.
35
36
 
36
- Default launcher and splash artwork lives in `assets/`. Update the image paths,
37
- background colors, or splash width in `app.json`; Jilatax synchronizes those
38
- resources before each Android build.
37
+ Default launcher and splash artwork lives in `public/assets/`. Additional local
38
+ fonts can be stored in `public/fonts/`; the included JilataX font is applied to
39
+ the `LYNX TO ANDROID` brand caption. Update the image paths, background colors,
40
+ or splash width in `app.json`; Jilatax synchronizes those resources before each
41
+ Android build.
@@ -1,4 +1,4 @@
1
- import jilataxIcon from '../../../assets/jilatax-icon.png';
1
+ import jilataxIcon from '../../../public/assets/jilatax-icon.png';
2
2
 
3
3
  interface BrandProps {
4
4
  compact?: boolean;
@@ -7,7 +7,7 @@ interface BrandProps {
7
7
  export function Brand({ compact = false }: BrandProps) {
8
8
  return (
9
9
  <view className={`brand${compact ? ' brand--compact' : ''}`}>
10
- <view className={`brand__icon-wrap${compact ? ' brand__icon-wrap--compact' : ''}`}>
10
+ <view className="brand__icon-wrap">
11
11
  <image className="brand__icon" mode="aspectFit" src={jilataxIcon} />
12
12
  </view>
13
13
  <view className="brand__copy">
@@ -1,3 +1,8 @@
1
+ @font-face {
2
+ font-family: JilataX;
3
+ src: url('../../public/fonts/JilataX.otf');
4
+ }
5
+
1
6
  :root {
2
7
  background-color: #f3f7f5;
3
8
  color: #10241d;
@@ -36,17 +41,11 @@
36
41
  .brand__icon-wrap {
37
42
  align-items: center;
38
43
  background-color: #e3eee9;
39
- border-radius: 18px;
44
+ border-radius: 15px;
40
45
  display: flex;
41
- height: 58px;
46
+ height: 48px;
42
47
  justify-content: center;
43
48
  overflow: hidden;
44
- width: 58px;
45
- }
46
-
47
- .brand__icon-wrap--compact {
48
- border-radius: 15px;
49
- height: 48px;
50
49
  width: 48px;
51
50
  }
52
51
 
@@ -71,8 +70,8 @@
71
70
 
72
71
  .brand__caption {
73
72
  color: #688078;
73
+ font-family: JilataX;
74
74
  font-size: 9px;
75
- font-weight: 700;
76
75
  letter-spacing: 1.5px;
77
76
  line-height: 14px;
78
77
  margin-top: 2px;
File without changes