@ankhorage/expo-runtime 7.0.4 → 7.1.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @ankhorage/expo-runtime
2
2
 
3
+ ## 7.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2ff98f0: Expose Authoring route planning without claiming Expo Router host composition is runnable.
8
+
9
+ ## 7.0.5
10
+
11
+ ### Patch Changes
12
+
13
+ - df7afba: Add canonical repository metadata for organization-wide inventory.
14
+
3
15
  ## 7.0.4
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # EXPO-RUNTIME
5
5
 
6
- ![license: MIT](././paradox/badges/license.svg) ![npm: v7.0.4](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
6
+ ![license: MIT](././paradox/badges/license.svg) ![npm: v7.1.0](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
7
7
 
8
8
  Declarative runtime integration for Expo apps: maps app capabilities to permissions, packages, config plugins, providers, and adapters
9
9
 
@@ -0,0 +1,8 @@
1
+ import { type AuthoringRouteDeliveryDefinition } from '@ankhorage/studio-authoring';
2
+ export interface ExpoAuthoringRoutePlanning {
3
+ readonly route: AuthoringRouteDeliveryDefinition;
4
+ readonly status: 'requires-host-composition' | 'unresolved';
5
+ }
6
+ /*** Describe Authoring routes without generating an Expo Router module before host composition exists. */
7
+ export declare function getExpoAuthoringRoutePlanning(): readonly ExpoAuthoringRoutePlanning[];
8
+ //# sourceMappingURL=getExpoAuthoringRoutePlanning.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getExpoAuthoringRoutePlanning.d.ts","sourceRoot":"","sources":["../../../src/features/navigation/getExpoAuthoringRoutePlanning.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gCAAgC,EACtC,MAAM,6BAA6B,CAAC;AAErC,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,KAAK,EAAE,gCAAgC,CAAC;IACjD,QAAQ,CAAC,MAAM,EAAE,2BAA2B,GAAG,YAAY,CAAC;CAC7D;AAED,0GAA0G;AAC1G,wBAAgB,6BAA6B,IAAI,SAAS,0BAA0B,EAAE,CAErF"}
@@ -0,0 +1,13 @@
1
+ import { AUTHORING_ANKH_ROUTE_DELIVERIES, } from '@ankhorage/studio-authoring';
2
+ /*** Describe Authoring routes without generating an Expo Router module before host composition exists. */
3
+ export function getExpoAuthoringRoutePlanning() {
4
+ return AUTHORING_ANKH_ROUTE_DELIVERIES.map(createExpoAuthoringRoutePlanning);
5
+ }
6
+ /*** Preserve Authoring owner boundaries in Expo planning rather than treating portable screens as routes. */
7
+ function createExpoAuthoringRoutePlanning(route) {
8
+ return {
9
+ route,
10
+ status: route.screen.status === 'available' ? 'requires-host-composition' : 'unresolved',
11
+ };
12
+ }
13
+ //# sourceMappingURL=getExpoAuthoringRoutePlanning.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getExpoAuthoringRoutePlanning.js","sourceRoot":"","sources":["../../../src/features/navigation/getExpoAuthoringRoutePlanning.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,GAEhC,MAAM,6BAA6B,CAAC;AAOrC,0GAA0G;AAC1G,MAAM,UAAU,6BAA6B;IAC3C,OAAO,+BAA+B,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAC;AAC/E,CAAC;AAED,6GAA6G;AAC7G,SAAS,gCAAgC,CACvC,KAAuC;IAEvC,OAAO;QACL,KAAK;QACL,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,2BAA2B,CAAC,CAAC,CAAC,YAAY;KACzF,CAAC;AACJ,CAAC","sourcesContent":["import {\n AUTHORING_ANKH_ROUTE_DELIVERIES,\n type AuthoringRouteDeliveryDefinition,\n} from '@ankhorage/studio-authoring';\n\nexport interface ExpoAuthoringRoutePlanning {\n readonly route: AuthoringRouteDeliveryDefinition;\n readonly status: 'requires-host-composition' | 'unresolved';\n}\n\n/*** Describe Authoring routes without generating an Expo Router module before host composition exists. */\nexport function getExpoAuthoringRoutePlanning(): readonly ExpoAuthoringRoutePlanning[] {\n return AUTHORING_ANKH_ROUTE_DELIVERIES.map(createExpoAuthoringRoutePlanning);\n}\n\n/*** Preserve Authoring owner boundaries in Expo planning rather than treating portable screens as routes. */\nfunction createExpoAuthoringRoutePlanning(\n route: AuthoringRouteDeliveryDefinition,\n): ExpoAuthoringRoutePlanning {\n return {\n route,\n status: route.screen.status === 'available' ? 'requires-host-composition' : 'unresolved',\n };\n}\n"]}
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export { createExpoRuntimeRegistry } from './createExpoRuntimeRegistry';
8
8
  export { ExpoBarcodeScannerAdapter, type ExpoBarcodeScannerAdapterProps, } from './ExpoBarcodeScannerAdapter';
9
9
  export { ExpoRuntimeProviders, type ExpoRuntimeProvidersProps } from './ExpoRuntimeProviders';
10
10
  export { ExpoZoraIconFontProvider, type ExpoZoraIconFontProviderProps, } from './ExpoZoraIconFontProvider';
11
+ export { type ExpoAuthoringRoutePlanning, getExpoAuthoringRoutePlanning, } from './features/navigation/getExpoAuthoringRoutePlanning';
11
12
  export { type ExpoRuntimeConfigPluginOutput, type ExpoRuntimeDependencyMap, type ExpoRuntimeGeneratedAppOutputPlan, type ExpoRuntimeNativeOutputPlan, resolveExpoRuntimeConfigPluginOutput, resolveExpoRuntimeDependencyMap, resolveExpoRuntimeGeneratedAppOutput, resolveExpoRuntimeNativeOutput, } from './generatedAppOutput';
12
13
  export { getExpoBarcodeScannerViewSource } from './generatedSources';
13
14
  export { type ExpoRuntimeLayoutIntegrationPlan, resolveExpoRuntimeLayoutIntegration, } from './layoutIntegrationPlanning';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,2CAA2C,GAC5C,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,mCAAmC,EACxC,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,8BAA8B,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,gCAAgC,EACrC,iCAAiC,EACjC,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EACzC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,2BAA2B,GAC5B,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EACL,yBAAyB,EACzB,KAAK,8BAA8B,GACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAC9F,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,EAChC,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EACL,KAAK,gCAAgC,EACrC,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,YAAY,EACV,oBAAoB,EACpB,eAAe,EACf,qBAAqB,GACtB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,2CAA2C,GAC5C,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,mCAAmC,EACxC,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,8BAA8B,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,gCAAgC,EACrC,iCAAiC,EACjC,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EACzC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,2BAA2B,GAC5B,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EACL,yBAAyB,EACzB,KAAK,8BAA8B,GACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAC9F,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,KAAK,0BAA0B,EAC/B,6BAA6B,GAC9B,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,EAChC,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EACL,KAAK,gCAAgC,EACrC,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,YAAY,EACV,oBAAoB,EACpB,eAAe,EACf,qBAAqB,GACtB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
package/dist/index.js CHANGED
@@ -7,6 +7,7 @@ export { createExpoRuntimeRegistry } from './createExpoRuntimeRegistry';
7
7
  export { ExpoBarcodeScannerAdapter, } from './ExpoBarcodeScannerAdapter';
8
8
  export { ExpoRuntimeProviders } from './ExpoRuntimeProviders';
9
9
  export { ExpoZoraIconFontProvider, } from './ExpoZoraIconFontProvider';
10
+ export { getExpoAuthoringRoutePlanning, } from './features/navigation/getExpoAuthoringRoutePlanning';
10
11
  export { resolveExpoRuntimeConfigPluginOutput, resolveExpoRuntimeDependencyMap, resolveExpoRuntimeGeneratedAppOutput, resolveExpoRuntimeNativeOutput, } from './generatedAppOutput';
11
12
  export { getExpoBarcodeScannerViewSource } from './generatedSources';
12
13
  export { resolveExpoRuntimeLayoutIntegration, } from './layoutIntegrationPlanning';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,2CAA2C,GAC5C,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,8BAA8B,EAK9B,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,iCAAiC,EAOjC,2BAA2B,GAC5B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EACL,yBAAyB,GAE1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAkC,MAAM,wBAAwB,CAAC;AAC9F,OAAO,EACL,wBAAwB,GAEzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAKL,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAEL,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC","sourcesContent":["export {\n BARCODE_SCANNER_TYPES,\n mapPermissionStatusToCameraPermissionStatus,\n} from './barcodeScanRuntime';\nexport {\n type ExpoBundledMediaRegistrySourceEntry,\n getExpoBundledMediaRegistrySource,\n} from './bundledMediaRegistrySource';\nexport {\n createExpoBundledMediaResolver,\n type ExpoBundledMediaRegistry,\n type ExpoBundledMediaResolver,\n type ExpoBundledMediaResolverArgs,\n type ExpoBundledMediaValue,\n resolveExpoBundledMediaAsset,\n} from './bundledMediaResolver';\nexport {\n type ExecuteExpoRuntimeCapabilityArgs,\n executeExpoRuntimeCapabilityAsync,\n type ExpoRuntimeCapabilityDiagnostic,\n type ExpoRuntimeCapabilityDiagnosticCode,\n type ExpoRuntimeCapabilityExecutionResult,\n type ExpoRuntimeCapabilityHandler,\n type ExpoRuntimeCapabilityHandlerArgs,\n type ExpoRuntimeRouteResolution,\n resolveExpoRuntimeRoutePath,\n} from './capabilityBridge';\nexport type { ComponentRegistry } from './componentRegistry';\nexport { createComponentRegistry } from './componentRegistry';\nexport { createExpoRuntimeRegistry } from './createExpoRuntimeRegistry';\nexport {\n ExpoBarcodeScannerAdapter,\n type ExpoBarcodeScannerAdapterProps,\n} from './ExpoBarcodeScannerAdapter';\nexport { ExpoRuntimeProviders, type ExpoRuntimeProvidersProps } from './ExpoRuntimeProviders';\nexport {\n ExpoZoraIconFontProvider,\n type ExpoZoraIconFontProviderProps,\n} from './ExpoZoraIconFontProvider';\nexport {\n type ExpoRuntimeConfigPluginOutput,\n type ExpoRuntimeDependencyMap,\n type ExpoRuntimeGeneratedAppOutputPlan,\n type ExpoRuntimeNativeOutputPlan,\n resolveExpoRuntimeConfigPluginOutput,\n resolveExpoRuntimeDependencyMap,\n resolveExpoRuntimeGeneratedAppOutput,\n resolveExpoRuntimeNativeOutput,\n} from './generatedAppOutput';\nexport { getExpoBarcodeScannerViewSource } from './generatedSources';\nexport {\n type ExpoRuntimeLayoutIntegrationPlan,\n resolveExpoRuntimeLayoutIntegration,\n} from './layoutIntegrationPlanning';\nexport type {\n ExpoRuntimeAdapterId,\n ExpoRuntimePlan,\n ExpoRuntimeProviderId,\n} from './resolveExpoRuntimePlan';\nexport { resolveExpoRuntimePlan } from './resolveExpoRuntimePlan';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,2CAA2C,GAC5C,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,8BAA8B,EAK9B,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,iCAAiC,EAOjC,2BAA2B,GAC5B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EACL,yBAAyB,GAE1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAkC,MAAM,wBAAwB,CAAC;AAC9F,OAAO,EACL,wBAAwB,GAEzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,6BAA6B,GAC9B,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAKL,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAEL,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC","sourcesContent":["export {\n BARCODE_SCANNER_TYPES,\n mapPermissionStatusToCameraPermissionStatus,\n} from './barcodeScanRuntime';\nexport {\n type ExpoBundledMediaRegistrySourceEntry,\n getExpoBundledMediaRegistrySource,\n} from './bundledMediaRegistrySource';\nexport {\n createExpoBundledMediaResolver,\n type ExpoBundledMediaRegistry,\n type ExpoBundledMediaResolver,\n type ExpoBundledMediaResolverArgs,\n type ExpoBundledMediaValue,\n resolveExpoBundledMediaAsset,\n} from './bundledMediaResolver';\nexport {\n type ExecuteExpoRuntimeCapabilityArgs,\n executeExpoRuntimeCapabilityAsync,\n type ExpoRuntimeCapabilityDiagnostic,\n type ExpoRuntimeCapabilityDiagnosticCode,\n type ExpoRuntimeCapabilityExecutionResult,\n type ExpoRuntimeCapabilityHandler,\n type ExpoRuntimeCapabilityHandlerArgs,\n type ExpoRuntimeRouteResolution,\n resolveExpoRuntimeRoutePath,\n} from './capabilityBridge';\nexport type { ComponentRegistry } from './componentRegistry';\nexport { createComponentRegistry } from './componentRegistry';\nexport { createExpoRuntimeRegistry } from './createExpoRuntimeRegistry';\nexport {\n ExpoBarcodeScannerAdapter,\n type ExpoBarcodeScannerAdapterProps,\n} from './ExpoBarcodeScannerAdapter';\nexport { ExpoRuntimeProviders, type ExpoRuntimeProvidersProps } from './ExpoRuntimeProviders';\nexport {\n ExpoZoraIconFontProvider,\n type ExpoZoraIconFontProviderProps,\n} from './ExpoZoraIconFontProvider';\nexport {\n type ExpoAuthoringRoutePlanning,\n getExpoAuthoringRoutePlanning,\n} from './features/navigation/getExpoAuthoringRoutePlanning';\nexport {\n type ExpoRuntimeConfigPluginOutput,\n type ExpoRuntimeDependencyMap,\n type ExpoRuntimeGeneratedAppOutputPlan,\n type ExpoRuntimeNativeOutputPlan,\n resolveExpoRuntimeConfigPluginOutput,\n resolveExpoRuntimeDependencyMap,\n resolveExpoRuntimeGeneratedAppOutput,\n resolveExpoRuntimeNativeOutput,\n} from './generatedAppOutput';\nexport { getExpoBarcodeScannerViewSource } from './generatedSources';\nexport {\n type ExpoRuntimeLayoutIntegrationPlan,\n resolveExpoRuntimeLayoutIntegration,\n} from './layoutIntegrationPlanning';\nexport type {\n ExpoRuntimeAdapterId,\n ExpoRuntimePlan,\n ExpoRuntimeProviderId,\n} from './resolveExpoRuntimePlan';\nexport { resolveExpoRuntimePlan } from './resolveExpoRuntimePlan';\n"]}
@@ -1,3 +1,4 @@
1
+ export { type ExpoAuthoringRoutePlanning, getExpoAuthoringRoutePlanning, } from './features/navigation/getExpoAuthoringRoutePlanning';
1
2
  export { type ExpoRuntimeConfigPluginOutput, type ExpoRuntimeDependencyMap, type ExpoRuntimeGeneratedAppOutputPlan, type ExpoRuntimeNativeOutputPlan, resolveExpoRuntimeConfigPluginOutput, resolveExpoRuntimeDependencyMap, resolveExpoRuntimeGeneratedAppOutput, resolveExpoRuntimeNativeOutput, } from './generatedAppOutput';
2
3
  export { getExpoBarcodeScannerViewSource } from './generatedSources';
3
4
  export { type ExpoRuntimeLayoutIntegrationPlan, resolveExpoRuntimeLayoutIntegration, } from './layoutIntegrationPlanning';
@@ -1 +1 @@
1
- {"version":3,"file":"planning.d.ts","sourceRoot":"","sources":["../src/planning.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,EAChC,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EACL,KAAK,gCAAgC,EACrC,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,oBAAoB,EACpB,eAAe,EACf,2BAA2B,EAC3B,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"planning.d.ts","sourceRoot":"","sources":["../src/planning.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,0BAA0B,EAC/B,6BAA6B,GAC9B,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,EAChC,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EACL,KAAK,gCAAgC,EACrC,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,oBAAoB,EACpB,eAAe,EACf,2BAA2B,EAC3B,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
package/dist/planning.js CHANGED
@@ -1,3 +1,4 @@
1
+ export { getExpoAuthoringRoutePlanning, } from './features/navigation/getExpoAuthoringRoutePlanning';
1
2
  export { resolveExpoRuntimeConfigPluginOutput, resolveExpoRuntimeDependencyMap, resolveExpoRuntimeGeneratedAppOutput, resolveExpoRuntimeNativeOutput, } from './generatedAppOutput';
2
3
  export { getExpoBarcodeScannerViewSource } from './generatedSources';
3
4
  export { resolveExpoRuntimeLayoutIntegration, } from './layoutIntegrationPlanning';
@@ -1 +1 @@
1
- {"version":3,"file":"planning.js","sourceRoot":"","sources":["../src/planning.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAEL,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC","sourcesContent":["export {\n type ExpoRuntimeConfigPluginOutput,\n type ExpoRuntimeDependencyMap,\n type ExpoRuntimeGeneratedAppOutputPlan,\n type ExpoRuntimeNativeOutputPlan,\n resolveExpoRuntimeConfigPluginOutput,\n resolveExpoRuntimeDependencyMap,\n resolveExpoRuntimeGeneratedAppOutput,\n resolveExpoRuntimeNativeOutput,\n} from './generatedAppOutput';\nexport { getExpoBarcodeScannerViewSource } from './generatedSources';\nexport {\n type ExpoRuntimeLayoutIntegrationPlan,\n resolveExpoRuntimeLayoutIntegration,\n} from './layoutIntegrationPlanning';\nexport {\n type ExpoRuntimeNativePlatform,\n type ExpoRuntimeNativeSchemeMap,\n resolveExpoRuntimeNativeSchemeMap,\n} from './nativeLinkingPlanning';\nexport type {\n ExpoRuntimeAdapterId,\n ExpoRuntimePlan,\n ExpoRuntimePlanningManifest,\n ExpoRuntimePlanningScreen,\n ExpoRuntimeProviderId,\n} from './resolveExpoRuntimePlan';\nexport { resolveExpoRuntimePlan } from './resolveExpoRuntimePlan';\n"]}
1
+ {"version":3,"file":"planning.js","sourceRoot":"","sources":["../src/planning.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,6BAA6B,GAC9B,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAKL,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAEL,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC","sourcesContent":["export {\n type ExpoAuthoringRoutePlanning,\n getExpoAuthoringRoutePlanning,\n} from './features/navigation/getExpoAuthoringRoutePlanning';\nexport {\n type ExpoRuntimeConfigPluginOutput,\n type ExpoRuntimeDependencyMap,\n type ExpoRuntimeGeneratedAppOutputPlan,\n type ExpoRuntimeNativeOutputPlan,\n resolveExpoRuntimeConfigPluginOutput,\n resolveExpoRuntimeDependencyMap,\n resolveExpoRuntimeGeneratedAppOutput,\n resolveExpoRuntimeNativeOutput,\n} from './generatedAppOutput';\nexport { getExpoBarcodeScannerViewSource } from './generatedSources';\nexport {\n type ExpoRuntimeLayoutIntegrationPlan,\n resolveExpoRuntimeLayoutIntegration,\n} from './layoutIntegrationPlanning';\nexport {\n type ExpoRuntimeNativePlatform,\n type ExpoRuntimeNativeSchemeMap,\n resolveExpoRuntimeNativeSchemeMap,\n} from './nativeLinkingPlanning';\nexport type {\n ExpoRuntimeAdapterId,\n ExpoRuntimePlan,\n ExpoRuntimePlanningManifest,\n ExpoRuntimePlanningScreen,\n ExpoRuntimeProviderId,\n} from './resolveExpoRuntimePlan';\nexport { resolveExpoRuntimePlan } from './resolveExpoRuntimePlan';\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/expo-runtime",
3
3
  "type": "module",
4
- "version": "7.0.4",
4
+ "version": "7.1.0",
5
5
  "description": "Declarative runtime integration for Expo apps: maps app capabilities to permissions, packages, config plugins, providers, and adapters",
6
6
  "homepage": "https://github.com/ankhorage/expo-runtime#readme",
7
7
  "bugs": {
@@ -27,7 +27,8 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "@ankhorage/capability": "^0.2.1",
30
- "@ankhorage/contracts": "^25.0.0"
30
+ "@ankhorage/contracts": "^26.0.0",
31
+ "@ankhorage/studio-authoring": "^0.4.0"
31
32
  },
32
33
  "files": [
33
34
  "dist",
@@ -272,7 +273,7 @@
272
273
  "expo-file-system": "~57.0.7",
273
274
  "expo-font": "~57.0.4",
274
275
  "expo-image-picker": "~57.0.21",
275
- "playwright-core": "^1.65.0",
276
+ "playwright-core": "^1.65.1",
276
277
  "pngjs": "^7.0.0",
277
278
  "react": "19.2.3",
278
279
  "react-dom": "19.2.3",
@@ -0,0 +1,24 @@
1
+ import { describe, expect, test } from 'bun:test';
2
+
3
+ import { getExpoAuthoringRoutePlanning } from './getExpoAuthoringRoutePlanning';
4
+
5
+ describe('getExpoAuthoringRoutePlanning', () => {
6
+ test('requires host composition for the published portable screen', () => {
7
+ const planning = getExpoAuthoringRoutePlanning();
8
+
9
+ expect(planning.find(({ route }) => route.id === 'screens')).toMatchObject({
10
+ status: 'requires-host-composition',
11
+ route: { pathPattern: '/ankh/screens' },
12
+ });
13
+ });
14
+
15
+ test('preserves every unresolved Authoring route without generating router source', () => {
16
+ const planning = getExpoAuthoringRoutePlanning();
17
+
18
+ expect(planning).toHaveLength(13);
19
+ expect(planning.filter(({ status }) => status === 'unresolved')).toHaveLength(12);
20
+ expect(planning.every((route) => !('routeFilePath' in route) && !('source' in route))).toBe(
21
+ true,
22
+ );
23
+ });
24
+ });
@@ -0,0 +1,24 @@
1
+ import {
2
+ AUTHORING_ANKH_ROUTE_DELIVERIES,
3
+ type AuthoringRouteDeliveryDefinition,
4
+ } from '@ankhorage/studio-authoring';
5
+
6
+ export interface ExpoAuthoringRoutePlanning {
7
+ readonly route: AuthoringRouteDeliveryDefinition;
8
+ readonly status: 'requires-host-composition' | 'unresolved';
9
+ }
10
+
11
+ /*** Describe Authoring routes without generating an Expo Router module before host composition exists. */
12
+ export function getExpoAuthoringRoutePlanning(): readonly ExpoAuthoringRoutePlanning[] {
13
+ return AUTHORING_ANKH_ROUTE_DELIVERIES.map(createExpoAuthoringRoutePlanning);
14
+ }
15
+
16
+ /*** Preserve Authoring owner boundaries in Expo planning rather than treating portable screens as routes. */
17
+ function createExpoAuthoringRoutePlanning(
18
+ route: AuthoringRouteDeliveryDefinition,
19
+ ): ExpoAuthoringRoutePlanning {
20
+ return {
21
+ route,
22
+ status: route.screen.status === 'available' ? 'requires-host-composition' : 'unresolved',
23
+ };
24
+ }
package/src/index.ts CHANGED
@@ -37,6 +37,10 @@ export {
37
37
  ExpoZoraIconFontProvider,
38
38
  type ExpoZoraIconFontProviderProps,
39
39
  } from './ExpoZoraIconFontProvider';
40
+ export {
41
+ type ExpoAuthoringRoutePlanning,
42
+ getExpoAuthoringRoutePlanning,
43
+ } from './features/navigation/getExpoAuthoringRoutePlanning';
40
44
  export {
41
45
  type ExpoRuntimeConfigPluginOutput,
42
46
  type ExpoRuntimeDependencyMap,
@@ -0,0 +1,41 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "adapter",
4
+ "title": "Ankhorage Expo Runtime",
5
+ "summary": "Provides declarative Expo runtime integration that maps application capabilities to permissions, packages, config plugins, providers, and adapters.",
6
+ "purpose": "Enable independently authored applications to realize declared capabilities in Expo environments without coupling portable application definitions to Expo implementation code.",
7
+ "domain": "Expo application runtime integration",
8
+ "responsibilities": [
9
+ "Map supported application capabilities to Expo permissions, packages, config plugins, providers, and adapters.",
10
+ "Publish runtime APIs for capability bridging, planning, platform access, media, OAuth browser handling, barcode scanning, bundled media, and icon fonts.",
11
+ "Provide React Native and browser-compatible package entrypoints for supported Expo runtime integrations."
12
+ ],
13
+ "boundaries": [
14
+ "Does not define the portable cross-repository contracts consumed by runtime integrations.",
15
+ "Does not own application-specific screens, business workflows, or deployment operations.",
16
+ "Does not implement providers outside the declared Expo integration surface."
17
+ ],
18
+ "audience": [
19
+ "Application authors integrating declared capabilities with Expo.",
20
+ "Maintainers of Expo adapters and runtime integrations."
21
+ ],
22
+ "useCases": [
23
+ "Plan Expo dependencies and permissions from declared application capabilities.",
24
+ "Integrate supported media, OAuth browser, barcode scanning, icon-font, and platform runtime behavior.",
25
+ "Bridge application capability invocations to Expo-backed implementations."
26
+ ],
27
+ "architecture": {
28
+ "role": "Framework-specific runtime integration package translating declared application capabilities into Expo-compatible behavior.",
29
+ "invariants": [
30
+ "Portable application contracts remain independent of Expo implementation details.",
31
+ "Framework and platform entrypoints are explicit package subpaths.",
32
+ "Optional Expo integrations remain isolated behind declared capability and provider boundaries."
33
+ ]
34
+ },
35
+ "constraints": {
36
+ "limitations": [
37
+ "Requires compatible Expo, React, React Native, and optional peer packages for the selected integration.",
38
+ "Only the explicitly published runtime entrypoints and supported capabilities are provided."
39
+ ]
40
+ }
41
+ }
package/src/planning.ts CHANGED
@@ -1,3 +1,7 @@
1
+ export {
2
+ type ExpoAuthoringRoutePlanning,
3
+ getExpoAuthoringRoutePlanning,
4
+ } from './features/navigation/getExpoAuthoringRoutePlanning';
1
5
  export {
2
6
  type ExpoRuntimeConfigPluginOutput,
3
7
  type ExpoRuntimeDependencyMap,