@ambasada/cli 0.8.20 → 0.8.22
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 -3
- package/dist/ambasada.mjs +1738 -1563
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ambasada/cli: `ambasada`
|
|
2
2
|
|
|
3
|
-
Build and host apps on
|
|
3
|
+
Build and host apps on ambasada. One dependency-free file (`dist/ambasada.mjs`, the platform templates embedded).
|
|
4
4
|
`pnpm build`, then `node dist/ambasada.mjs --help`; from source: `pnpm village --help`. The command tree is in
|
|
5
5
|
docs/PLATFORM.md §3.
|
|
6
6
|
|
|
@@ -17,7 +17,7 @@ db migrate|shell|tables | kv … | files … add <addon> | upgrade
|
|
|
17
17
|
`.ambasada/project.json`), dev, link, check, env, logs, add. `src/deploy.ts`: build, workerd smoke test, upload.
|
|
18
18
|
`src/storage.ts`: `db`, `kv`, `files` (docs/STORAGE.md). `src/tunnel.ts`: docs/TUNNEL.md. `src/upgrade.ts`:
|
|
19
19
|
`ambasada upgrade` (docs/PLATFORM.md §3a).
|
|
20
|
-
- `src/mock/`: the platform mock on :8788 (a fake
|
|
20
|
+
- `src/mock/`: the platform mock on :8788 (a fake ambasada ID issuer for Sign in with ambasada and silent sign-in,
|
|
21
21
|
a fake hub for notifications and app events, the store, files, device login).
|
|
22
22
|
- `src/plugin.ts`: add-ons. A package with `"ambasada": { "plugin": "./dist/cli.mjs" }` among the project's
|
|
23
23
|
dependencies (or in `addons: []` of `ambasada.config.ts`, or `AMBASADA_ADDONS`) is imported and its
|
|
@@ -27,4 +27,4 @@ db migrate|shell|tables | kv … | files … add <addon> | upgrade
|
|
|
27
27
|
- Tests: `test/smoke.test.ts` runs the templates under `ambasada dev` (and a `--village` one through the bank and
|
|
28
28
|
deploy); `test/upgrade.test.ts` upgrades a 0.7 project; `test/templates.test.ts` keeps the templates in step.
|
|
29
29
|
|
|
30
|
-
Built by [CENTYSO](https://centyso.com) for [
|
|
30
|
+
Built by [CENTYSO](https://centyso.com) for [ambasada](https://ambasada.id). MIT.
|