@legendapp/spark 0.0.1-next.9 → 0.0.2
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/native.d.cts +6 -3
- package/package.json +36 -28
- package/patches/react-native-enriched-markdown@1.1.1.patch +2000 -3379
- package/skills/spark/UPGRADING.md +106 -3
- package/vendor/node_modules/@legendapp/spark-ai/package.json +5 -5
- package/vendor/node_modules/@legendapp/spark-audio/package.json +5 -5
- package/vendor/node_modules/@legendapp/spark-audio/src/index.macos.ts +1 -0
- package/vendor/node_modules/@legendapp/spark-auth-session/package.json +6 -6
- package/vendor/node_modules/@legendapp/spark-auth-session/src/index.macos.ts +1 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/add-desktop.js +2 -2
- package/vendor/node_modules/@legendapp/spark-cli/dist/build.js +11 -2
- package/vendor/node_modules/@legendapp/spark-cli/dist/cli-arguments.js +4 -2
- package/vendor/node_modules/@legendapp/spark-cli/dist/create.js +8 -4
- package/vendor/node_modules/@legendapp/spark-cli/dist/dependency-pins.js +45 -1
- package/vendor/node_modules/@legendapp/spark-cli/dist/dev.js +13 -2
- package/vendor/node_modules/@legendapp/spark-cli/dist/examples.js +2 -2
- package/vendor/node_modules/@legendapp/spark-cli/dist/expo-dev-patch.cjs +3 -3
- package/vendor/node_modules/@legendapp/spark-cli/dist/expo-dev-preload.cjs +3 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/index.js +26 -7
- package/vendor/node_modules/@legendapp/spark-cli/dist/metro.cjs +3 -1
- package/vendor/node_modules/@legendapp/spark-cli/dist/migration-helpers.cjs +20 -5
- package/vendor/node_modules/@legendapp/spark-cli/dist/migration-helpers.d.cts +1 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/migrations.cjs +7 -2
- package/vendor/node_modules/@legendapp/spark-cli/dist/native-patch-preflight.js +3 -3
- package/vendor/node_modules/@legendapp/spark-cli/dist/project.js +16 -10
- package/vendor/node_modules/@legendapp/spark-cli/dist/release-runner-root.js +108 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/release.json +13 -13
- package/vendor/node_modules/@legendapp/spark-cli/dist/runner-install.js +4 -2
- package/vendor/node_modules/@legendapp/spark-cli/dist/session-status.js +7 -3
- package/vendor/node_modules/@legendapp/spark-cli/dist/watchman.js +12 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/windows-geometry.js +2 -2
- package/vendor/node_modules/@legendapp/spark-cli/dist/windows.js +1 -1
- package/vendor/node_modules/@legendapp/spark-cli/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-cli/templates/blank-typescript/desktop.config.json +1 -1
- package/vendor/node_modules/@legendapp/spark-cli/templates/blank-typescript/package.json +27 -25
- package/vendor/node_modules/@legendapp/spark-cli/templates/universal/desktop.config.json +1 -1
- package/vendor/node_modules/@legendapp/spark-cli/templates/universal/package.json +35 -33
- package/vendor/node_modules/@legendapp/spark-cli/templates/windows/package.json +29 -27
- package/vendor/node_modules/@legendapp/spark-clipboard/package.json +5 -5
- package/vendor/node_modules/@legendapp/spark-clipboard/src/index.macos.ts +1 -0
- package/vendor/node_modules/@legendapp/spark-codex/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-commands/package.json +7 -7
- package/vendor/node_modules/@legendapp/spark-context-menu/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-desktop-app/macos/SparkDesktop.mm +7 -2
- package/vendor/node_modules/@legendapp/spark-desktop-app/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-desktop-config/accessibility-state.cjs +2 -2
- package/vendor/node_modules/@legendapp/spark-desktop-config/app.plugin.cjs +12 -0
- package/vendor/node_modules/@legendapp/spark-desktop-config/autolinking.cjs +4 -4
- package/vendor/node_modules/@legendapp/spark-desktop-config/config.d.cts +1 -1
- package/vendor/node_modules/@legendapp/spark-desktop-config/fabric-lifecycle.cjs +1 -1
- package/vendor/node_modules/@legendapp/spark-desktop-config/keyboard-events.cjs +2 -2
- package/vendor/node_modules/@legendapp/spark-desktop-config/macos-host.cjs +39 -0
- package/vendor/node_modules/@legendapp/spark-desktop-config/native-patches.cjs +47 -12
- package/vendor/node_modules/@legendapp/spark-desktop-config/native-patches.d.cts +2 -1
- package/vendor/node_modules/@legendapp/spark-desktop-config/package.json +8 -6
- package/vendor/node_modules/@legendapp/spark-desktop-config/rtl-scroll-view.cjs +2 -2
- package/vendor/node_modules/@legendapp/spark-desktop-config/rtl-text-alignment.cjs +2 -2
- package/vendor/node_modules/@legendapp/spark-desktop-config/rtl-text-input-alignment.cjs +2 -2
- package/vendor/node_modules/@legendapp/spark-desktop-config/text-input-accessibility.cjs +2 -2
- package/vendor/node_modules/@legendapp/spark-desktop-host/macos/AppDelegate.h +6 -0
- package/vendor/node_modules/@legendapp/spark-desktop-host/macos/Main.storyboard +684 -0
- package/vendor/node_modules/@legendapp/spark-desktop-host/macos/main.m +5 -0
- package/vendor/node_modules/@legendapp/spark-desktop-host/package.json +3 -2
- package/vendor/node_modules/@legendapp/spark-desktop-links/package.json +5 -5
- package/vendor/node_modules/@legendapp/spark-desktop-links/src/index.macos.ts +1 -0
- package/vendor/node_modules/@legendapp/spark-desktop-shortcuts/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-desktop-windows/macos/window-manager/RNWindowManager.mm +68 -17
- package/vendor/node_modules/@legendapp/spark-desktop-windows/package.json +5 -5
- package/vendor/node_modules/@legendapp/spark-desktop-windows/src/macos-adapter.ts +2 -1
- package/vendor/node_modules/@legendapp/spark-documents/package.json +9 -9
- package/vendor/node_modules/@legendapp/spark-drag-drop/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-file-dialog/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-file-system/macos/RNDesktopFileSystem.mm +14 -5
- package/vendor/node_modules/@legendapp/spark-file-system/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-file-system/src/index.ts +1 -1
- package/vendor/node_modules/@legendapp/spark-global-shortcuts/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-html/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-markdown/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-message-dialog/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-native-menu/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-notifications/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-processes/macos/RNDesktopProcesses.mm +110 -19
- package/vendor/node_modules/@legendapp/spark-processes/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-processes/src/index.ts +17 -3
- package/vendor/node_modules/@legendapp/spark-processes/src/types.ts +6 -0
- package/vendor/node_modules/@legendapp/spark-rich-text/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-secure-storage/package.json +5 -5
- package/vendor/node_modules/@legendapp/spark-secure-storage/src/index.macos.ts +1 -0
- package/vendor/node_modules/@legendapp/spark-settings/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-settings-ui/package.json +6 -6
- package/vendor/node_modules/@legendapp/spark-sqlite/package.json +12 -5
- package/vendor/node_modules/@legendapp/spark-system/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-tray/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-ui/macos/appkit-split-view/RNSidebarSplitViewComponent.mm +82 -18
- package/vendor/node_modules/@legendapp/spark-ui/package.json +6 -6
- package/vendor/node_modules/@legendapp/spark-ui/src/appkit-split-view/SidebarSplitViewNativeComponent.ts +4 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/appkit-split-view/index.tsx +11 -9
- package/vendor/node_modules/@legendapp/spark-ui/src/index.android.tsx +20 -10
- package/vendor/node_modules/@legendapp/spark-ui/src/index.ios.tsx +15 -10
- package/vendor/node_modules/@legendapp/spark-ui/src/index.macos.tsx +1 -0
- package/vendor/node_modules/@legendapp/spark-updates/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-webview/package.json +11 -4
- package/vendor/node_modules/@legendapp/spark-window-options/package.json +1 -1
- package/camera.ts +0 -13
package/native.d.cts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
export type NativeConfiguration =
|
|
1
|
+
/** React Native discovery overrides produced by Spark. */
|
|
2
|
+
export type NativeConfiguration = {
|
|
3
|
+
platforms?: Record<string, { npmPackageName?: string }>;
|
|
4
|
+
dependencies?: Record<string, { root?: string; platforms?: Record<string, unknown> }>;
|
|
5
|
+
};
|
|
3
6
|
/** Spark-owned project: generate native discovery configuration. */
|
|
4
7
|
export function nativeConfig(root: string): NativeConfiguration;
|
|
5
8
|
/** Existing Expo project: compose with its React Native CLI configuration. */
|
|
6
|
-
export function withSparkNative<T extends
|
|
9
|
+
export function withSparkNative<T extends object>(config: T, root: string): T & NativeConfiguration;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"./diagnostics": "./diagnostics.ts",
|
|
73
73
|
"./ai": "./ai.ts",
|
|
74
74
|
"./ai/codex": "./ai-codex.ts",
|
|
75
|
-
"./camera": "./camera.ts",
|
|
76
75
|
"./customize": "./customize.ts",
|
|
77
76
|
"./markdown": "./markdown.ts",
|
|
78
77
|
"./html": "./html.ts"
|
|
@@ -98,18 +97,11 @@
|
|
|
98
97
|
"react-native-nitro-modules": "0.37.0",
|
|
99
98
|
"@legendapp/state": "^3.0.0-beta.42",
|
|
100
99
|
"expo-desktop-config-plugins": "1.3.2",
|
|
101
|
-
"@expo/config-plugins": "
|
|
102
|
-
"@expo/config-types": "54.0.10",
|
|
100
|
+
"@expo/config-plugins": "55.0.12",
|
|
103
101
|
"@react-native-runtimes/core": "0.1.0-alpha.2",
|
|
104
|
-
"@react-native-
|
|
105
|
-
"react-native-vision-camera": "5.2.3",
|
|
106
|
-
"react-native-nitro-image": "0.15.2",
|
|
107
|
-
"react-native-enriched-markdown": "1.1.1",
|
|
108
|
-
"react-native-enriched-html": "1.1.1",
|
|
109
|
-
"@op-engineering/op-sqlite": "18.2.1",
|
|
102
|
+
"@react-native-windows/find-dotnet-tools": "0.0.0-canary.3",
|
|
110
103
|
"clsx": "^2.1.1",
|
|
111
|
-
"tailwind-merge": "^3.4.0"
|
|
112
|
-
"react-native-webview": "16.0.0"
|
|
104
|
+
"tailwind-merge": "^3.4.0"
|
|
113
105
|
},
|
|
114
106
|
"description": "Legend Spark — native applications with React Native and Expo",
|
|
115
107
|
"bin": {
|
|
@@ -119,20 +111,24 @@
|
|
|
119
111
|
"node": ">=24.19.0"
|
|
120
112
|
},
|
|
121
113
|
"peerDependencies": {
|
|
122
|
-
"react": "^19.
|
|
123
|
-
"react-native": "0.
|
|
124
|
-
"expo-audio": "
|
|
125
|
-
"expo-web-browser": "~
|
|
126
|
-
"expo-crypto": "~
|
|
127
|
-
"expo-clipboard": "~
|
|
128
|
-
"expo": "
|
|
129
|
-
"react-dom": "^19.
|
|
130
|
-
"
|
|
131
|
-
"
|
|
114
|
+
"react": "^19.2.0",
|
|
115
|
+
"react-native": "0.83.10",
|
|
116
|
+
"expo-audio": "55.0.18",
|
|
117
|
+
"expo-web-browser": "~55.0.20",
|
|
118
|
+
"expo-crypto": "~55.0.19",
|
|
119
|
+
"expo-clipboard": "~55.0.17",
|
|
120
|
+
"expo": "55.0.32",
|
|
121
|
+
"react-dom": "^19.2.0",
|
|
122
|
+
"react-native-enriched-markdown": "1.1.1",
|
|
123
|
+
"react-native-enriched-html": "1.1.1",
|
|
124
|
+
"expo-linking": "~55.0.17",
|
|
125
|
+
"expo-secure-store": "~55.0.18",
|
|
132
126
|
"@legendapp/list": ">=3.3.0",
|
|
133
|
-
"@
|
|
127
|
+
"@op-engineering/op-sqlite": "18.2.1",
|
|
128
|
+
"@expo/ui": "55.0.17",
|
|
134
129
|
"uniwind": "^1.6.3",
|
|
135
|
-
"react-native-windows": "0.
|
|
130
|
+
"react-native-windows": "0.83.2",
|
|
131
|
+
"react-native-webview": "16.0.0"
|
|
136
132
|
},
|
|
137
133
|
"peerDependenciesMeta": {
|
|
138
134
|
"expo-audio": {
|
|
@@ -150,12 +146,21 @@
|
|
|
150
146
|
"react-dom": {
|
|
151
147
|
"optional": true
|
|
152
148
|
},
|
|
149
|
+
"react-native-enriched-markdown": {
|
|
150
|
+
"optional": true
|
|
151
|
+
},
|
|
152
|
+
"react-native-enriched-html": {
|
|
153
|
+
"optional": true
|
|
154
|
+
},
|
|
153
155
|
"expo-linking": {
|
|
154
156
|
"optional": true
|
|
155
157
|
},
|
|
156
158
|
"expo-secure-store": {
|
|
157
159
|
"optional": true
|
|
158
160
|
},
|
|
161
|
+
"@op-engineering/op-sqlite": {
|
|
162
|
+
"optional": true
|
|
163
|
+
},
|
|
159
164
|
"@expo/ui": {
|
|
160
165
|
"optional": true
|
|
161
166
|
},
|
|
@@ -164,6 +169,9 @@
|
|
|
164
169
|
},
|
|
165
170
|
"react-native-windows": {
|
|
166
171
|
"optional": true
|
|
172
|
+
},
|
|
173
|
+
"react-native-webview": {
|
|
174
|
+
"optional": true
|
|
167
175
|
}
|
|
168
176
|
},
|
|
169
177
|
"publishConfig": {
|
|
@@ -176,7 +184,7 @@
|
|
|
176
184
|
"spark": {
|
|
177
185
|
"nativePatchRequirements": {
|
|
178
186
|
"schema": 1,
|
|
179
|
-
"frameworkVersion": "0.0.
|
|
187
|
+
"frameworkVersion": "0.0.2",
|
|
180
188
|
"packages": {
|
|
181
189
|
"@react-native-runtimes/core": {
|
|
182
190
|
"version": "0.1.0-alpha.2",
|
|
@@ -199,9 +207,9 @@
|
|
|
199
207
|
"upstreamIntegrity": "sha512-KIg5Yhy04lQfHdXC1JQPM+0kftMfPnH6AqDH7v6YskQ9kzfUacooofOFRmbaZHASq/0WY87Fx0peiFETFjOcCg=="
|
|
200
208
|
},
|
|
201
209
|
"expo-audio": {
|
|
202
|
-
"version": "
|
|
203
|
-
"patchHash": "
|
|
204
|
-
"upstreamIntegrity": "sha512-
|
|
210
|
+
"version": "55.0.18",
|
|
211
|
+
"patchHash": "11548c0285732fa2898e3d1912633b8c4d2bded3ea46ff124a214e7d0d8e6770",
|
|
212
|
+
"upstreamIntegrity": "sha512-izDr80hhHXkfIZn0TXdCheUhWEVRV205a6j0gdhgJ9se36C9Yo+REyaqFrEI1La4p95vPXvaH7UkAx/EGRKNHQ=="
|
|
205
213
|
}
|
|
206
214
|
}
|
|
207
215
|
},
|