@stacksjs/defaults 0.75.218 → 0.75.219

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.
@@ -74,6 +74,20 @@ with Xcode or Gradle respectively.
74
74
 
75
75
  ## Configuration
76
76
 
77
+ Declare iOS Siri/Spotlight App Intents and home-screen quick actions with
78
+ `ios.appShortcuts` (Craft >= 0.0.237). Each entry has `id`, `title`, optional
79
+ `subtitle`, `symbol`, an app-scheme `url`, and `phrases` containing exactly one
80
+ `{app}` token. Register that scheme in `ios.urlSchemes`. Craft generates and
81
+ restores the Swift; never write an application Swift generator. Intents open
82
+ their URLs through native routing. Home-screen actions deliver `craftShortcut`
83
+ to the app script, which resolves the configured action id to its destination.
84
+ For example:
85
+
86
+ ```ts
87
+ appShortcuts: [{ id: 'saved', title: 'Saved trails', symbol: 'heart.fill',
88
+ url: 'outdoors://profile?tab=saved', phrases: ['Show my saved trails in {app}'] }],
89
+ ```
90
+
77
91
  ```ts
78
92
  import type { MobileConfig } from '@stacksjs/types'
79
93
 
@@ -2,7 +2,7 @@
2
2
  "publisher": "Stacks",
3
3
  "name": "vscode-stacks",
4
4
  "displayName": "Stacks",
5
- "version": "0.75.218",
5
+ "version": "0.75.219",
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.218",
5
+ "version": "0.75.219",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/stacksjs/stacks.git",
@@ -44,7 +44,7 @@
44
44
  "dependencies": {
45
45
  "@iconify-json/f7": "^1.2.2",
46
46
  "@iconify-json/hugeicons": "^1.2.35",
47
- "@stacksjs/mobile": "0.75.218",
47
+ "@stacksjs/mobile": "0.75.219",
48
48
  "@stacksjs/sanitizer": "^0.2.534",
49
49
  "@xterm/addon-fit": "^0.11.0",
50
50
  "@xterm/xterm": "^6.0.0",