@turbobase/cli 1.1.11 → 1.1.12
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/LICENSE +5 -5
- package/README.md +13 -13
- package/dist/turbobase-standalone.mjs +355 -250
- package/dist/turbobase.js +337 -232
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
Turbobase CLI — Software Licence
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2025-2026 Adam Kundrat. All rights reserved.
|
|
4
4
|
|
|
@@ -10,10 +10,10 @@ handed to customers on a public registry: a customer who installs it needs the
|
|
|
10
10
|
right to run it, and "no rights granted" would not give them that.
|
|
11
11
|
|
|
12
12
|
1. GRANT. Subject to your compliance with these terms and to an active
|
|
13
|
-
agreement with the copyright holder covering the
|
|
13
|
+
agreement with the copyright holder covering the Turbobase service, you are
|
|
14
14
|
granted a non-exclusive, non-transferable, non-sublicensable, revocable
|
|
15
15
|
licence to install and run this software, for the sole purpose of
|
|
16
|
-
authoring, testing, and deploying extensions to
|
|
16
|
+
authoring, testing, and deploying extensions to Turbobase instances you are
|
|
17
17
|
authorised to access. Installing it on your own machines and on continuous
|
|
18
18
|
integration runners you control is permitted under this grant.
|
|
19
19
|
|
|
@@ -27,7 +27,7 @@ right to run it, and "no rights granted" would not give them that.
|
|
|
27
27
|
|
|
28
28
|
3. RESERVATION. All rights not expressly granted here are reserved by the
|
|
29
29
|
copyright holder. This licence covers this software only. It grants no
|
|
30
|
-
rights in the
|
|
30
|
+
rights in the Turbobase service, which is governed by your service
|
|
31
31
|
agreement, and no rights in any trademark.
|
|
32
32
|
|
|
33
33
|
4. THIRD-PARTY COMPONENTS. This software incorporates third-party open source
|
|
@@ -44,5 +44,5 @@ right to run it, and "no rights granted" would not give them that.
|
|
|
44
44
|
THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
45
45
|
|
|
46
46
|
7. TERMINATION. This licence terminates automatically if you breach any of
|
|
47
|
-
these terms, and when your agreement covering the
|
|
47
|
+
these terms, and when your agreement covering the Turbobase service ends.
|
|
48
48
|
On termination you must stop using this software and delete all copies.
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# turbobase
|
|
2
2
|
|
|
3
|
-
The command-line interface to your [
|
|
3
|
+
The command-line interface to your [Turbobase](https://turbobase.io/) instance.
|
|
4
4
|
|
|
5
5
|
Build and ship the apps your team uses, author the extensions that run inside
|
|
6
6
|
your instance, promote a reviewed configuration from sandbox to production, and
|
|
@@ -9,7 +9,7 @@ model — all from one binary, over your instance's HTTP API.
|
|
|
9
9
|
|
|
10
10
|
**Full documentation: [docs.turbobase.io](https://docs.turbobase.io/)**
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Turbobase is a managed service: your instance is provisioned and operated for
|
|
13
13
|
you at [console.turbobase.io](https://console.turbobase.io/). This CLI drives an
|
|
14
14
|
instance you already have — it is not a way to run the platform yourself.
|
|
15
15
|
|
|
@@ -42,7 +42,7 @@ Requires **Node 22, or 24 and newer**.
|
|
|
42
42
|
|
|
43
43
|
## Sign in
|
|
44
44
|
|
|
45
|
-
Mint a personal access token in your
|
|
45
|
+
Mint a personal access token in your Turbobase app under **Settings › Access
|
|
46
46
|
tokens**, then hand it to the CLI. This is the only sign-in path.
|
|
47
47
|
|
|
48
48
|
```sh
|
|
@@ -75,7 +75,7 @@ go deeper.
|
|
|
75
75
|
| Group | What it does |
|
|
76
76
|
| --- | --- |
|
|
77
77
|
| `auth` | Sign in, switch the active instance, manage stored credentials. |
|
|
78
|
-
| `apps` | Build, preview, and ship hosted apps served inside your
|
|
78
|
+
| `apps` | Build, preview, and ship hosted apps served inside your Turbobase app. |
|
|
79
79
|
| `ext` | Author, test, deploy, and observe extensions — hooks and conduits — plus the marketplace. |
|
|
80
80
|
| `project` | Scaffold a project and generate the files an AI agent session reads. |
|
|
81
81
|
| `release` | Ship your project from your own CI — deploy, status, rollback, list. |
|
|
@@ -86,7 +86,7 @@ go deeper.
|
|
|
86
86
|
## Ship a hosted app
|
|
87
87
|
|
|
88
88
|
Hosted apps are served from your instance at `/a/<slug>`, so anyone who can open
|
|
89
|
-
your
|
|
89
|
+
your Turbobase app can open them — no separate hosting, no separate login.
|
|
90
90
|
|
|
91
91
|
Because the app is served same-origin, it inherits your instance's auth: no
|
|
92
92
|
sign-in page to build, no callback, no CORS, no app-owned keys. Visitors who
|
|
@@ -103,7 +103,7 @@ turbobase apps list
|
|
|
103
103
|
|
|
104
104
|
`create` is required before the first deploy — or pass `deploy --create` to fold
|
|
105
105
|
it in. `init` is local-only and touches nothing on the instance. The build runs
|
|
106
|
-
**on your machine**;
|
|
106
|
+
**on your machine**; Turbobase serves the result.
|
|
107
107
|
|
|
108
108
|
`push` and `deploy` are deliberately separate: `push` records the source on the
|
|
109
109
|
instance so the app can be pulled and refined from another machine (or by a
|
|
@@ -125,7 +125,7 @@ can still be promoted. Set the app's display name and description in
|
|
|
125
125
|
`turbobase.json` — the manifest is applied on every deploy. The slug is fixed
|
|
126
126
|
once created: it is the URL, and nothing redirects the old one.
|
|
127
127
|
|
|
128
|
-
→ [Build apps on
|
|
128
|
+
→ [Build apps on Turbobase](https://docs.turbobase.io/build-apps/)
|
|
129
129
|
|
|
130
130
|
## Author and deploy extensions
|
|
131
131
|
|
|
@@ -201,7 +201,7 @@ turbobase ext publish hooks/<file>.ts --name acme-recipes --pkg-version 1.0.0
|
|
|
201
201
|
```
|
|
202
202
|
|
|
203
203
|
Both need a registry credential — set `TURBOBASE_REGISTRY_URL` and
|
|
204
|
-
`TURBOBASE_REGISTRY_TOKEN` from the token
|
|
204
|
+
`TURBOBASE_REGISTRY_TOKEN` from the token Turbobase support issues you. It is
|
|
205
205
|
separate from your instance's access token and is revocable on its own.
|
|
206
206
|
Publishing requires a publisher allowlist.
|
|
207
207
|
|
|
@@ -217,7 +217,7 @@ turbobase project ci # writes .github/workflows/turbobase-release-deploy.yml
|
|
|
217
217
|
```
|
|
218
218
|
|
|
219
219
|
It runs in **your** repo on **your** runner and uploads your checkout's bytes —
|
|
220
|
-
|
|
220
|
+
Turbobase clones nothing and holds no GitHub App key. The CLI is the equal front
|
|
221
221
|
door if you'd rather drive it yourself:
|
|
222
222
|
|
|
223
223
|
```sh
|
|
@@ -255,7 +255,7 @@ or `NO_COLOR=1`.
|
|
|
255
255
|
|
|
256
256
|
## Versioning
|
|
257
257
|
|
|
258
|
-
This package's version is the
|
|
258
|
+
This package's version is the Turbobase release it shipped with, so
|
|
259
259
|
`turbobase --version` tells you which platform release the CLI was built and
|
|
260
260
|
tested against. A version reaches the `latest` tag only after that release is
|
|
261
261
|
live in production.
|
|
@@ -264,11 +264,11 @@ live in production.
|
|
|
264
264
|
|
|
265
265
|
## Documentation
|
|
266
266
|
|
|
267
|
-
- [Getting started](https://docs.turbobase.io/getting-started/what-is-turbobase/) — what
|
|
267
|
+
- [Getting started](https://docs.turbobase.io/getting-started/what-is-turbobase/) — what Turbobase is, and the path to a live instance
|
|
268
268
|
- [CLI overview](https://docs.turbobase.io/cli/overview/) — installing, signing in, and the shape of the tool
|
|
269
269
|
- [CLI reference](https://docs.turbobase.io/cli/reference/) — every command, its flags, and an example
|
|
270
|
-
- [Build apps on
|
|
271
|
-
- [Extending
|
|
270
|
+
- [Build apps on Turbobase](https://docs.turbobase.io/build-apps/) — building against your instance
|
|
271
|
+
- [Extending Turbobase](https://docs.turbobase.io/extending/writing-hooks/) — hooks, conduits, sandboxes, promotion
|
|
272
272
|
|
|
273
273
|
Questions the docs don't answer: [support@turbobase.io](mailto:support@turbobase.io).
|
|
274
274
|
|