@lotics/cli 0.71.0 → 0.74.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 +38 -0
- package/dist/app_commands.d.ts +13 -0
- package/dist/app_commands.js +3 -3
- package/dist/args.d.ts +17 -0
- package/dist/args.js +35 -2
- package/dist/args.test.js +49 -0
- package/dist/cli.js +235 -3
- package/dist/client.d.ts +321 -0
- package/dist/client.js +164 -0
- package/dist/dev/rpc_handler.d.ts +1 -1
- package/dist/dev/rpc_handler.js +10 -2
- package/dist/dev/rpc_handler.test.js +24 -6
- package/dist/generate_app_fields.d.ts +2 -0
- package/dist/generate_app_fields.js +1 -1
- package/dist/generate_package_fields.d.ts +48 -0
- package/dist/generate_package_fields.js +104 -0
- package/dist/generate_package_fields.test.d.ts +1 -0
- package/dist/generate_package_fields.test.js +51 -0
- package/dist/package_commands.d.ts +227 -0
- package/dist/package_commands.js +957 -0
- package/dist/package_commands.test.d.ts +1 -0
- package/dist/package_commands.test.js +303 -0
- package/dist/src/cli.js +1420 -138
- package/dist/starter_template.d.ts +1 -1
- package/dist/starter_template.js +10 -4
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ export interface StarterFile {
|
|
|
42
42
|
* fall back here when the lookup fails.
|
|
43
43
|
*/
|
|
44
44
|
export declare const STARTER_FALLBACK_UI_VERSION = "6.1.0";
|
|
45
|
-
export declare const STARTER_FALLBACK_SDK_VERSION = "0.
|
|
45
|
+
export declare const STARTER_FALLBACK_SDK_VERSION = "0.51.0";
|
|
46
46
|
/**
|
|
47
47
|
* react-native pin for scaffolded apps. Matches the monorepo frontend's pin so
|
|
48
48
|
* an app deep-typechecks `@lotics/ui`'s `.tsx` source against the SAME RN types
|
package/dist/starter_template.js
CHANGED
|
@@ -38,10 +38,11 @@
|
|
|
38
38
|
* fall back here when the lookup fails.
|
|
39
39
|
*/
|
|
40
40
|
export const STARTER_FALLBACK_UI_VERSION = "6.1.0";
|
|
41
|
-
// Must be ≥ the release that added
|
|
42
|
-
//
|
|
43
|
-
//
|
|
44
|
-
|
|
41
|
+
// Must be ≥ the release that added `getAppBinding` (0.51.0, used by package
|
|
42
|
+
// projects' generated .lotics/app_fields.ts) — and note ^0.x caret ranges never
|
|
43
|
+
// cross a minor, so a stale floor here permanently pins scaffolds below the
|
|
44
|
+
// APIs the generated code imports.
|
|
45
|
+
export const STARTER_FALLBACK_SDK_VERSION = "0.51.0";
|
|
45
46
|
/**
|
|
46
47
|
* react-native pin for scaffolded apps. Matches the monorepo frontend's pin so
|
|
47
48
|
* an app deep-typechecks `@lotics/ui`'s `.tsx` source against the SAME RN types
|
|
@@ -267,6 +268,11 @@ export default defineConfig({
|
|
|
267
268
|
build: {
|
|
268
269
|
outDir: "dist",
|
|
269
270
|
sourcemap: true,
|
|
271
|
+
// Top-level await (package projects' generated .lotics/app_fields.ts
|
|
272
|
+
// resolves the installation binding at module load) needs es2022 — Vite's
|
|
273
|
+
// default 'modules' baseline is es2020 and esbuild hard-fails TLA there.
|
|
274
|
+
// Dev already transforms at esnext, so this only aligns the prod build.
|
|
275
|
+
target: "es2022",
|
|
270
276
|
},
|
|
271
277
|
server: {
|
|
272
278
|
// Allow the sandboxed null-origin iframe used by \`lotics app dev\` to
|