create-jilatax 0.0.4 → 0.0.5

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
@@ -6,6 +6,11 @@ Requires Node.js 22.18 or newer and Bun.
6
6
 
7
7
  ## Create an application
8
8
 
9
+ ```sh
10
+ bun create jilatax@latest
11
+ ```
12
+ ---
13
+
9
14
  ```bash
10
15
  bunx create-jilatax@latest my-app
11
16
  cd my-app
package/dist/bin.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  //#region src/bin.ts
3
- require("./cli-BO6toXiq.cjs").runCreateCli().then((exitCode) => {
3
+ require("./cli-DMT97_QW.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-BQK3vkvN.js";
2
+ import { n as runCreateCli } from "./cli-B8DIbCrH.js";
3
3
  //#region src/bin.ts
4
4
  runCreateCli().then((exitCode) => {
5
5
  process.exitCode = exitCode;
@@ -6,8 +6,9 @@ import path from "node:path";
6
6
  import { fileURLToPath } from "node:url";
7
7
  import { parseAppConfig, serializeAndroidProjectConfig } from "jilatax";
8
8
  //#region src/generator.ts
9
- const JILATAX_CLI_VERSION = "^0.0.7";
9
+ const JILATAX_CLI_VERSION = "^0.0.8";
10
10
  const JILATAX_VERSION = "^0.0.5";
11
+ const LYNX_QRCODE_PLUGIN_VERSION = "^0.4.4";
11
12
  const LYNX_REACT_VERSION = "^0.116.2";
12
13
  const LYNX_TYPES_VERSION = "^3.7.0";
13
14
  const REACT_PLUGIN_VERSION = "^0.12.7";
@@ -140,6 +141,7 @@ async function writeGeneratedMetadata(projectRoot, config, projectName) {
140
141
  },
141
142
  devDependencies: {
142
143
  "@jilatax/cli": JILATAX_CLI_VERSION,
144
+ "@lynx-js/qrcode-rsbuild-plugin": LYNX_QRCODE_PLUGIN_VERSION,
143
145
  "@lynx-js/react-rsbuild-plugin": REACT_PLUGIN_VERSION,
144
146
  "@lynx-js/rspeedy": RSPEEDY_VERSION,
145
147
  "@lynx-js/types": LYNX_TYPES_VERSION,
@@ -30,8 +30,9 @@ node_path = __toESM(node_path, 1);
30
30
  let node_url = require("node:url");
31
31
  let jilatax = require("jilatax");
32
32
  //#region src/generator.ts
33
- const JILATAX_CLI_VERSION = "^0.0.7";
33
+ const JILATAX_CLI_VERSION = "^0.0.8";
34
34
  const JILATAX_VERSION = "^0.0.5";
35
+ const LYNX_QRCODE_PLUGIN_VERSION = "^0.4.4";
35
36
  const LYNX_REACT_VERSION = "^0.116.2";
36
37
  const LYNX_TYPES_VERSION = "^3.7.0";
37
38
  const REACT_PLUGIN_VERSION = "^0.12.7";
@@ -164,6 +165,7 @@ async function writeGeneratedMetadata(projectRoot, config, projectName) {
164
165
  },
165
166
  devDependencies: {
166
167
  "@jilatax/cli": JILATAX_CLI_VERSION,
168
+ "@lynx-js/qrcode-rsbuild-plugin": LYNX_QRCODE_PLUGIN_VERSION,
167
169
  "@lynx-js/react-rsbuild-plugin": REACT_PLUGIN_VERSION,
168
170
  "@lynx-js/rspeedy": RSPEEDY_VERSION,
169
171
  "@lynx-js/types": LYNX_TYPES_VERSION,
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_cli = require("./cli-BO6toXiq.cjs");
2
+ const require_cli = require("./cli-DMT97_QW.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-BQK3vkvN.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-B8DIbCrH.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.4",
3
+ "version": "0.0.5",
4
4
  "packageManager": "bun@1.3.4",
5
5
  "description": "Create an Android-first Jilatax application for Lynx and Rspeedy.",
6
6
  "type": "module",
@@ -18,6 +18,9 @@ To run only the Lynx development server:
18
18
  bun run dev
19
19
  ```
20
20
 
21
+ When the build is ready, scan the printed QR code with the Lynx application on
22
+ the same network to preview the bundle on a device.
23
+
21
24
  ## Android App Bundle
22
25
 
23
26
  ```bash
@@ -1,3 +1,4 @@
1
+ import { pluginQRCode } from '@lynx-js/qrcode-rsbuild-plugin';
1
2
  import { pluginReactLynx } from '@lynx-js/react-rsbuild-plugin';
2
3
  import { defineConfig } from '@lynx-js/rspeedy';
3
4
 
@@ -13,5 +14,12 @@ export default defineConfig({
13
14
  bundle: '[name].lynx.bundle',
14
15
  },
15
16
  },
16
- plugins: [pluginReactLynx()],
17
+ plugins: [
18
+ pluginQRCode({
19
+ schema(url: string): string {
20
+ return `${url}?fullscreen=true`;
21
+ },
22
+ }),
23
+ pluginReactLynx(),
24
+ ],
17
25
  });