@xanots/sdk 0.0.9 → 0.0.10
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/CHANGELOG.md +17 -0
- package/README.md +28 -21
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-4W37DGXS.js → agent-file-refresh-QNKN5RYD.js} +3 -3
- package/dist/bin.js +8 -7
- package/dist/{branch-commands-PBQ36L4A.js → branch-commands-2BLOC2GR.js} +13 -11
- package/dist/{capture-7PO6SGB4.js → capture-4WVJY4DQ.js} +2 -2
- package/dist/{chunk-ZOYMZZ3S.js → chunk-3INK4Y4E.js} +1 -1
- package/dist/{chunk-NDZFBZHC.js → chunk-3UABJA4X.js} +1 -1
- package/dist/{chunk-7OXFMCTX.js → chunk-5R73LFWK.js} +3 -3
- package/dist/{chunk-OW2QZEWL.js → chunk-5YCQ2QHH.js} +2 -2
- package/dist/{chunk-5YQOIFT4.js → chunk-75Z74TA7.js} +2 -2
- package/dist/{chunk-QTNO2WD6.js → chunk-7ZYW652H.js} +1 -1
- package/dist/{chunk-K3YSQDXJ.js → chunk-ACCBOMCB.js} +91 -74
- package/dist/{chunk-4PTSTDIG.js → chunk-AIZKXUNP.js} +2 -2
- package/dist/{chunk-P5C2YKAM.js → chunk-ANUDXFEX.js} +18 -27
- package/dist/chunk-CTD5ZCV6.js +28 -0
- package/dist/{chunk-5HCDZ2XN.js → chunk-DBFU47BJ.js} +2 -2
- package/dist/{chunk-OKNSR7MT.js → chunk-DIA7CT7J.js} +129 -150
- package/dist/{chunk-JQLR64UC.js → chunk-F6CYJ7TN.js} +21 -6
- package/dist/{chunk-BKDJN76G.js → chunk-FE5I6S6N.js} +1 -1
- package/dist/{chunk-L6TPHWAU.js → chunk-I7DQDJAM.js} +30 -48
- package/dist/{chunk-QIWBCS7N.js → chunk-JGCWTCA7.js} +2 -2
- package/dist/{chunk-MDXR5E5Q.js → chunk-K5IOND4K.js} +2 -2
- package/dist/{chunk-4PE4ZAB7.js → chunk-KA6G2L7U.js} +5 -5
- package/dist/{chunk-QONOJO45.js → chunk-LBYWGMOA.js} +1 -1
- package/dist/{chunk-ZZLPTHT5.js → chunk-P6TAVLOX.js} +2 -2
- package/dist/{chunk-3QW5NFZJ.js → chunk-QKM4U5UK.js} +3 -3
- package/dist/{chunk-T4XPCJRF.js → chunk-TCFIPDB3.js} +1 -1
- package/dist/{chunk-UDL46O35.js → chunk-VKSOTZK3.js} +2 -2
- package/dist/{chunk-6DHBYBTO.js → chunk-VNQM3V2C.js} +1 -2
- package/dist/{chunk-KSV7VOEX.js → chunk-W24FJHPD.js} +3 -3
- package/dist/chunk-WGPXT2G2.js +22 -0
- package/dist/{chunk-6AAT2AYQ.js → chunk-WP4OZZV4.js} +2 -2
- package/dist/{chunk-MU3O43L2.js → chunk-YBC3IKMF.js} +2 -2
- package/dist/{chunk-6Z5CNWFC.js → chunk-YYFXVYPX.js} +37 -6
- package/dist/chunk-ZQ2PKR6R.js +40 -0
- package/dist/cli.d.ts +57 -31
- package/dist/cli.js +6 -5
- package/dist/codegen-command-GB3H2KQ7.js +46 -0
- package/dist/{completion-A6BZ3XGU.js → completion-WF46272M.js} +2 -2
- package/dist/{config-NL33PN4D.js → config-476F3PT5.js} +1 -1
- package/dist/{deploy-command-5TTI4TUP.js → deploy-command-QTIVA22A.js} +67 -99
- package/dist/{ephemeral-command-7TK52YQM.js → ephemeral-command-U4AQ3TXX.js} +25 -28
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/{init-command-OVFFW4QS.js → init-command-MAXULNAD.js} +13 -10
- package/dist/{onboard-command-EHOHKQQU.js → init-web-3JNFG6GI.js} +10 -10
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +27 -36
- package/dist/{live-diff-QK4KC2FJ.js → live-diff-IXKBVG4K.js} +3 -3
- package/dist/{lock-commands-ET7NIOLH.js → lock-commands-DQ7CUMIV.js} +20 -19
- package/dist/{login-command-DFCURZLC.js → login-command-Z6CHTA57.js} +7 -7
- package/dist/{logout-command-WXVZQCAV.js → logout-command-ER6IKAYJ.js} +2 -2
- package/dist/{loop-7SAIGRCZ.js → loop-D5NPL4VH.js} +3 -3
- package/dist/{marketplace-command-BCOAAN2I.js → marketplace-command-P4IPLJ6J.js} +6 -6
- package/dist/{meta-client-57ZWVHST.js → meta-client-K2J4XH64.js} +6 -6
- package/dist/node.d.ts +2 -2
- package/dist/node.js +9 -8
- package/dist/{validate-command-SK5FPCV7.js → preflight-command-GZ2GE5RN.js} +17 -16
- package/dist/{profile-command-QJAAUZIV.js → profile-command-LJSBDV2L.js} +5 -5
- package/dist/{release-command-4EXVLYV2.js → release-command-YUBTNHVX.js} +36 -33
- package/dist/{routes-manifest-SP3ZXLMR.js → routes-manifest-PWZHDOI5.js} +2 -2
- package/dist/scaffold.js +2 -2
- package/dist/{static-host-D6KS7X45.js → static-host-3WMV7IZO.js} +1 -1
- package/dist/status-command-AL47VG7H.js +162 -0
- package/dist/{store-CUCBSYLj.d.ts → store-BG1UPZ3Z.d.ts} +5 -5
- package/dist/{test-command-2F5LKMI6.js → test-command-YAZLKLGQ.js} +45 -28
- package/dist/{upgrade-command-QL523I62.js → upgrade-command-FB5QJ363.js} +13 -12
- package/dist/{workspace-K72NP7SX.js → workspace-2COHDBM3.js} +1 -1
- package/dist/{workspace-command-HYA6JEKK.js → workspace-command-43P42FBP.js} +31 -32
- package/dist/{workspace-export-AJMGN3CQ.js → workspace-export-DURY5WYL.js} +2 -2
- package/guides/README.md +2 -2
- package/guides/cli.md +17 -19
- package/guides/codegen.md +21 -5
- package/guides/coverage.md +1 -1
- package/guides/deploying.md +31 -34
- package/guides/environment.md +4 -4
- package/guides/object-kinds.md +3 -3
- package/guides/project-structure.md +1 -1
- package/guides/scaffold.md +25 -2
- package/guides/typed-frontend.md +1 -1
- package/llms/kinds-agent-mcp.md +1 -1
- package/llms/kinds-core.md +1 -1
- package/llms/kinds-realtime.md +1 -1
- package/llms/lock.md +5 -5
- package/llms/tests.md +1 -1
- package/llms-full.txt +25 -34
- package/llms.txt +16 -25
- package/manifest.json +95 -426
- package/package.json +1 -1
- package/dist/chunk-3EYUR3TX.js +0 -100
- package/dist/chunk-JQJPFUZI.js +0 -118
- package/dist/chunk-YNZFIY4J.js +0 -78
- package/dist/codegen-command-YSCSCVT5.js +0 -43
- package/dist/env-target-4T7AT347.js +0 -16
- package/dist/sandbox-details-command-EDO56IY3.js +0 -18
- package/dist/sandbox-export-command-MO6DEZ7Z.js +0 -24
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,23 @@ listed here.
|
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
+
## 0.0.9 — Eight reports from real use
|
|
15
|
+
|
|
16
|
+
_2026-08-31_ · [release notes](https://github.com/xanots/sdk/releases/tag/v0.0.9)
|
|
17
|
+
|
|
18
|
+
Eight reports, all from one round of real-world use, and every one of them a case that type-checks, exports under `--strict` and deploys clean before going wrong. The headline is a deploy that could not succeed at all: any seeded number below `1e-4` failed the import with a signature error that named nothing. The rest correct places where the docs described behavior the engine does not have — a search operator that silently matches nothing, a by-id read that rejects the sentinel the field docs prescribe, and a seeding question whose two possible answers demanded opposite designs.
|
|
19
|
+
|
|
20
|
+
- Seed data holding a number below `1e-4` no longer fails the deploy
|
|
21
|
+
- ⚠️ Every test JSON document puts its per-test array under `tests`
|
|
22
|
+
- `like` and `ilike` match nothing for a bare term — reach for `includes`
|
|
23
|
+
- `db.get_by_id` rejects the `0` optional-FK sentinel, and takes the whole request with it
|
|
24
|
+
- A seeded `f.password()` column IS hashed, so demo credentials work as fixtures
|
|
25
|
+
- Native email is discoverable, and the built-in provider needs no configuration
|
|
26
|
+
- A relative entry path names the directory it resolved against
|
|
27
|
+
- Three fields the docs called plain values take tagged ones
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
14
31
|
## 0.0.8 — The auth() lookalike
|
|
15
32
|
|
|
16
33
|
_2026-08-30_ · [release notes](https://github.com/xanots/sdk/releases/tag/v0.0.8)
|
package/README.md
CHANGED
|
@@ -119,17 +119,17 @@ The starter backend is empty but already compiles and deploys — grow it from t
|
|
|
119
119
|
in `xano/EXAMPLE.md`. For the flags, the two presets, theming, and add-ons, see
|
|
120
120
|
[The scaffolded project](https://github.com/xanots/sdk/blob/main/guides/scaffold.md).
|
|
121
121
|
|
|
122
|
-
Prefer to see the theme before you commit to it? `
|
|
123
|
-
|
|
124
|
-
|
|
122
|
+
Prefer to see the theme before you commit to it? `--web` picks the framework, the palette,
|
|
123
|
+
the typefaces and the add-ons in a browser, against a live preview, and hands the result
|
|
124
|
+
back to `init` here in your terminal.
|
|
125
125
|
|
|
126
126
|
```bash
|
|
127
|
-
npx @xanots/sdk
|
|
127
|
+
npx @xanots/sdk init my-app --web
|
|
128
128
|
```
|
|
129
129
|
|
|
130
130
|
It is a nicer way to arrive at the flags above, not a second scaffolder — it prints the
|
|
131
131
|
equivalent `init` command when it is done, so the project stays reproducible from a script.
|
|
132
|
-
The configurator is downloaded on demand, so `
|
|
132
|
+
The configurator is downloaded on demand, so `--web` needs the registry before it can
|
|
133
133
|
start; `init` reaches out only to install the new project's dependencies, which
|
|
134
134
|
`--no-install` skips.
|
|
135
135
|
|
|
@@ -263,7 +263,7 @@ statements, values, inputs, and middleware are all in the
|
|
|
263
263
|
|
|
264
264
|
| Command | Where it goes |
|
|
265
265
|
|---|---|
|
|
266
|
-
| `xanots deploy` | A disposable **ephemeral** environment
|
|
266
|
+
| `xanots deploy` | A disposable **ephemeral** environment — create-or-refreshed each run, auto-expiring, with its own URL. There is no other destination and no flag to choose one. |
|
|
267
267
|
| `xanots release` | Your **main Xano instance** workspace — the production target. **Merges** by default: objects are updated in place or added, and your table data is never touched unless you ask. |
|
|
268
268
|
|
|
269
269
|
Every `deploy` is a **full replace** of the disposable environment — always fresh, no merge
|
|
@@ -277,10 +277,15 @@ change, and asks. `--yes` skips the prompt for CI but never skips the preview. S
|
|
|
277
277
|
`xanots release ./xano/index.ts --dry-run` to see the plan without committing to it.
|
|
278
278
|
|
|
279
279
|
> ⚠️ A deploy is a full replace of the target environment, **including its table records**,
|
|
280
|
-
> before importing. The blast radius is your own disposable ephemeral
|
|
280
|
+
> before importing. The blast radius is your own disposable ephemeral — but
|
|
281
281
|
> anything you only ever created by hand in it is gone. That is exactly why production has a
|
|
282
282
|
> separate `release` path.
|
|
283
283
|
|
|
284
|
+
`xanots status` answers where you stand in one read — who you are signed in as, which
|
|
285
|
+
instance and workspace your credential is bound to, and the environment this project last
|
|
286
|
+
deployed to, including whether it is still alive and when it expires. You never have to
|
|
287
|
+
remember the environment's name; it is tracked with the project.
|
|
288
|
+
|
|
284
289
|
Every flag, the `--prune` rules, the identity model, and headless CI runs are in
|
|
285
290
|
[Signing in & deploying](https://github.com/xanots/sdk/blob/main/guides/deploying.md). Environment management is
|
|
286
291
|
`xanots ephemeral <list|get|delete|export>`.
|
|
@@ -291,8 +296,9 @@ The tests you author — a `tests` entry on a query, function, or middleware, or
|
|
|
291
296
|
`workflowTest()` — run against a deployed environment:
|
|
292
297
|
|
|
293
298
|
```bash
|
|
294
|
-
npx xanots test run-all
|
|
295
|
-
npx xanots test run-all --
|
|
299
|
+
npx xanots test run-all # the ephemeral you last deployed to
|
|
300
|
+
npx xanots test run-all --env ephemeral:pr-3 # or a named one
|
|
301
|
+
npx xanots test run-all --env workspace # or your real workspace (this only reads)
|
|
296
302
|
```
|
|
297
303
|
|
|
298
304
|
`xanots test list` shows what is there without running it, and `xanots test run "<name>"`
|
|
@@ -344,7 +350,7 @@ Importing a def carries the SDK runtime with it. When that matters, emit a route
|
|
|
344
350
|
instead — plain data plus one interpolator, importing nothing:
|
|
345
351
|
|
|
346
352
|
```bash
|
|
347
|
-
xanots
|
|
353
|
+
xanots routes ./xano/index.ts --emit xano/routes.gen.ts
|
|
348
354
|
```
|
|
349
355
|
|
|
350
356
|
Route names and their `{param}` keys are still checked at compile time, so a backend rename
|
|
@@ -356,21 +362,22 @@ rules, endpoint-name constraints, and the realtime helpers are in
|
|
|
356
362
|
|
|
357
363
|
## Already have a Xano workspace?
|
|
358
364
|
|
|
359
|
-
`
|
|
365
|
+
`--from` runs the loop the other way: it reads a workspace and writes it back out as
|
|
360
366
|
readable XanoTS source — real `s.db.query(...)`, `f.email()`, typed defs — not a JSON dump.
|
|
361
|
-
And not a loose pile of files either:
|
|
362
|
-
scaffolds, with the pulled workspace filling `xano
|
|
367
|
+
And not a loose pile of files either: it is the same runnable project `xanots init`
|
|
368
|
+
scaffolds, with the pulled workspace filling `xano/` instead of the starter. So a pull
|
|
369
|
+
deploys:
|
|
363
370
|
|
|
364
371
|
```bash
|
|
365
|
-
xanots
|
|
372
|
+
xanots init my-app --from workspace # your real workspace (the one your login is scoped to)
|
|
366
373
|
cd my-app
|
|
367
374
|
npm run build
|
|
368
|
-
npm run xano:deploy
|
|
375
|
+
npm run xano:deploy # → a live ephemeral URL
|
|
369
376
|
```
|
|
370
377
|
|
|
371
|
-
The other
|
|
372
|
-
|
|
373
|
-
|
|
378
|
+
The other two sources are the same flag with a different value — `--from ephemeral:<name>`,
|
|
379
|
+
and `--from ./ws.json` for a bundle already on disk (offline, no login). Everything else about the project is unchanged, so `--theme`, `--ai` and `--web`
|
|
380
|
+
compose with a pull exactly as they do with a starter.
|
|
374
381
|
|
|
375
382
|
Object identities are preserved, so cross-references stay intact, and a statement this SDK
|
|
376
383
|
does not model yet round-trips verbatim rather than breaking the pull. Then it checks its own
|
|
@@ -379,7 +386,7 @@ from, so "it compiled" and "it means the same thing" are separate claims and you
|
|
|
379
386
|
|
|
380
387
|
> ⚠️ **`xano/` is a scratch surface.** Regenerating rewrites it, it carries schema only — no
|
|
381
388
|
> table rows — and deploying it is a *full replace* of the target. Pull from your real
|
|
382
|
-
> workspace, edit, and `deploy` to a disposable ephemeral
|
|
389
|
+
> workspace, edit, and `deploy` to a disposable ephemeral. Workspace env var
|
|
383
390
|
> **values** ride inline in `xano/workspace.ts`, so treat a pulled tree as secret-bearing
|
|
384
391
|
> before you commit it.
|
|
385
392
|
|
|
@@ -401,10 +408,10 @@ reference, the guides carry the shape of a project and the behavior that will bi
|
|
|
401
408
|
| [Object kinds](https://github.com/xanots/sdk/blob/main/guides/object-kinds.md) | Every authorable kind, and splitting a workspace across microservices |
|
|
402
409
|
| [Authoring reference](https://github.com/xanots/sdk/blob/main/guides/authoring.md) | Tables and fields, statements, values, inputs, middleware, seed data |
|
|
403
410
|
| [CLI](https://github.com/xanots/sdk/blob/main/guides/cli.md) | Every command, shell completion, and what failures look like |
|
|
404
|
-
| [Signing in & deploying](https://github.com/xanots/sdk/blob/main/guides/deploying.md) | Auth, ephemerals, `--static`, releasing to production, `xanots
|
|
411
|
+
| [Signing in & deploying](https://github.com/xanots/sdk/blob/main/guides/deploying.md) | Auth, ephemerals, `--static`, releasing to production, `xanots preflight` |
|
|
405
412
|
| [Environment & identity](https://github.com/xanots/sdk/blob/main/guides/environment.md) | Every environment variable, and how `xano.lock` pins identity |
|
|
406
413
|
| [The typed frontend surface](https://github.com/xanots/sdk/blob/main/guides/typed-frontend.md) | Path resolution, input/response inference, bundle cost, the route manifest |
|
|
407
|
-
| [Pulling an existing workspace](https://github.com/xanots/sdk/blob/main/guides/codegen.md) | What `xanots
|
|
414
|
+
| [Pulling an existing workspace](https://github.com/xanots/sdk/blob/main/guides/codegen.md) | What `xanots init --from` writes, how faithful it is, and how to read its report |
|
|
408
415
|
| [Coverage & agent grounding](https://github.com/xanots/sdk/blob/main/guides/coverage.md) | What is covered, what is out of scope, and the files agents read |
|
|
409
416
|
|
|
410
417
|
The package also ships two machine-readable descriptions of the same surface, generated from
|
package/dist/.build-fingerprint
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
d72e74909376b02042f7e65298a7158f3c3646928e959af4a14a7409667d070d
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
codingAgentDetected,
|
|
4
4
|
isCI,
|
|
5
5
|
refreshAgentFiles
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-JGCWTCA7.js";
|
|
7
|
+
import "./chunk-KA6G2L7U.js";
|
|
8
8
|
import "./chunk-ZSYZTGJH.js";
|
|
9
9
|
import "./chunk-Q77KNEUL.js";
|
|
10
10
|
import "./chunk-EZG76F7R.js";
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
isCI,
|
|
15
15
|
refreshAgentFiles
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=agent-file-refresh-
|
|
17
|
+
//# sourceMappingURL=agent-file-refresh-QNKN5RYD.js.map
|
package/dist/bin.js
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
maybeNotifyUpdate
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5YCQ2QHH.js";
|
|
5
5
|
import {
|
|
6
6
|
readVersion,
|
|
7
7
|
run
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ACCBOMCB.js";
|
|
9
|
+
import "./chunk-CTD5ZCV6.js";
|
|
10
|
+
import "./chunk-OYMR5AMJ.js";
|
|
9
11
|
import {
|
|
10
12
|
exitCodeOf,
|
|
11
13
|
reportFailure
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-OYMR5AMJ.js";
|
|
14
|
+
} from "./chunk-F6CYJ7TN.js";
|
|
14
15
|
import "./chunk-GNPVYOPB.js";
|
|
15
16
|
import {
|
|
16
17
|
clearProgress,
|
|
17
18
|
error
|
|
18
19
|
} from "./chunk-EZG76F7R.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-VKSOTZK3.js";
|
|
21
|
+
import "./chunk-DIA7CT7J.js";
|
|
22
|
+
import "./chunk-LBYWGMOA.js";
|
|
22
23
|
import "./chunk-WHOJWOSV.js";
|
|
23
24
|
import "./chunk-5XZ744TS.js";
|
|
24
25
|
import "./chunk-7JDT4PBU.js";
|
|
@@ -6,19 +6,20 @@ import {
|
|
|
6
6
|
} from "./chunk-EQW3YT5U.js";
|
|
7
7
|
import {
|
|
8
8
|
confirm
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
getAccessToken
|
|
12
|
-
} from "./chunk-3QW5NFZJ.js";
|
|
13
|
-
import "./chunk-BKDJN76G.js";
|
|
9
|
+
} from "./chunk-AIZKXUNP.js";
|
|
14
10
|
import {
|
|
15
11
|
isMachineOutput,
|
|
16
12
|
writeJson
|
|
17
13
|
} from "./chunk-NUQCEOKA.js";
|
|
14
|
+
import {
|
|
15
|
+
getAccessToken
|
|
16
|
+
} from "./chunk-QKM4U5UK.js";
|
|
17
|
+
import "./chunk-FE5I6S6N.js";
|
|
18
18
|
import "./chunk-3IGNIP6R.js";
|
|
19
19
|
import {
|
|
20
|
-
UsageError
|
|
21
|
-
|
|
20
|
+
UsageError,
|
|
21
|
+
assertNoForce
|
|
22
|
+
} from "./chunk-F6CYJ7TN.js";
|
|
22
23
|
import "./chunk-GNPVYOPB.js";
|
|
23
24
|
import {
|
|
24
25
|
blank,
|
|
@@ -28,7 +29,7 @@ import {
|
|
|
28
29
|
success,
|
|
29
30
|
warn
|
|
30
31
|
} from "./chunk-EZG76F7R.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-DIA7CT7J.js";
|
|
32
33
|
|
|
33
34
|
// src/emit/branch-commands.ts
|
|
34
35
|
var VERBS = ["list", "set-live", "delete"];
|
|
@@ -60,6 +61,7 @@ function renderList(branches, workspaceId) {
|
|
|
60
61
|
detail("Branches scope logic. Tables and microservices are shared by every branch.");
|
|
61
62
|
}
|
|
62
63
|
async function runBranchCommand(args) {
|
|
64
|
+
assertNoForce(args.force, "workspace", "branch");
|
|
63
65
|
const verb = assertVerb(args.positionals[0]);
|
|
64
66
|
const auth = await getAccessToken(args);
|
|
65
67
|
const workspaceId = auth.workspaceId;
|
|
@@ -87,7 +89,7 @@ async function runBranchCommand(args) {
|
|
|
87
89
|
if (outgoing !== void 0) detail(`The runtime stops serving "${outgoing}" and starts serving "${label}".`);
|
|
88
90
|
detail("Table data is unaffected \u2014 it is shared by every branch either way.");
|
|
89
91
|
blank();
|
|
90
|
-
if (!args.yes
|
|
92
|
+
if (!args.yes) {
|
|
91
93
|
const ok = await confirm(`Make "${label}" the live branch?`, {
|
|
92
94
|
flag: "--yes",
|
|
93
95
|
helpFor: { command: "workspace", subcommand: "branch" }
|
|
@@ -114,7 +116,7 @@ Promote another branch first (\`xanots workspace branch set-live <other>\`), the
|
|
|
114
116
|
{ helpFor: { command: "workspace", subcommand: "branch" } }
|
|
115
117
|
);
|
|
116
118
|
}
|
|
117
|
-
if (!args.yes
|
|
119
|
+
if (!args.yes) {
|
|
118
120
|
const ok = await confirm(`Delete branch "${label}" from workspace #${workspaceId}?`, {
|
|
119
121
|
flag: "--yes",
|
|
120
122
|
helpFor: { command: "workspace", subcommand: "branch" }
|
|
@@ -131,4 +133,4 @@ Promote another branch first (\`xanots workspace branch set-live <other>\`), the
|
|
|
131
133
|
export {
|
|
132
134
|
runBranchCommand
|
|
133
135
|
};
|
|
134
|
-
//# sourceMappingURL=branch-commands-
|
|
136
|
+
//# sourceMappingURL=branch-commands-2BLOC2GR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fixtureDirForKind
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TCFIPDB3.js";
|
|
4
4
|
|
|
5
5
|
// src/validate/capture.ts
|
|
6
6
|
import { mkdirSync, writeFileSync } from "fs";
|
|
@@ -29,4 +29,4 @@ function safeName(name) {
|
|
|
29
29
|
export {
|
|
30
30
|
captureFixtures
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=capture-
|
|
32
|
+
//# sourceMappingURL=capture-4WVJY4DQ.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
realtimeChannelGuid,
|
|
7
7
|
realtimeServerRefName,
|
|
8
8
|
resolveRealtimeServerRef
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-P6TAVLOX.js";
|
|
10
10
|
import {
|
|
11
11
|
assertCanonical,
|
|
12
12
|
assertOneOf,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
resolveAuthRef,
|
|
26
26
|
resolveMockKeys,
|
|
27
27
|
warnLiveDatasource
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-LBYWGMOA.js";
|
|
29
29
|
import {
|
|
30
30
|
encodeStatement
|
|
31
31
|
} from "./chunk-5XZ744TS.js";
|
|
@@ -667,4 +667,4 @@ export {
|
|
|
667
667
|
addonKind,
|
|
668
668
|
addon
|
|
669
669
|
};
|
|
670
|
-
//# sourceMappingURL=chunk-
|
|
670
|
+
//# sourceMappingURL=chunk-5R73LFWK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readVersion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ACCBOMCB.js";
|
|
4
4
|
import {
|
|
5
5
|
atomicWrite
|
|
6
6
|
} from "./chunk-GNPVYOPB.js";
|
|
@@ -170,4 +170,4 @@ export {
|
|
|
170
170
|
upgradeCommand,
|
|
171
171
|
maybeNotifyUpdate
|
|
172
172
|
};
|
|
173
|
-
//# sourceMappingURL=chunk-
|
|
173
|
+
//# sourceMappingURL=chunk-5YCQ2QHH.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
c,
|
|
3
3
|
resp
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LBYWGMOA.js";
|
|
5
5
|
|
|
6
6
|
// src/values/expect.ts
|
|
7
7
|
var TEST_EXPECT_TYPES = [
|
|
@@ -90,4 +90,4 @@ export {
|
|
|
90
90
|
TEST_EXPECT_TYPES,
|
|
91
91
|
expect
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=chunk-
|
|
93
|
+
//# sourceMappingURL=chunk-75Z74TA7.js.map
|