@protobase/cli 0.66.7 → 0.66.9
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/dist/cli/package.js +1 -1
- package/dist/dev/api-forward.js +3 -2
- package/dist/dev/app-files.js +11 -0
- package/dist/dev/check-remote-api.js +18 -0
- package/dist/dev/entry.js +1 -1
- package/dist/dev/remote-api.js +58 -0
- package/dist/dev/run-ui.js +34 -0
- package/dist/dev/run.js +5 -8
- package/dist/main.js +22 -10
- package/package.json +7 -7
- package/skills/protobase/references/features/ai.md +10 -7
- package/skills/protobase/references/features/build-and-run.md +2 -0
- package/skills/protobase/references/features/compatibility.md +6 -6
- package/skills/protobase/references/features/data-model.md +1 -1
- package/skills/protobase/references/features/email-and-public-forms.md +2 -0
- package/skills/protobase/references/features/events-webhooks-and-jobs.md +2 -0
- package/skills/protobase/references/features/files-and-images.md +1 -0
- package/skills/protobase/references/features/look-and-language.md +1 -0
- package/skills/protobase/references/features/navigation.md +5 -4
- package/skills/protobase/references/features/sign-in-and-accounts.md +6 -0
- package/skills/protobase/references/features/your-own-code.md +4 -2
- package/skills/protobase/references/getting-started.md +8 -2
- package/skills/protobase/references/guides/api-functions.md +2 -2
- package/skills/protobase/references/reference/api.md +1 -1
- package/skills/protobase/references/reference/app-identity.md +1 -1
- package/skills/protobase/references/reference/assistant.md +22 -2
- package/skills/protobase/references/reference/auth.md +33 -6
- package/skills/protobase/references/reference/cli.md +19 -3
- package/skills/protobase/references/reference/client.md +1 -1
- package/skills/protobase/references/reference/comments.md +1 -1
- package/skills/protobase/references/reference/custom-components.md +7 -1
- package/skills/protobase/references/reference/data-config.md +1 -1
- package/skills/protobase/references/reference/email.md +1 -1
- package/skills/protobase/references/reference/files.md +4 -0
- package/skills/protobase/references/reference/jobs.md +3 -1
- package/skills/protobase/references/reference/languages.md +2 -2
- package/skills/protobase/references/reference/mcp.md +21 -1
- package/skills/protobase/references/reference/plugins.md +6 -4
- package/skills/protobase/references/reference/sidebar.md +6 -0
- package/skills/protobase/references/reference/supabase-realtime.md +5 -1
- package/skills/protobase/references/reference/supabase-rest.md +5 -1
- package/skills/protobase/references/reference/supabase-storage.md +5 -1
- package/skills/protobase/references/reference/theme.md +1 -1
- package/skills/protobase/references/reference/ui-config.md +6 -2
- package/skills/protobase/references/reference/versioning.md +2 -0
|
@@ -60,7 +60,11 @@ export const repairsView = view<typeof repairs>('repairs')
|
|
|
60
60
|
| `.signIn({ title, description, benefits?, icon?, signUp? })` | What a visitor who is not signed in is told about the resource, in place of its list and by a card's favorite button. See [Sign-in prompts](#sign-in-prompts). |
|
|
61
61
|
| `.form((r) => ({ name, fields, thanks, title?, perMinute? }))` | A public form at `/-/forms/<name>` that creates a record for anyone, signed in or not, behind a rate limit and a bot check. See [Public forms](forms.md). |
|
|
62
62
|
|
|
63
|
-
A browser tab names what it shows, then the app's name ([`name`](config/app.md#name)): `Nordlicht GmbH · Companies · Protobase` on a record page, the plural on a list, `New company · Companies · Protobase` on the create form, and a composed page's title on that page.
|
|
63
|
+
A browser tab names what it shows, then the app's name ([`name`](config/app.md#name)): `Nordlicht GmbH · Companies · Protobase` on a record page, the plural on a list, `New company · Companies · Protobase` on the create form, and a composed page's title on that page, after the label of its tab when it has tabs.
|
|
64
|
+
|
|
65
|
+
### Breadcrumbs
|
|
66
|
+
|
|
67
|
+
The top bar shows where a page is: the sidebar group, the list and the record's title, each a link back. On a phone, a back button before them goes to the one just before the current page.
|
|
64
68
|
|
|
65
69
|
### Titles per reader
|
|
66
70
|
|
|
@@ -607,7 +611,7 @@ The create form at `/<resource>/new`, not a page of the app's own, can open the
|
|
|
607
611
|
|
|
608
612
|
## Sign-in prompts
|
|
609
613
|
|
|
610
|
-
`.signIn({ title, description, benefits?, icon?, signUp? })` on a view tells a visitor who is not signed in what they could do with the resource once signed in. Where a signed-in user sees the list, the visitor sees the prompt: an icon (`icon`, as for field hints, a sign-in icon by default), `title`, `description` and a line per `benefits`, with **Sign in**, which opens the sign-in page and comes back to the same address. A card's [favorite button](#favorites) that saves to the resource, and a list's [Save search](#saved-searches) button that saves to it, open the same prompt as a dialog, with **Not now** to close it. With [open sign-up](auth.md#open-sign-up) on the server, the prompt also offers **Create an account**, which opens the app's own sign-up page. `signUp: { label, href }` names a page elsewhere instead, `https://`, `http://` or `mailto:`, opened in a new tab.
|
|
614
|
+
`.signIn({ title, description, benefits?, icon?, signUp? })` on a view tells a visitor who is not signed in what they could do with the resource once signed in. Where a signed-in user sees the list, the visitor sees the prompt: an icon (`icon`, as for field hints, a sign-in icon by default), `title`, `description` and a line per `benefits`, with **Sign in**, which opens the sign-in page and comes back to the same address. A card's [favorite button](#favorites) that saves to the resource, and a list's [Save search](#saved-searches) button that saves to it, open the same prompt as a dialog, with **Not now** to close it. With [open sign-up](auth.md#open-sign-up) on the server, the prompt also offers **Create an account**, which opens the app's own sign-up page. `signUp: { label, href }` names a page elsewhere instead, `https://`, `http://` or `mailto:`, opened in a new tab. A visitor is most likely new, so where the prompt offers to make an account, that is its primary action and **Sign in** the secondary one.
|
|
611
615
|
|
|
612
616
|
```ts
|
|
613
617
|
view<typeof favorites>('favorites').signIn({
|
|
@@ -53,6 +53,8 @@ Every commit message follows [Conventional Commits](https://www.conventionalcomm
|
|
|
53
53
|
|
|
54
54
|
When `main` moved on while the checks ran, the run of the newer push releases both. `bun run release --dry-run` prints the next version and its notes without tagging anything.
|
|
55
55
|
|
|
56
|
+
A push made with GitHub Actions' own token, such as a pull request the AI review merged, [starts no workflow](https://docs.github.com/en/actions/concepts/security/github_token), but a run by hand always starts one. Running the workflow by hand from `main` without a tag (`gh workflow run release.yml`) releases `main`'s head as a push does, with the same checks, which then run in full, commitlint over the commits since the last `v<version>` tag, and the same release. A release started while another runs waits for it.
|
|
57
|
+
|
|
56
58
|
Running the workflow by hand with a tag (`gh workflow run release.yml -f tag=v0.1.0`) only packs and publishes: the packages at that tag and its version, skipping every version npm already has, and the images, which repeats a missed or half-done publish. A publish that npm fails because it could not read the identity token, or because Sigstore's transparency log already holds its provenance (a 409 after npm's own retry), is tried again up to 3 times, and the 409 counts as published when npm has the version; any other failure fails the run. `node scripts/publish.mjs --dry-run` packs the packages and shows what `npm publish` would send, and `node scripts/publish.mjs --pack`, which CI runs, packs every package without asking npm or publishing. Each package on npm trusts `release.yml` of `PrototeamHQ/protobase` as its publisher; a new package has to be published once by hand before that can be set up. The workflow pushes the images with its own token; a new image on GitHub's registry starts out private and is made public once in its package settings.
|
|
57
59
|
|
|
58
60
|
## Bundled and locked projects
|