@laot/bridge 1.0.7 → 1.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 +3 -2
- package/dist/ltbridge.js +68 -67
- package/dist/modules.dat +1 -1
- package/package.json +1 -1
- package/dist/ltbridge-v1.0.6.zip +0 -0
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ When you run `init`, LTBridge creates a simple JSON config.
|
|
|
59
59
|
|
|
60
60
|
| Setting | Default | Description |
|
|
61
61
|
| --- | --- | --- |
|
|
62
|
-
| `buildAsBundle`| `
|
|
62
|
+
| `buildAsBundle`| `false` (non-interactive `init`) / prompt on interactive `init` | Combine everything into 3 clean files (`shared`, `client`, `server`). Set to `true` for bundle mode. |
|
|
63
63
|
| `debug` | `false` | Turn this on if you want to see internal debug prints from the modules. |
|
|
64
64
|
| `minify` | `true` | Enables code optimization and global variable randomization for maximum performance. |
|
|
65
65
|
| `modules` | `[]` | List of installed modules. The tool manages this automatically! |
|
|
@@ -69,7 +69,8 @@ When you run `init`, LTBridge creates a simple JSON config.
|
|
|
69
69
|
| Command | Alias | Description |
|
|
70
70
|
| --- | --- | --- |
|
|
71
71
|
| `ltbridge` | - | **Interactive Menu**: Manage your modules visually. |
|
|
72
|
-
| `ltbridge init` | - | Set up LTBridge in a new project. |
|
|
72
|
+
| `ltbridge init` | - | Set up LTBridge in a new project (runs an initial build unless `--no-build`). |
|
|
73
|
+
| `ltbridge api` | - | Regenerate `ltbridge/api.lua` IDE stubs only. |
|
|
73
74
|
| `ltbridge build` | `sync` | Build the project manually (use `-w` for live auto-build). |
|
|
74
75
|
| `ltbridge add <name>` | - | Add a specific module manually (e.g., `Target/*`). |
|
|
75
76
|
| `ltbridge remove <name>`| - | Remove a module. |
|