@stacksjs/defaults 0.75.478 → 0.75.482
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.
|
@@ -199,6 +199,14 @@ For the web renderer, choose a primary content source:
|
|
|
199
199
|
Only enable capabilities the product uses. Craft turns enabled capabilities
|
|
200
200
|
into native bridge availability and required iOS privacy descriptions.
|
|
201
201
|
|
|
202
|
+
`ios.capabilities.notificationAttachments` explicitly opts into Craft's rich
|
|
203
|
+
push notification service extension (craft-native >= 0.0.464). It requires
|
|
204
|
+
`pushNotifications: true`; enabling push alone never adds this extension. The
|
|
205
|
+
generated `<AppName>NotificationService.appex` uses bundle id
|
|
206
|
+
`<bundleId>.notificationservice`, inherits the app's version/build and team,
|
|
207
|
+
and needs its own distribution profile or automatic signing. It needs no App
|
|
208
|
+
Group. Leave it unset when the app does not use notification attachments.
|
|
209
|
+
|
|
202
210
|
`capabilities.shakeGesture` arms the accelerometer while the app is in front,
|
|
203
211
|
on iOS and Android, and sends the page Craft's `shake` event (with its `force`
|
|
204
212
|
in g) once per deliberate shake. It needs craft-native 0.0.435 or later, and
|
|
@@ -79,7 +79,7 @@ Browser runtime bindings are documented separately in `stacks-auto-imports`.
|
|
|
79
79
|
| `@stacksjs/scheduler` | [`stacks-scheduler`](../stacks-scheduler/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/scheduler/src/index.ts) | 19 |
|
|
80
80
|
| `@stacksjs/search-engine` | [`stacks-search-engine`](../stacks-search-engine/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/search-engine/src/index.ts) | 11 |
|
|
81
81
|
| `@stacksjs/security` | [`stacks-security`](../stacks-security/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/security/src/index.ts) | 12 |
|
|
82
|
-
| `@stacksjs/server` | [`stacks-server`](../stacks-server/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/index.ts) |
|
|
82
|
+
| `@stacksjs/server` | [`stacks-server`](../stacks-server/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/index.ts) | 29 |
|
|
83
83
|
| `@stacksjs/shell` | [`stacks-shell`](../stacks-shell/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/shell/src/index.ts) | 1 |
|
|
84
84
|
| `@stacksjs/sites` | [`stacks-sites`](../stacks-sites/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/sites/src/index.ts) | 3 |
|
|
85
85
|
| `@stacksjs/skills` | [`stacks-skills`](../stacks-skills/SKILL.md) | [entrypoint](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/skills/src/index.ts) | 1 |
|
|
@@ -773,9 +773,9 @@ Guidance: [`stacks-server`](../stacks-server/SKILL.md). Source: [storage/framewo
|
|
|
773
773
|
|
|
774
774
|
Declared runtime exports: `server`.
|
|
775
775
|
|
|
776
|
-
Local source modules: [src/config.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/config.ts), [src/controllers/base.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/controllers/base.ts), [src/imports.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/imports.ts), [src/maintenance.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/maintenance.ts), [src/proxy.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/proxy.ts), [src/redirects.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/redirects.ts), [src/response-headers.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/response-headers.ts), [src/rewrites.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/rewrites.ts), [src/security-headers.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/security-headers.ts), [src/shadowed-defaults.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/shadowed-defaults.ts).
|
|
776
|
+
Local source modules: [src/config.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/config.ts), [src/controllers/base.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/controllers/base.ts), [src/imports.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/imports.ts), [src/maintenance.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/maintenance.ts), [src/proxy.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/proxy.ts), [src/redirects.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/redirects.ts), [src/request-body.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/request-body.ts), [src/response-headers.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/response-headers.ts), [src/rewrites.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/rewrites.ts), [src/security-headers.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/security-headers.ts), [src/shadowed-defaults.ts](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/src/shadowed-defaults.ts).
|
|
777
777
|
|
|
778
|
-
Evidence directory: [
|
|
778
|
+
Evidence directory: [29 retained tests](https://github.com/stacksjs/stacks/blob/main/storage/framework/core/server/tests). These files are evidence pointers, not a claim that all tests were run for this catalog.
|
|
779
779
|
|
|
780
780
|
### @stacksjs/shell
|
|
781
781
|
|
|
@@ -62,6 +62,19 @@ JOB_JITTER configure that one-shot mode. It is distinct from the durable
|
|
|
62
62
|
|
|
63
63
|
## Server Config (core/server/src/config.ts)
|
|
64
64
|
|
|
65
|
+
`config/server.ts` may set `maxRequestBodySize` to a positive safe integer of
|
|
66
|
+
bytes. Buddy forwards the same ceiling to its API and views listeners in
|
|
67
|
+
development and production, including API requests proxied through the views
|
|
68
|
+
host. Omit it to retain Bun's default. Include multipart framing above a file's
|
|
69
|
+
limit; actions still enforce their own per-file validation.
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
export default { maxRequestBodySize: 320 * 1024 * 1024 } satisfies ServerConfig
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
The shared `serverRequestBodyOptions` resolver rejects invalid values before
|
|
76
|
+
starting a listener. It does not remove authentication or body validation.
|
|
77
|
+
|
|
65
78
|
```typescript
|
|
66
79
|
function config(options: ServerOptions): { host: string, port: number, open: boolean }
|
|
67
80
|
```
|
package/ide/vscode/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"publisher": "Stacks",
|
|
3
3
|
"name": "vscode-stacks",
|
|
4
4
|
"displayName": "Stacks",
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.482",
|
|
6
6
|
"description": "Stacks, built into VS Code: stx templates, pickier linting and formatting, encrypted env files, the dev server preview and every buddy command. No other extensions required.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/defaults",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.482",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@iconify-json/f7": "^1.2.2",
|
|
47
47
|
"@iconify-json/hugeicons": "^1.2.35",
|
|
48
|
-
"@stacksjs/mobile": "0.75.
|
|
49
|
-
"@stacksjs/sanitizer": "0.2.
|
|
50
|
-
"@stacksjs/stx": "0.2.
|
|
48
|
+
"@stacksjs/mobile": "0.75.482",
|
|
49
|
+
"@stacksjs/sanitizer": "0.2.807",
|
|
50
|
+
"@stacksjs/stx": "0.2.807",
|
|
51
51
|
"@xterm/addon-fit": "^0.11.0",
|
|
52
52
|
"@xterm/xterm": "^6.0.0",
|
|
53
53
|
"ts-qr-codes": "^0.1.8"
|