@ankhorage/studio 1.13.5 → 2.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/README.md +1 -1
- package/dist/app/StudioApp.d.ts.map +1 -1
- package/dist/app/StudioApp.js +1 -16
- package/dist/app/StudioApp.js.map +1 -1
- package/dist/app/workspace/WorkspacePrimitives.d.ts +6 -2
- package/dist/app/workspace/WorkspacePrimitives.d.ts.map +1 -1
- package/dist/app/workspace/WorkspacePrimitives.js.map +1 -1
- package/dist/host/http/server.d.ts +2 -2
- package/dist/host/http/server.d.ts.map +1 -1
- package/dist/host/http/serverWithSecrets.d.ts +1 -1
- package/dist/host/http/serverWithSecrets.d.ts.map +1 -1
- package/dist/host/layout/generatedImportComposer.d.ts.map +1 -1
- package/dist/host/layout/generatedImportComposer.js +17 -10
- package/dist/host/layout/generatedImportComposer.js.map +1 -1
- package/dist/host/layout/layoutGenerator.d.ts.map +1 -1
- package/dist/host/layout/layoutGenerator.js +63 -18
- package/dist/host/layout/layoutGenerator.js.map +1 -1
- package/dist/host/layout/templates/navigation.js +2 -2
- package/dist/host/layout/templates/nestedLayout.d.ts.map +1 -1
- package/dist/host/layout/templates/nestedLayout.js +3 -5
- package/dist/host/layout/templates/nestedLayout.js.map +1 -1
- package/dist/host/layout/templates/rootLayout.d.ts +1 -0
- package/dist/host/layout/templates/rootLayout.d.ts.map +1 -1
- package/dist/host/layout/templates/rootLayout.js +31 -22
- package/dist/host/layout/templates/rootLayout.js.map +1 -1
- package/dist/host/layout/templates/screen.d.ts.map +1 -1
- package/dist/host/layout/templates/screen.js +41 -22
- package/dist/host/layout/templates/screen.js.map +1 -1
- package/dist/host/media/projectBundledMediaRegistry.d.ts.map +1 -1
- package/dist/host/media/projectBundledMediaRegistry.js +7 -1
- package/dist/host/media/projectBundledMediaRegistry.js.map +1 -1
- package/dist/host/orchestrator/generatedAppFiles.d.ts.map +1 -1
- package/dist/host/orchestrator/generatedAppFiles.js +9 -14
- package/dist/host/orchestrator/generatedAppFiles.js.map +1 -1
- package/dist/host/orchestrator/scaffolder.d.ts +3 -4
- package/dist/host/orchestrator/scaffolder.d.ts.map +1 -1
- package/dist/host/orchestrator/scaffolder.js +15 -15
- package/dist/host/orchestrator/scaffolder.js.map +1 -1
- package/dist/host/orchestrator/templates.d.ts +15 -36
- package/dist/host/orchestrator/templates.d.ts.map +1 -1
- package/dist/host/orchestrator/templates.js +108 -152
- package/dist/host/orchestrator/templates.js.map +1 -1
- package/dist/runtime/runtimeActions.js +1 -1
- package/dist/runtime/runtimeActions.js.map +1 -1
- package/dist/ui/createStudioAppBarActions.js.map +1 -1
- package/package.json +32 -23
- package/dist/host/orchestrator/expoSdk54AnimationCompatibility.d.ts +0 -7
- package/dist/host/orchestrator/expoSdk54AnimationCompatibility.d.ts.map +0 -1
- package/dist/host/orchestrator/expoSdk54AnimationCompatibility.js +0 -7
- package/dist/host/orchestrator/expoSdk54AnimationCompatibility.js.map +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { SplashScreenSpec } from '@ankhorage/contracts';
|
|
2
2
|
import type { AppDeployTargets } from '@ankhorage/contracts/deploy';
|
|
3
3
|
import { type ExpoRuntimePlan } from '@ankhorage/expo-runtime/planning';
|
|
4
|
+
import { EXPO_PLATFORM } from '@ankhorage/expo-runtime/platform';
|
|
4
5
|
export type GeneratedAuthProvider = 'supabase' | null;
|
|
5
6
|
export type GeneratedStorageProvider = 'supabase' | null;
|
|
6
7
|
export declare function getAppConfigTs({ name, slug, targets, splashScreen, runtimePlan, }: {
|
|
@@ -10,8 +11,6 @@ export declare function getAppConfigTs({ name, slug, targets, splashScreen, runt
|
|
|
10
11
|
splashScreen?: SplashScreenSpec | null;
|
|
11
12
|
runtimePlan?: ExpoRuntimePlan;
|
|
12
13
|
}): string;
|
|
13
|
-
export declare function getMetroConfigJs(): string;
|
|
14
|
-
export declare function getBabelConfigJs(): string;
|
|
15
14
|
export declare function getAndroidRunTs(args: {
|
|
16
15
|
readonly projectId: string;
|
|
17
16
|
readonly includeStudio: boolean;
|
|
@@ -26,70 +25,50 @@ export declare function getPackageJson(args: {
|
|
|
26
25
|
}): {
|
|
27
26
|
name: string;
|
|
28
27
|
main: string;
|
|
28
|
+
engines: {
|
|
29
|
+
node: "24.x";
|
|
30
|
+
};
|
|
29
31
|
packageManager: string;
|
|
30
32
|
version: string;
|
|
31
33
|
scripts: {
|
|
34
|
+
doctor: string;
|
|
35
|
+
typecheck: string;
|
|
32
36
|
lint: string;
|
|
33
37
|
'lint:fix': string;
|
|
34
38
|
format: string;
|
|
35
39
|
'format:check': string;
|
|
40
|
+
'export:web'?: string | undefined;
|
|
36
41
|
web?: string | undefined;
|
|
37
42
|
ios?: string | undefined;
|
|
38
43
|
android?: string | undefined;
|
|
39
44
|
start: string;
|
|
40
45
|
};
|
|
41
46
|
dependencies: {
|
|
42
|
-
'@react-navigation/bottom-tabs': string;
|
|
43
|
-
'@react-navigation/drawer': string;
|
|
44
|
-
'babel-preset-expo': string;
|
|
45
|
-
expo: string;
|
|
46
|
-
'expo-constants': string;
|
|
47
|
-
'expo-font': string;
|
|
48
|
-
'expo-linear-gradient': string;
|
|
49
|
-
'expo-linking': string;
|
|
50
|
-
'expo-router': string;
|
|
51
|
-
'expo-splash-screen': string;
|
|
52
|
-
'expo-status-bar': string;
|
|
53
|
-
'expo-updates': string;
|
|
54
|
-
react: string;
|
|
55
|
-
'react-dom': string;
|
|
56
|
-
'react-native': string;
|
|
57
|
-
'react-native-gesture-handler': string;
|
|
58
|
-
'react-native-reanimated': "4.3.0";
|
|
59
|
-
'react-native-safe-area-context': string;
|
|
60
|
-
'react-native-screens': string;
|
|
61
|
-
'react-native-svg': string;
|
|
62
|
-
'react-native-web': string;
|
|
63
|
-
'react-native-worklets': "0.8.3";
|
|
64
|
-
'reanimated-color-picker': string;
|
|
65
|
-
'expo-document-picker'?: string | undefined;
|
|
66
|
-
'expo-file-system'?: string | undefined;
|
|
67
|
-
'expo-image-picker'?: string | undefined;
|
|
68
47
|
'@ankhorage/zora': string;
|
|
69
|
-
'@expo/vector-icons': string;
|
|
70
48
|
'@react-native-picker/picker': string;
|
|
49
|
+
'@react-native-vector-icons/fontawesome': string;
|
|
50
|
+
'@react-native-vector-icons/fontawesome5': string;
|
|
51
|
+
'@react-native-vector-icons/fontawesome6': string;
|
|
52
|
+
'@react-native-vector-icons/ionicons': string;
|
|
71
53
|
'@ankhorage/supabase-storage'?: string | undefined;
|
|
72
54
|
'@ankhorage/supabase-auth'?: string | undefined;
|
|
73
|
-
'expo-secure-store'?: string | undefined;
|
|
74
|
-
'expo-web-browser'?: string | undefined;
|
|
75
55
|
'@ankhorage/utility'?: string | undefined;
|
|
56
|
+
'@ankhorage/studio'?: string | undefined;
|
|
76
57
|
'@ankhorage/contracts': string;
|
|
77
58
|
'@ankhorage/data-sources': string;
|
|
78
59
|
'@ankhorage/expo-runtime': string;
|
|
79
60
|
'@ankhorage/runtime': string;
|
|
80
|
-
'@ankhorage/studio': string;
|
|
81
61
|
};
|
|
82
62
|
devDependencies: {
|
|
63
|
+
[EXPO_PLATFORM.tooling.expoDoctor.name]: string;
|
|
64
|
+
[EXPO_PLATFORM.tooling.nodeTypes.name]: string;
|
|
65
|
+
[EXPO_PLATFORM.tooling.typescript.name]: string;
|
|
83
66
|
'@ankhorage/devtools': string;
|
|
84
|
-
'@types/node': string;
|
|
85
67
|
'@types/react': string;
|
|
86
68
|
'@types/culori': string;
|
|
87
|
-
'babel-plugin-module-resolver': string;
|
|
88
|
-
typescript: string;
|
|
89
69
|
};
|
|
90
70
|
};
|
|
91
71
|
export declare function getEslintConfigMjs(): string;
|
|
92
72
|
export declare function getPrettierRcJs(): string;
|
|
93
|
-
export declare function getIndexJs(): string;
|
|
94
73
|
export declare function getTsConfigJson(): string;
|
|
95
74
|
//# sourceMappingURL=templates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/host/orchestrator/templates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAGV,gBAAgB,EACjB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,KAAK,eAAe,EAIrB,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../src/host/orchestrator/templates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAGV,gBAAgB,EACjB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,KAAK,eAAe,EAIrB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,aAAa,EAA4B,MAAM,kCAAkC,CAAC;AAE3F,MAAM,MAAM,qBAAqB,GAAG,UAAU,GAAG,IAAI,CAAC;AACtD,MAAM,MAAM,wBAAwB,GAAG,UAAU,GAAG,IAAI,CAAC;AAkKzD,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,YAAmB,EACnB,WAAW,GACZ,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,gBAAgB,CAAC;IAC1B,YAAY,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACvC,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B,UA6BA;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE;IACpC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;CACjC,UAgoBA;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,eAAe,CAAC,EAAE,wBAAwB,CAAC;IAC3C,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,OAAO,CAAC,EAAE,gBAAgB,CAAC;CAC5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAuFK,CAAC,aAAa,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,SAA0C;QACjF,CAAC,aAAa,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,SAAyC;QAG/E,CAAC,aAAa,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,SAA0C;;;;;EAKtF;AAED,wBAAgB,kBAAkB,WAiCjC;AAED,wBAAgB,eAAe,WAG9B;AAED,wBAAgB,eAAe,WAoB9B"}
|
|
@@ -1,24 +1,15 @@
|
|
|
1
1
|
import { resolveExpoRuntimeDependencyMap, resolveExpoRuntimeNativeOutput, resolveExpoRuntimeNativeSchemeMap, } from '@ankhorage/expo-runtime/planning';
|
|
2
|
-
import {
|
|
2
|
+
import { EXPO_PLATFORM } from '@ankhorage/expo-runtime/platform';
|
|
3
3
|
const CONTRACTS_VERSION = '^8.0.0';
|
|
4
4
|
const DATA_SOURCES_VERSION = '^2.0.0';
|
|
5
|
-
const RUNTIME_VERSION = '^2.
|
|
6
|
-
const STUDIO_VERSION = '^
|
|
5
|
+
const RUNTIME_VERSION = '^2.2.0';
|
|
6
|
+
const STUDIO_VERSION = '^2.0.0';
|
|
7
7
|
const UTILITY_VERSION = '^0.2.0';
|
|
8
8
|
const SUPABASE_AUTH_VERSION = '^1.2.1';
|
|
9
9
|
const SUPABASE_STORAGE_VERSION = '^0.2.0';
|
|
10
|
-
const ZORA_VERSION = '^
|
|
11
|
-
const EXPO_RUNTIME_VERSION = '^
|
|
12
|
-
const DEVTOOLS_VERSION = '^1.
|
|
13
|
-
const EXPO_VERSION = '~54.0.36';
|
|
14
|
-
const EXPO_DOCUMENT_PICKER_VERSION = '~14.0.8';
|
|
15
|
-
const EXPO_FILE_SYSTEM_VERSION = '~19.0.23';
|
|
16
|
-
const EXPO_IMAGE_PICKER_VERSION = '~17.0.11';
|
|
17
|
-
const EXPO_SECURE_STORE_VERSION = '~15.0.8';
|
|
18
|
-
const EXPO_UPDATES_VERSION = '~29.0.19';
|
|
19
|
-
const EXPO_WEB_BROWSER_VERSION = '~15.0.11';
|
|
20
|
-
const BABEL_MODULE_RESOLVER_VERSION = '^5.0.2';
|
|
21
|
-
const TYPESCRIPT_VERSION = '~5.9.3';
|
|
10
|
+
const ZORA_VERSION = '^3.0.0';
|
|
11
|
+
const EXPO_RUNTIME_VERSION = '^3.0.1';
|
|
12
|
+
const DEVTOOLS_VERSION = '^1.6.0';
|
|
22
13
|
const LEGACY_WEB_ONLY_TARGETS = { web: { enabled: true } };
|
|
23
14
|
function serializeStringLiteral(value) {
|
|
24
15
|
return `'${value
|
|
@@ -40,7 +31,7 @@ function serializeJsValue(value, indentLevel = 0) {
|
|
|
40
31
|
}
|
|
41
32
|
return `[\n${value
|
|
42
33
|
.map((entry) => `${nextIndent}${serializeJsValue(entry, indentLevel + 1)}`)
|
|
43
|
-
.join(',\n')}
|
|
34
|
+
.join(',\n')},\n${indent}]`;
|
|
44
35
|
}
|
|
45
36
|
if (value && typeof value === 'object') {
|
|
46
37
|
const entries = Object.entries(value);
|
|
@@ -63,25 +54,16 @@ function serializeSplashScreenPlugin(splashScreen) {
|
|
|
63
54
|
if (splashScreen == null) {
|
|
64
55
|
return null;
|
|
65
56
|
}
|
|
66
|
-
|
|
67
|
-
return `[
|
|
68
|
-
'expo-splash-screen',
|
|
69
|
-
${serializedConfig},
|
|
70
|
-
]`;
|
|
57
|
+
return serializeJsValue(['expo-splash-screen', splashScreen], 3);
|
|
71
58
|
}
|
|
72
59
|
function serializeRuntimePlugin(plugin) {
|
|
73
|
-
|
|
74
|
-
return serializeJsValue(plugin);
|
|
75
|
-
}
|
|
76
|
-
const [name, options] = plugin;
|
|
77
|
-
const serializedOptions = serializeJsValue(options, 3);
|
|
78
|
-
return `[
|
|
79
|
-
${serializeJsValue(name)},
|
|
80
|
-
${serializedOptions},
|
|
81
|
-
]`;
|
|
60
|
+
return serializeJsValue(plugin, 3);
|
|
82
61
|
}
|
|
83
62
|
function serializePluginsWithRuntimePlan(args) {
|
|
84
|
-
const entries =
|
|
63
|
+
const entries = [
|
|
64
|
+
serializeStringLiteral(EXPO_PLATFORM.navigation.expoRouter.name),
|
|
65
|
+
...resolveExpoRuntimeNativeOutput(args.runtimePlan).configPlugins.map(serializeRuntimePlugin),
|
|
66
|
+
];
|
|
85
67
|
const splashPlugin = serializeSplashScreenPlugin(args.splashScreen);
|
|
86
68
|
if (splashPlugin !== null) {
|
|
87
69
|
entries.push(splashPlugin);
|
|
@@ -90,50 +72,50 @@ function serializePluginsWithRuntimePlan(args) {
|
|
|
90
72
|
return '[...(config.plugins ?? [])]';
|
|
91
73
|
}
|
|
92
74
|
return `[
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
75
|
+
...(config.plugins ?? []),
|
|
76
|
+
${entries.join(',\n ')},
|
|
77
|
+
]`;
|
|
96
78
|
}
|
|
97
79
|
function serializeAndroidConfig(args) {
|
|
98
80
|
const permissions = resolveExpoRuntimeNativeOutput(args.runtimePlan).androidPermissions;
|
|
99
81
|
const extraLines = permissions.length > 0
|
|
100
82
|
? `
|
|
101
|
-
|
|
83
|
+
permissions: ${serializeJsValue(permissions, 3)},`
|
|
102
84
|
: '';
|
|
103
85
|
const schemeLine = args.scheme
|
|
104
86
|
? `
|
|
105
|
-
|
|
87
|
+
scheme: ${serializeStringLiteral(args.scheme)},`
|
|
106
88
|
: '';
|
|
107
89
|
return `{
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
90
|
+
...config.android,${extraLines}
|
|
91
|
+
package: ${serializeStringLiteral(args.target.package)},${schemeLine}
|
|
92
|
+
}`;
|
|
111
93
|
}
|
|
112
94
|
function serializeIosConfig(args) {
|
|
113
95
|
const schemeLine = args.scheme
|
|
114
96
|
? `
|
|
115
|
-
|
|
97
|
+
scheme: ${serializeStringLiteral(args.scheme)},`
|
|
116
98
|
: '';
|
|
117
99
|
return `{
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
100
|
+
...config.ios,
|
|
101
|
+
bundleIdentifier: ${serializeStringLiteral(args.target.bundleIdentifier)},${schemeLine}
|
|
102
|
+
}`;
|
|
121
103
|
}
|
|
122
104
|
function serializeTargetSections(args) {
|
|
123
105
|
const sections = [];
|
|
124
106
|
const nativeSchemes = resolveExpoRuntimeNativeSchemeMap(args.targets);
|
|
125
107
|
if (args.targets.android?.enabled) {
|
|
126
|
-
sections.push(`
|
|
108
|
+
sections.push(` android: ${serializeAndroidConfig({ target: args.targets.android, scheme: nativeSchemes.android, runtimePlan: args.runtimePlan })},`);
|
|
127
109
|
}
|
|
128
110
|
if (args.targets.ios?.enabled) {
|
|
129
|
-
sections.push(`
|
|
111
|
+
sections.push(` ios: ${serializeIosConfig({ target: args.targets.ios, scheme: nativeSchemes.ios })},`);
|
|
130
112
|
}
|
|
131
113
|
if (args.targets.web?.enabled) {
|
|
132
|
-
sections.push(`
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
114
|
+
sections.push(` web: {
|
|
115
|
+
...config.web,
|
|
116
|
+
output: 'static',
|
|
117
|
+
favicon: './assets/favicon.png',
|
|
118
|
+
},`);
|
|
137
119
|
}
|
|
138
120
|
return sections.length > 0
|
|
139
121
|
? String.fromCharCode(10) + sections.join(String.fromCharCode(10))
|
|
@@ -143,72 +125,28 @@ export function getAppConfigTs({ name, slug, targets, splashScreen = null, runti
|
|
|
143
125
|
const targetSections = serializeTargetSections({ targets, runtimePlan });
|
|
144
126
|
return `import type { ConfigContext, ExpoConfig } from 'expo/config';
|
|
145
127
|
|
|
146
|
-
|
|
128
|
+
function omitManagedTargetConfig(config: ConfigContext['config']) {
|
|
147
129
|
const baseConfig = { ...config };
|
|
148
130
|
delete baseConfig.scheme;
|
|
149
131
|
delete baseConfig.android;
|
|
150
132
|
delete baseConfig.ios;
|
|
151
133
|
delete baseConfig.web;
|
|
134
|
+
return baseConfig;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export default ({ config }: ConfigContext): ExpoConfig => {
|
|
138
|
+
const baseConfig = omitManagedTargetConfig(config);
|
|
152
139
|
|
|
153
140
|
return {
|
|
154
141
|
...baseConfig,
|
|
155
142
|
name: ${serializeStringLiteral(name)},
|
|
156
143
|
slug: ${serializeStringLiteral(slug)},
|
|
157
|
-
plugins: ${serializePluginsWithRuntimePlan({ splashScreen, runtimePlan })}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
const metroConfigJs = `const path = require('node:path');
|
|
164
|
-
|
|
165
|
-
const { getDefaultConfig } = require('expo/metro-config');
|
|
166
|
-
|
|
167
|
-
const config = getDefaultConfig(__dirname);
|
|
168
|
-
const appResolutionAnchor = path.join(__dirname, 'package.json');
|
|
169
|
-
const nativeSingletonPackages = [
|
|
170
|
-
'react',
|
|
171
|
-
'react-native',
|
|
172
|
-
'react-native-gesture-handler',
|
|
173
|
-
'react-native-reanimated',
|
|
174
|
-
'react-native-worklets',
|
|
175
|
-
];
|
|
176
|
-
|
|
177
|
-
config.resolver.resolveRequest = (context, moduleName, platform) => {
|
|
178
|
-
const isNativeSingleton = nativeSingletonPackages.some(
|
|
179
|
-
(packageName) => moduleName === packageName || moduleName.startsWith(\`\${packageName}/\`),
|
|
180
|
-
);
|
|
181
|
-
|
|
182
|
-
return context.resolveRequest(
|
|
183
|
-
isNativeSingleton ? { ...context, originModulePath: appResolutionAnchor } : context,
|
|
184
|
-
moduleName,
|
|
185
|
-
platform,
|
|
186
|
-
);
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
module.exports = config;
|
|
190
|
-
`;
|
|
191
|
-
return metroConfigJs;
|
|
192
|
-
}
|
|
193
|
-
export function getBabelConfigJs() {
|
|
194
|
-
return `module.exports = function (api) {
|
|
195
|
-
api.cache(true);
|
|
196
|
-
|
|
197
|
-
return {
|
|
198
|
-
presets: ['babel-preset-expo'],
|
|
199
|
-
plugins: [
|
|
200
|
-
[
|
|
201
|
-
'module-resolver',
|
|
202
|
-
{
|
|
203
|
-
root: ['./src'],
|
|
204
|
-
alias: {
|
|
205
|
-
'@': './src',
|
|
206
|
-
'@root': './',
|
|
207
|
-
},
|
|
208
|
-
},
|
|
209
|
-
],
|
|
210
|
-
'${EXPO_SDK_54_ANIMATION_COMPATIBILITY.babelPlugin}',
|
|
211
|
-
],
|
|
144
|
+
plugins: ${serializePluginsWithRuntimePlan({ splashScreen, runtimePlan })},
|
|
145
|
+
experiments: {
|
|
146
|
+
...config.experiments,
|
|
147
|
+
reactCompiler: true,
|
|
148
|
+
typedRoutes: true,
|
|
149
|
+
},${targetSections}
|
|
212
150
|
};
|
|
213
151
|
};
|
|
214
152
|
`;
|
|
@@ -344,7 +282,7 @@ async function startAndroidBridgeSupervisor(
|
|
|
344
282
|
env: process.env,
|
|
345
283
|
stdio: ['ignore', 'pipe', 'pipe'],
|
|
346
284
|
});
|
|
347
|
-
let bufferedOutput = Buffer.alloc(0);
|
|
285
|
+
let bufferedOutput: Buffer = Buffer.alloc(0);
|
|
348
286
|
let latestTransports = new Map<string, AndroidTransport>();
|
|
349
287
|
let selectedSerial: string | undefined;
|
|
350
288
|
const verifiedTransports = new Set<string>();
|
|
@@ -482,6 +420,7 @@ async function startAndroidBridgeSupervisor(
|
|
|
482
420
|
function resolveRequestedAndroidDevice(args: readonly string[]): string | undefined {
|
|
483
421
|
for (let index = 0; index < args.length; index += 1) {
|
|
484
422
|
const argument = args[index];
|
|
423
|
+
if (argument === undefined) continue;
|
|
485
424
|
const assignment = /^(?:--device|-d)=(.*)$/u.exec(argument);
|
|
486
425
|
if (assignment) {
|
|
487
426
|
const value = assignment[1];
|
|
@@ -505,7 +444,7 @@ async function resolveAndroidTargetSerial(
|
|
|
505
444
|
requestedDevice: string | undefined,
|
|
506
445
|
): Promise<string | undefined> {
|
|
507
446
|
if (!requestedDevice) {
|
|
508
|
-
// Expo
|
|
447
|
+
// Expo CLI selects the first attached device when --device is omitted.
|
|
509
448
|
return transports[0]?.serial;
|
|
510
449
|
}
|
|
511
450
|
|
|
@@ -858,7 +797,10 @@ export function getPackageJson(args) {
|
|
|
858
797
|
const runtimeDependencies = resolveExpoRuntimeDependencyMap(runtimePlan);
|
|
859
798
|
const pkgJson = {
|
|
860
799
|
name,
|
|
861
|
-
main:
|
|
800
|
+
main: `${EXPO_PLATFORM.navigation.expoRouter.name}/entry`,
|
|
801
|
+
engines: {
|
|
802
|
+
node: EXPO_PLATFORM.tooling.node.version,
|
|
803
|
+
},
|
|
862
804
|
packageManager: 'bun@1.3.14',
|
|
863
805
|
version: '1.0.0',
|
|
864
806
|
scripts: {
|
|
@@ -866,6 +808,11 @@ export function getPackageJson(args) {
|
|
|
866
808
|
...(targets.android?.enabled ? { android: 'bun scripts/ankh-android.ts' } : {}),
|
|
867
809
|
...(targets.ios?.enabled ? { ios: 'expo run:ios' } : {}),
|
|
868
810
|
...(targets.web?.enabled ? { web: 'expo start --web' } : {}),
|
|
811
|
+
...(targets.web?.enabled
|
|
812
|
+
? { 'export:web': 'expo export --platform web --output-dir dist-web' }
|
|
813
|
+
: {}),
|
|
814
|
+
doctor: 'expo-doctor',
|
|
815
|
+
typecheck: 'tsc --noEmit',
|
|
869
816
|
lint: 'ankhorage-eslint . --max-warnings=0',
|
|
870
817
|
'lint:fix': 'ankhorage-eslint . --fix --max-warnings=0',
|
|
871
818
|
format: 'ankhorage-prettier --write .',
|
|
@@ -876,60 +823,60 @@ export function getPackageJson(args) {
|
|
|
876
823
|
'@ankhorage/data-sources': DATA_SOURCES_VERSION,
|
|
877
824
|
'@ankhorage/expo-runtime': EXPO_RUNTIME_VERSION,
|
|
878
825
|
'@ankhorage/runtime': RUNTIME_VERSION,
|
|
879
|
-
'@ankhorage/studio': STUDIO_VERSION,
|
|
826
|
+
...(includeStudio ? { '@ankhorage/studio': STUDIO_VERSION } : {}),
|
|
880
827
|
...(authProvider !== null ? { '@ankhorage/utility': UTILITY_VERSION } : {}),
|
|
881
828
|
...(authProvider === 'supabase'
|
|
882
829
|
? {
|
|
883
830
|
'@ankhorage/supabase-auth': SUPABASE_AUTH_VERSION,
|
|
884
|
-
|
|
885
|
-
|
|
831
|
+
...createPlatformDependencyMap([
|
|
832
|
+
EXPO_PLATFORM.packages.secureStore,
|
|
833
|
+
EXPO_PLATFORM.packages.webBrowser,
|
|
834
|
+
]),
|
|
886
835
|
}
|
|
887
836
|
: {}),
|
|
888
837
|
...(storageProvider === 'supabase'
|
|
889
838
|
? { '@ankhorage/supabase-storage': SUPABASE_STORAGE_VERSION }
|
|
890
839
|
: {}),
|
|
891
840
|
'@ankhorage/zora': ZORA_VERSION,
|
|
892
|
-
'@
|
|
893
|
-
'@react-native-
|
|
841
|
+
'@react-native-picker/picker': '2.11.4',
|
|
842
|
+
'@react-native-vector-icons/fontawesome': '^13.1.3',
|
|
843
|
+
'@react-native-vector-icons/fontawesome5': '^13.1.3',
|
|
844
|
+
'@react-native-vector-icons/fontawesome6': '^13.1.3',
|
|
845
|
+
'@react-native-vector-icons/ionicons': '^13.1.3',
|
|
894
846
|
...runtimeDependencies,
|
|
895
847
|
...(includeStudio
|
|
896
|
-
?
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
848
|
+
? createPlatformDependencyMap([
|
|
849
|
+
EXPO_PLATFORM.packages.documentPicker,
|
|
850
|
+
EXPO_PLATFORM.packages.fileSystem,
|
|
851
|
+
EXPO_PLATFORM.packages.imagePicker,
|
|
852
|
+
])
|
|
901
853
|
: {}),
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
'react-native-screens': '~4.16.0',
|
|
921
|
-
'react-native-svg': '~15.12.1',
|
|
922
|
-
'react-native-web': '^0.21.2',
|
|
923
|
-
'react-native-worklets': EXPO_SDK_54_ANIMATION_COMPATIBILITY.worklets,
|
|
924
|
-
'reanimated-color-picker': '^4.2.0',
|
|
854
|
+
...createPlatformDependencyMap([
|
|
855
|
+
EXPO_PLATFORM.runtime.expo,
|
|
856
|
+
EXPO_PLATFORM.runtime.react,
|
|
857
|
+
EXPO_PLATFORM.runtime.reactDom,
|
|
858
|
+
EXPO_PLATFORM.runtime.reactNative,
|
|
859
|
+
EXPO_PLATFORM.runtime.reactNativeWeb,
|
|
860
|
+
EXPO_PLATFORM.navigation.expoRouter,
|
|
861
|
+
EXPO_PLATFORM.navigation.safeArea,
|
|
862
|
+
EXPO_PLATFORM.navigation.screens,
|
|
863
|
+
EXPO_PLATFORM.animation.gestureHandler,
|
|
864
|
+
EXPO_PLATFORM.animation.reanimated,
|
|
865
|
+
EXPO_PLATFORM.animation.worklets,
|
|
866
|
+
EXPO_PLATFORM.ui.svg,
|
|
867
|
+
EXPO_PLATFORM.packages.constants,
|
|
868
|
+
EXPO_PLATFORM.packages.linking,
|
|
869
|
+
EXPO_PLATFORM.packages.splashScreen,
|
|
870
|
+
EXPO_PLATFORM.packages.statusBar,
|
|
871
|
+
]),
|
|
925
872
|
},
|
|
926
873
|
devDependencies: {
|
|
927
874
|
'@ankhorage/devtools': DEVTOOLS_VERSION,
|
|
928
|
-
|
|
929
|
-
|
|
875
|
+
[EXPO_PLATFORM.tooling.expoDoctor.name]: EXPO_PLATFORM.tooling.expoDoctor.version,
|
|
876
|
+
[EXPO_PLATFORM.tooling.nodeTypes.name]: EXPO_PLATFORM.tooling.nodeTypes.version,
|
|
877
|
+
'@types/react': '~19.2.2',
|
|
930
878
|
'@types/culori': '^4.0.1',
|
|
931
|
-
|
|
932
|
-
typescript: TYPESCRIPT_VERSION,
|
|
879
|
+
[EXPO_PLATFORM.tooling.typescript.name]: EXPO_PLATFORM.tooling.typescript.version,
|
|
933
880
|
},
|
|
934
881
|
};
|
|
935
882
|
return pkgJson;
|
|
@@ -954,6 +901,17 @@ export default createConfig({
|
|
|
954
901
|
'dist/**',
|
|
955
902
|
'.expo/**',
|
|
956
903
|
],
|
|
904
|
+
overrides: [
|
|
905
|
+
{
|
|
906
|
+
files: ['src/app/_layout.tsx'],
|
|
907
|
+
rules: {
|
|
908
|
+
'@typescript-eslint/no-unnecessary-type-assertion': [
|
|
909
|
+
'error',
|
|
910
|
+
{ typesToIgnore: ['Href'] },
|
|
911
|
+
],
|
|
912
|
+
},
|
|
913
|
+
},
|
|
914
|
+
],
|
|
957
915
|
});
|
|
958
916
|
`;
|
|
959
917
|
}
|
|
@@ -961,16 +919,11 @@ export function getPrettierRcJs() {
|
|
|
961
919
|
return `module.exports = require('@ankhorage/devtools/prettier');
|
|
962
920
|
`;
|
|
963
921
|
}
|
|
964
|
-
export function getIndexJs() {
|
|
965
|
-
return `import 'expo-router/entry';
|
|
966
|
-
`;
|
|
967
|
-
}
|
|
968
922
|
export function getTsConfigJson() {
|
|
969
923
|
const tsConfigJson = `{
|
|
970
924
|
"extends": "expo/tsconfig.base",
|
|
971
925
|
"compilerOptions": {
|
|
972
926
|
"forceConsistentCasingInFileNames": true,
|
|
973
|
-
"jsx": "react-native",
|
|
974
927
|
"outDir": "dist",
|
|
975
928
|
"module": "esnext",
|
|
976
929
|
"moduleResolution": "bundler",
|
|
@@ -982,9 +935,12 @@ export function getTsConfigJson() {
|
|
|
982
935
|
"@/*": ["./src/*"]
|
|
983
936
|
}
|
|
984
937
|
},
|
|
985
|
-
"include": ["**/*.ts", "**/*.tsx"]
|
|
938
|
+
"include": ["**/*.ts", "**/*.tsx", ".expo/types/**/*.ts", "expo-env.d.ts"]
|
|
986
939
|
}
|
|
987
940
|
`;
|
|
988
941
|
return tsConfigJson;
|
|
989
942
|
}
|
|
943
|
+
function createPlatformDependencyMap(packages) {
|
|
944
|
+
return Object.fromEntries(packages.map(({ name, version }) => [name, version]));
|
|
945
|
+
}
|
|
990
946
|
//# sourceMappingURL=templates.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../../src/host/orchestrator/templates.ts"],"names":[],"mappings":"AAMA,OAAO,EAGL,+BAA+B,EAC/B,8BAA8B,EAC9B,iCAAiC,GAClC,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../../../src/host/orchestrator/templates.ts"],"names":[],"mappings":"AAMA,OAAO,EAGL,+BAA+B,EAC/B,8BAA8B,EAC9B,iCAAiC,GAClC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,aAAa,EAA4B,MAAM,kCAAkC,CAAC;AAI3F,MAAM,iBAAiB,GAAG,QAAQ,CAAC;AACnC,MAAM,oBAAoB,GAAG,QAAQ,CAAC;AACtC,MAAM,eAAe,GAAG,QAAQ,CAAC;AACjC,MAAM,cAAc,GAAG,QAAQ,CAAC;AAChC,MAAM,eAAe,GAAG,QAAQ,CAAC;AACjC,MAAM,qBAAqB,GAAG,QAAQ,CAAC;AACvC,MAAM,wBAAwB,GAAG,QAAQ,CAAC;AAC1C,MAAM,YAAY,GAAG,QAAQ,CAAC;AAC9B,MAAM,oBAAoB,GAAG,QAAQ,CAAC;AACtC,MAAM,gBAAgB,GAAG,QAAQ,CAAC;AAClC,MAAM,uBAAuB,GAAqB,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,CAAC;AAE7E,SAAS,sBAAsB,CAAC,KAAa;IAC3C,OAAO,IAAI,KAAK;SACb,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC;SACxB,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC;SACtB,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC;SACvB,UAAU,CAAC,IAAI,EAAE,KAAK,C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,MAAM,
|
|
1
|
+
{"version":3,"file":"runtimeActions.js","sourceRoot":"","sources":["../../src/runtime/runtimeActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAOjF,MAAM,CAAC,KAAK,UAAU,oBAAoB,CAAC,IAS1C;IACC,OAAO,wBAAwB,CAAC,IAAI,CAAC,CAAC;AACxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createStudioAppBarActions.js","sourceRoot":"","sources":["../../src/ui/createStudioAppBarActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"createStudioAppBarActions.js","sourceRoot":"","sources":["../../src/ui/createStudioAppBarActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAwB,MAAM,iBAAiB,CAAC;AACnE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,6BAA6B,EAAkC,MAAM,qBAAqB,CAAC;AAapG,MAAM,UAAU,yBAAyB,CACvC,cAA2C,EAC3C,QAAwB,EACxB,WAAoB;IAEpB,MAAM,UAAU,GAAG,6BAA6B,CAAC,WAAW,CAAC,CAAC;IAC9D,OAAO;QACL,KAAK,CAAC,aAAa,CAAC,UAAU,EAAE;YAC9B,GAAG,EAAE,gBAAgB;YACrB,IAAI,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE;YAClC,KAAK,EAAE,gBAAgB;YACvB,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,SAAS;YAChB,OAAO,EAAE,QAAQ,CAAC,kBAAkB;SACrC,CAAC;QACF,KAAK,CAAC,aAAa,CAAC,UAAU,EAAE;YAC9B,GAAG,EAAE,cAAc;YACnB,IAAI,EAAE,UAAU,CAAC,IAAI;YACrB,KAAK,EAAE,UAAU,CAAC,KAAK;YACvB,OAAO,EAAE,UAAU,CAAC,OAAO;YAC3B,KAAK,EAAE,UAAU,CAAC,KAA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