@palbase/backend 22.0.0 → 22.0.1
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/docs/README.md +12 -7
- package/docs/llms-full.txt +12 -7
- package/package.json +2 -2
package/docs/README.md
CHANGED
|
@@ -194,13 +194,18 @@ generated client surface) changes; the verb/path do not affect it.
|
|
|
194
194
|
- `palbase push` — deploy the current backend to the selected Environment. For a
|
|
195
195
|
GitHub-backed project it runs `git push`; the pushed source Git branch deploys
|
|
196
196
|
to the Environment configured for that branch.
|
|
197
|
-
- `palbase secret set NAME=value`
|
|
198
|
-
|
|
199
|
-
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
197
|
+
- `palbase secret set NAME=value` (or `set NAME --stdin`, which keeps it out of
|
|
198
|
+
your shell history) / `palbase secret list` / `palbase secret remove NAME` —
|
|
199
|
+
Environment-scoped secrets, read in code via `process.env.NAME`. Everything in
|
|
200
|
+
the vault is sealed: there is no `--secret`/`--plain` classification, and the
|
|
201
|
+
listing answers names and last-changed times, never values.
|
|
202
|
+
- `palbase run -- <command>` — run something on YOUR machine with the project's
|
|
203
|
+
secrets in its environment. There is no `.env` file: nothing writes one and
|
|
204
|
+
nothing reads one, so the values live in one child process and are gone when it
|
|
205
|
+
exits.
|
|
206
|
+
- `config/secrets.ts` — `defineSecrets({ secrets: [secret("NAME")] })` declares
|
|
207
|
+
WHICH secrets the backend needs (never a value). `push` refuses the deploy when
|
|
208
|
+
a required one is missing from the target Environment, naming it.
|
|
204
209
|
- `tsconfig.json` needs `"experimentalDecorators": true` (the scaffold sets it).
|
|
205
210
|
|
|
206
211
|
## Mental model
|
package/docs/llms-full.txt
CHANGED
|
@@ -202,13 +202,18 @@ generated client surface) changes; the verb/path do not affect it.
|
|
|
202
202
|
- `palbase push` — deploy the current backend to the selected Environment. For a
|
|
203
203
|
GitHub-backed project it runs `git push`; the pushed source Git branch deploys
|
|
204
204
|
to the Environment configured for that branch.
|
|
205
|
-
- `palbase secret set NAME=value`
|
|
206
|
-
|
|
207
|
-
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
205
|
+
- `palbase secret set NAME=value` (or `set NAME --stdin`, which keeps it out of
|
|
206
|
+
your shell history) / `palbase secret list` / `palbase secret remove NAME` —
|
|
207
|
+
Environment-scoped secrets, read in code via `process.env.NAME`. Everything in
|
|
208
|
+
the vault is sealed: there is no `--secret`/`--plain` classification, and the
|
|
209
|
+
listing answers names and last-changed times, never values.
|
|
210
|
+
- `palbase run -- <command>` — run something on YOUR machine with the project's
|
|
211
|
+
secrets in its environment. There is no `.env` file: nothing writes one and
|
|
212
|
+
nothing reads one, so the values live in one child process and are gone when it
|
|
213
|
+
exits.
|
|
214
|
+
- `config/secrets.ts` — `defineSecrets({ secrets: [secret("NAME")] })` declares
|
|
215
|
+
WHICH secrets the backend needs (never a value). `push` refuses the deploy when
|
|
216
|
+
a required one is missing from the target Environment, naming it.
|
|
212
217
|
- `tsconfig.json` needs `"experimentalDecorators": true` (the scaffold sets it).
|
|
213
218
|
|
|
214
219
|
## Mental model
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@palbase/backend",
|
|
3
|
-
"version": "22.0.
|
|
4
|
-
"description": "Palbase Backend SDK
|
|
3
|
+
"version": "22.0.1",
|
|
4
|
+
"description": "Palbase Backend SDK \u2014 class controllers (@Controller/@Get/@Post + @Body/@QueryParams/@Param), error classes, schema DSL",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|