@titanpl/cli 26.16.1 → 26.16.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.
- package/README.md +17 -0
- package/package.json +7 -7
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @titanpl/cli
|
|
2
|
+
|
|
3
|
+
The command-line interface (CLI) for Titan Planet. It provides the `titan` and `tit` commands for initializing, building, and running Titan Planet servers.
|
|
4
|
+
|
|
5
|
+
## What it works (What it does)
|
|
6
|
+
The CLI is responsible for bridging your JavaScript codebase with the underlying Rust/Axum engine. It handles scaffolding, compiling JS actions, generating metadata, and running the server.
|
|
7
|
+
|
|
8
|
+
## How it works
|
|
9
|
+
You can install this package globally or use it via your package runner (e.g., `npx`). Alternatively, you can install it as a dev dependency in your project.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx titan help
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
It parses your application source code, coordinates with `@titanpl/packet` to build the required JS endpoints, and then spins up the pre-compiled native core engine for your OS.
|
|
16
|
+
|
|
17
|
+
**Important Note:** Currently, Titan Planet and its entire package ecosystem are only for Windows. The Linux version is in development (dev only) for the new architecture and will be launched later.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@titanpl/cli",
|
|
3
|
-
"version": "26.16.
|
|
4
|
-
"description": "The
|
|
3
|
+
"version": "26.16.4",
|
|
4
|
+
"description": "The unified CLI for Titan Planet. Use it to create, manage, build, and deploy high-performance backend projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"titanpl",
|
|
7
7
|
"titan",
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"titan": "./index.js"
|
|
20
20
|
},
|
|
21
21
|
"optionalDependencies": {
|
|
22
|
-
"@titanpl/engine-win32-x64": "26.16.
|
|
23
|
-
"@titanpl/engine-linux-x64": "26.16.
|
|
24
|
-
"@titanpl/engine-darwin-arm64": "26.16.
|
|
22
|
+
"@titanpl/engine-win32-x64": "26.16.4",
|
|
23
|
+
"@titanpl/engine-linux-x64": "26.16.4",
|
|
24
|
+
"@titanpl/engine-darwin-arm64": "26.16.4"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@titanpl/packet": "
|
|
27
|
+
"@titanpl/packet": "26.16.4",
|
|
28
28
|
"prompts": "^2.4.2",
|
|
29
29
|
"commander": "^11.0.0",
|
|
30
30
|
"chalk": "^4.1.2"
|
|
31
31
|
}
|
|
32
|
-
}
|
|
32
|
+
}
|