@legendapp/spark 0.0.1-next.4 → 0.0.1-next.6
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 +1 -1
- package/customize.ts +2 -0
- package/html.ts +1 -0
- package/markdown.ts +1 -0
- package/package.json +22 -13
- package/patches/dependencies.json +10 -4
- package/patches/react-native-enriched-html@1.1.1.patch +854 -0
- package/patches/{react-native-enriched-markdown@1.0.2.patch → react-native-enriched-markdown@1.1.1.patch} +2560 -1983
- package/schema.json +104 -0
- package/skills/spark/SKILL.md +56 -0
- package/skills/spark/UPGRADING.md +254 -0
- package/vendor/node_modules/@legendapp/spark-ai/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-ai/src/invocation-command.cjs +11 -0
- package/vendor/node_modules/@legendapp/spark-ai/src/invocation-command.d.cts +2 -0
- package/vendor/node_modules/@legendapp/spark-ai/src/invocations.ts +2 -19
- package/vendor/node_modules/@legendapp/spark-audio/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-auth-session/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-cli/dist/add-desktop.js +4 -4
- package/vendor/node_modules/@legendapp/spark-cli/dist/build.js +3 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/create.js +31 -11
- package/vendor/node_modules/@legendapp/spark-cli/dist/customize-ai.cjs +108 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/customize-artifacts.js +315 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/customize-cli.cjs +75 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/customize-github.cjs +133 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/customize-policy.cjs +102 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/customize-provider.cjs +2 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/customize-worker.cjs +273 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/dependency-pins.js +54 -29
- package/vendor/node_modules/@legendapp/spark-cli/dist/dev-command.js +2 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/enriched-html-pins.js +128 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/expo-dev-patch.cjs +30 -1
- package/vendor/node_modules/@legendapp/spark-cli/dist/index.js +16 -7
- package/vendor/node_modules/@legendapp/spark-cli/dist/init-template.d.cts +1 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/js-runtime.cjs +96 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/migration-helpers.cjs +152 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/migration-helpers.d.cts +15 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/migrations.cjs +184 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/migrations.d.cts +16 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/native-patch-preflight.js +2 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/package-manager-config.js +41 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/package-manager.js +13 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/project-version.js +12 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/project.js +40 -9
- package/vendor/node_modules/@legendapp/spark-cli/dist/release.json +19 -19
- package/vendor/node_modules/@legendapp/spark-cli/dist/runtime-bootstrap.ps1 +87 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/runtime-bootstrap.sh +107 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/runtime-downloads.tsv +13 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/sdk-install.js +8 -3
- package/vendor/node_modules/@legendapp/spark-cli/dist/upgrade.js +102 -0
- package/vendor/node_modules/@legendapp/spark-cli/package.json +6 -4
- package/vendor/node_modules/@legendapp/spark-cli/templates/blank-typescript/.claude/skills/spark/SKILL.md +9 -0
- package/vendor/node_modules/@legendapp/spark-cli/templates/blank-typescript/AGENTS.md +4 -0
- package/vendor/node_modules/@legendapp/spark-cli/templates/blank-typescript/CLAUDE.md +4 -0
- package/vendor/node_modules/@legendapp/spark-cli/templates/blank-typescript/README.md +15 -0
- package/vendor/node_modules/@legendapp/spark-cli/templates/blank-typescript/package.json +46 -2
- package/vendor/node_modules/@legendapp/spark-cli/templates/universal/.claude/skills/spark/SKILL.md +9 -0
- package/vendor/node_modules/@legendapp/spark-cli/templates/universal/AGENTS.md +4 -0
- package/vendor/node_modules/@legendapp/spark-cli/templates/universal/CLAUDE.md +4 -0
- package/vendor/node_modules/@legendapp/spark-cli/templates/universal/README.md +15 -0
- package/vendor/node_modules/@legendapp/spark-cli/templates/universal/package.json +45 -2
- package/vendor/node_modules/@legendapp/spark-cli/templates/windows/.claude/skills/spark/SKILL.md +9 -0
- package/vendor/node_modules/@legendapp/spark-cli/templates/windows/AGENTS.md +4 -0
- package/vendor/node_modules/@legendapp/spark-cli/templates/windows/CLAUDE.md +4 -0
- package/vendor/node_modules/@legendapp/spark-cli/templates/windows/README.md +15 -0
- package/vendor/node_modules/@legendapp/spark-cli/templates/windows/package.json +46 -2
- package/vendor/node_modules/@legendapp/spark-clipboard/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-codex/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-commands/package.json +6 -6
- package/vendor/node_modules/@legendapp/spark-context-menu/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-desktop-app/macos/RNDesktopApp.mm +14 -1
- package/vendor/node_modules/@legendapp/spark-desktop-app/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-desktop-app/src/customize-hooks.ts +17 -0
- package/vendor/node_modules/@legendapp/spark-desktop-app/src/customize.ts +117 -0
- package/vendor/node_modules/@legendapp/spark-desktop-config/app.plugin.cjs +20 -1
- package/vendor/node_modules/@legendapp/spark-desktop-config/config.cjs +3 -2
- package/vendor/node_modules/@legendapp/spark-desktop-config/config.d.cts +14 -0
- package/vendor/node_modules/@legendapp/spark-desktop-config/customize-provider.cjs +16 -0
- package/vendor/node_modules/@legendapp/spark-desktop-config/customize.cjs +16 -0
- package/vendor/node_modules/@legendapp/spark-desktop-config/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-desktop-config/schema.json +104 -0
- package/vendor/node_modules/@legendapp/spark-desktop-host/SparkCustomize.mm +517 -0
- package/vendor/node_modules/@legendapp/spark-desktop-host/package.json +4 -3
- package/vendor/node_modules/@legendapp/spark-desktop-links/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-desktop-shortcuts/macos/RNDesktopShortcuts.mm +3 -1
- package/vendor/node_modules/@legendapp/spark-desktop-shortcuts/macos/keyboard-manager/RNKeyboardManager.h +3 -0
- package/vendor/node_modules/@legendapp/spark-desktop-shortcuts/macos/keyboard-manager/RNKeyboardManager.mm +1 -1
- package/vendor/node_modules/@legendapp/spark-desktop-shortcuts/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-desktop-windows/macos/window-manager/RNWindowManager.mm +5 -4
- package/vendor/node_modules/@legendapp/spark-desktop-windows/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-desktop-windows/src/api.ts +62 -25
- package/vendor/node_modules/@legendapp/spark-desktop-windows/src/macos-adapter.ts +7 -5
- package/vendor/node_modules/@legendapp/spark-documents/package.json +8 -8
- package/vendor/node_modules/@legendapp/spark-drag-drop/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-file-dialog/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-file-system/macos/SparkFileMutations.h +1 -0
- package/vendor/node_modules/@legendapp/spark-file-system/macos/SparkFileMutations.mm +11 -10
- package/vendor/node_modules/@legendapp/spark-file-system/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-global-shortcuts/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-html/package.json +24 -0
- package/vendor/node_modules/@legendapp/spark-html/src/Html.tsx +22 -0
- package/vendor/node_modules/@legendapp/spark-html/src/HtmlInput.tsx +102 -0
- package/vendor/node_modules/@legendapp/spark-html/src/index.ts +4 -0
- package/vendor/node_modules/@legendapp/spark-html/src/types.ts +4 -0
- package/vendor/node_modules/@legendapp/spark-markdown/package.json +24 -0
- package/vendor/node_modules/@legendapp/spark-markdown/src/Markdown.tsx +24 -0
- package/vendor/node_modules/@legendapp/spark-markdown/src/MarkdownInput.tsx +111 -0
- package/vendor/node_modules/@legendapp/spark-markdown/src/index.ts +4 -0
- package/vendor/node_modules/@legendapp/spark-message-dialog/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-native-menu/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-notifications/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-processes/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-rich-text/package.json +18 -0
- package/vendor/node_modules/@legendapp/spark-rich-text/src/components.tsx +52 -0
- package/vendor/node_modules/@legendapp/spark-rich-text/src/index.ts +4 -0
- package/vendor/node_modules/@legendapp/spark-rich-text/src/types.ts +24 -0
- package/vendor/node_modules/@legendapp/spark-rich-text/src/useInputShortcuts.macos.ts +55 -0
- package/vendor/node_modules/@legendapp/spark-rich-text/src/useInputShortcuts.ts +13 -0
- package/vendor/node_modules/@legendapp/spark-rich-text/src/useInputValue.ts +14 -0
- package/vendor/node_modules/@legendapp/spark-rich-text/src/value.ts +16 -0
- package/vendor/node_modules/@legendapp/spark-secure-storage/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-settings/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-settings-ui/package.json +5 -5
- package/vendor/node_modules/@legendapp/spark-sqlite/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-system/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-tray/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-ui/macos/appkit-split-view/RNSidebarSplitViewComponent.mm +102 -14
- package/vendor/node_modules/@legendapp/spark-ui/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-ui/src/appkit-split-view/SidebarSplitViewNativeComponent.ts +5 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/appkit-split-view/index.tsx +12 -4
- package/vendor/node_modules/@legendapp/spark-updates/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-webview/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-window-options/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Legend Spark adds native desktop APIs and a managed development workflow to Reac
|
|
|
9
9
|
Requires Node 24.19.0 or newer. The single `@legendapp/spark` npm package contains the CLI and private implementation modules; no separate Spark module installs are needed. Bun is optional.
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
|
|
12
|
+
npm create @legendapp/spark@next MyApp
|
|
13
13
|
cd MyApp
|
|
14
14
|
npm run macos
|
|
15
15
|
```
|
package/customize.ts
ADDED
package/html.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./vendor/node_modules/@legendapp/spark-html";
|
package/markdown.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./vendor/node_modules/@legendapp/spark-markdown";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -72,7 +72,10 @@
|
|
|
72
72
|
"./diagnostics": "./diagnostics.ts",
|
|
73
73
|
"./ai": "./ai.ts",
|
|
74
74
|
"./ai/codex": "./ai-codex.ts",
|
|
75
|
-
"./camera": "./camera.ts"
|
|
75
|
+
"./camera": "./camera.ts",
|
|
76
|
+
"./customize": "./customize.ts",
|
|
77
|
+
"./markdown": "./markdown.ts",
|
|
78
|
+
"./html": "./html.ts"
|
|
76
79
|
},
|
|
77
80
|
"files": [
|
|
78
81
|
"*.ts",
|
|
@@ -80,26 +83,29 @@
|
|
|
80
83
|
"schema.json",
|
|
81
84
|
"bin",
|
|
82
85
|
"*.d.cts",
|
|
83
|
-
"patches"
|
|
86
|
+
"patches",
|
|
87
|
+
"skills"
|
|
84
88
|
],
|
|
85
89
|
"dependencies": {
|
|
86
90
|
"base64-js": "1.5.1",
|
|
87
91
|
"ws": "8.21.0",
|
|
88
92
|
"expo-desktop": "1.0.0",
|
|
89
|
-
"npm": "11.21.
|
|
93
|
+
"npm": "11.21.1",
|
|
90
94
|
"typescript": "5.9.3",
|
|
91
95
|
"cross-spawn": "7.0.6",
|
|
96
|
+
"diff": "8.0.4",
|
|
97
|
+
"yaml": "2.9.1",
|
|
92
98
|
"react-native-nitro-modules": "0.37.0",
|
|
93
99
|
"@legendapp/state": "^3.0.0-beta.42",
|
|
94
100
|
"expo-desktop-config-plugins": "1.2.0",
|
|
95
101
|
"@expo/config-plugins": "54.0.5",
|
|
96
102
|
"@expo/config-types": "54.0.10",
|
|
97
|
-
"diff": "8.0.2",
|
|
98
103
|
"@react-native-runtimes/core": "0.1.0-alpha.2",
|
|
99
104
|
"@react-native-community/cli-types": "20.1.3",
|
|
100
105
|
"react-native-vision-camera": "5.2.3",
|
|
101
106
|
"react-native-nitro-image": "0.15.2",
|
|
102
|
-
"react-native-enriched-markdown": "1.
|
|
107
|
+
"react-native-enriched-markdown": "1.1.1",
|
|
108
|
+
"react-native-enriched-html": "1.1.1",
|
|
103
109
|
"@op-engineering/op-sqlite": "18.2.1",
|
|
104
110
|
"clsx": "^2.1.1",
|
|
105
111
|
"tailwind-merge": "^3.4.0",
|
|
@@ -113,14 +119,14 @@
|
|
|
113
119
|
"node": ">=24.19.0"
|
|
114
120
|
},
|
|
115
121
|
"peerDependencies": {
|
|
116
|
-
"react": "19.1.
|
|
122
|
+
"react": "^19.1.0",
|
|
117
123
|
"react-native": "0.81.6",
|
|
118
124
|
"expo-audio": "1.1.1",
|
|
119
125
|
"expo-web-browser": "~15.0.10",
|
|
120
126
|
"expo-crypto": "~15.0.8",
|
|
121
127
|
"expo-clipboard": "~8.0.8",
|
|
122
128
|
"expo": "54.0.37",
|
|
123
|
-
"react-dom": "19.1.
|
|
129
|
+
"react-dom": "^19.1.0",
|
|
124
130
|
"expo-linking": "~8.0.12",
|
|
125
131
|
"expo-secure-store": "~15.0.8",
|
|
126
132
|
"@legendapp/list": ">=3.3.0",
|
|
@@ -170,7 +176,7 @@
|
|
|
170
176
|
"spark": {
|
|
171
177
|
"nativePatchRequirements": {
|
|
172
178
|
"schema": 1,
|
|
173
|
-
"frameworkVersion": "0.0.1-next.
|
|
179
|
+
"frameworkVersion": "0.0.1-next.6",
|
|
174
180
|
"packages": {
|
|
175
181
|
"@react-native-runtimes/core": {
|
|
176
182
|
"version": "0.1.0-alpha.2",
|
|
@@ -179,22 +185,22 @@
|
|
|
179
185
|
},
|
|
180
186
|
"react-native-nitro-modules": {
|
|
181
187
|
"version": "0.37.0",
|
|
182
|
-
"patchHash": "
|
|
188
|
+
"patchHash": "e6690996301b00fbfb1a5e5ac61bafaa53c53b1f292afbcaad2a005c0f1015ad",
|
|
183
189
|
"upstreamIntegrity": "sha512-ULS2CBZcdwGw5d4Y35EV/tbCOsNsQOnQ9LC9CehMhDNm5c90lwF/LxRamzKuFpjI547G7teTQgD0peqYSGnP9g=="
|
|
184
190
|
},
|
|
185
191
|
"@op-engineering/op-sqlite": {
|
|
186
192
|
"version": "18.2.1",
|
|
187
|
-
"patchHash": "
|
|
193
|
+
"patchHash": "ed2e06655ff679ed39c1674852a2fe02da6e93502cf0442a993f8e97cfcd92f5",
|
|
188
194
|
"upstreamIntegrity": "sha512-atVOtXyFzO0e454eVS27AMwRs515URCKrkvLLG+mGKcyiF5UPfC53oukpNp2UmVzlLebyTEXNkTYs6n0dVGd0g=="
|
|
189
195
|
},
|
|
190
196
|
"react-native-webview": {
|
|
191
197
|
"version": "16.0.0",
|
|
192
|
-
"patchHash": "
|
|
198
|
+
"patchHash": "79707d6b12a131a9cb92088082c8b50d4d1b459224bc963814935fb6c55e0ba6",
|
|
193
199
|
"upstreamIntegrity": "sha512-KIg5Yhy04lQfHdXC1JQPM+0kftMfPnH6AqDH7v6YskQ9kzfUacooofOFRmbaZHASq/0WY87Fx0peiFETFjOcCg=="
|
|
194
200
|
},
|
|
195
201
|
"expo-audio": {
|
|
196
202
|
"version": "1.1.1",
|
|
197
|
-
"patchHash": "
|
|
203
|
+
"patchHash": "e8b6a0cd4e2a111f23eb4f98b1d6577256064fdb451cc1a1538859220c7851f2",
|
|
198
204
|
"upstreamIntegrity": "sha512-CPCpJ+0AEHdzWROc0f00Zh6e+irLSl2ALos/LPvxEeIcJw1APfBa4DuHPkL4CQCWsVe7EnUjFpdwpqsEUWcP0g=="
|
|
199
205
|
}
|
|
200
206
|
}
|
|
@@ -219,10 +225,13 @@
|
|
|
219
225
|
"@legendapp/spark-file-dialog",
|
|
220
226
|
"@legendapp/spark-file-system",
|
|
221
227
|
"@legendapp/spark-global-shortcuts",
|
|
228
|
+
"@legendapp/spark-html",
|
|
229
|
+
"@legendapp/spark-markdown",
|
|
222
230
|
"@legendapp/spark-message-dialog",
|
|
223
231
|
"@legendapp/spark-native-menu",
|
|
224
232
|
"@legendapp/spark-notifications",
|
|
225
233
|
"@legendapp/spark-processes",
|
|
234
|
+
"@legendapp/spark-rich-text",
|
|
226
235
|
"@legendapp/spark-secure-storage",
|
|
227
236
|
"@legendapp/spark-settings",
|
|
228
237
|
"@legendapp/spark-settings-ui",
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"react-native-enriched-markdown": {
|
|
3
|
-
"version": "1.
|
|
4
|
-
"url": "https://registry.npmjs.org/react-native-enriched-markdown/-/react-native-enriched-markdown-1.
|
|
5
|
-
"integrity": "sha512-
|
|
6
|
-
"patch": "react-native-enriched-markdown@1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"url": "https://registry.npmjs.org/react-native-enriched-markdown/-/react-native-enriched-markdown-1.1.1.tgz",
|
|
5
|
+
"integrity": "sha512-JvbRIVy75MAoGCv8V6sSscu11/Ian588wfIgH+j64XFpf6gy5sNNkMyG087MH88jNCf3p7fTjgEAGxZMhEqL4A==",
|
|
6
|
+
"patch": "react-native-enriched-markdown@1.1.1.patch"
|
|
7
|
+
},
|
|
8
|
+
"react-native-enriched-html": {
|
|
9
|
+
"version": "1.1.1",
|
|
10
|
+
"url": "https://registry.npmjs.org/react-native-enriched-html/-/react-native-enriched-html-1.1.1.tgz",
|
|
11
|
+
"integrity": "sha512-OlJLESOgA4eqgWQe3BXOK9kFk7iypOnQo22sIce5k/x2eGsOtnAwDPqHnaVfnOZlzzNWh+wXRzxuSL1tSBOkgA==",
|
|
12
|
+
"patch": "react-native-enriched-html@1.1.1.patch"
|
|
7
13
|
}
|
|
8
14
|
}
|