@ankhorage/expo-runtime 1.0.0 → 2.0.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,11 @@
1
1
  # @ankhorage/expo-runtime
2
2
 
3
+ ## 2.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 3ef194b: Align public manifest planning APIs with Contracts 6 and its canonical Ankhorage module fields. Expo config `plugins` remain unchanged as a separate Expo ecosystem concept.
8
+
3
9
  ## 1.0.0
4
10
 
5
11
  ### Major 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: v0.0.11](././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) ![docs: paradox](././paradox/badges/docs.svg)
6
+ ![license: MIT](././paradox/badges/license.svg) ![npm: v1.0.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) ![docs: paradox](././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
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/expo-runtime",
3
3
  "type": "module",
4
- "version": "1.0.0",
4
+ "version": "2.0.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": {
@@ -22,7 +22,7 @@
22
22
  "runtime"
23
23
  ],
24
24
  "dependencies": {
25
- "@ankhorage/contracts": "^4.0.2",
25
+ "@ankhorage/contracts": "^6.0.0",
26
26
  "@ankhorage/permissions": "^0.2.1"
27
27
  },
28
28
  "files": [
@@ -63,6 +63,13 @@ const CAMERA_PLAN: ExpoRuntimePlan = {
63
63
  };
64
64
 
65
65
  describe('generatedAppOutput', () => {
66
+ test('keeps Expo config plugins as a distinct external ecosystem concept', () => {
67
+ expect(resolveExpoRuntimeConfigPluginOutput(CAMERA_PLAN)).toEqual([
68
+ ['expo-camera', { cameraPermission: 'Allow camera access to scan barcodes.' }],
69
+ 'expo-something',
70
+ ]);
71
+ });
72
+
66
73
  test('returns empty output for missing or empty plans', () => {
67
74
  expect(resolveExpoRuntimeDependencyMap(undefined)).toEqual({});
68
75
  expect(resolveExpoRuntimeConfigPluginOutput(undefined)).toEqual([]);
@@ -195,7 +195,7 @@ const BASE_MANIFEST = {
195
195
  activeThemeId: 'default',
196
196
  activeThemeMode: 'light',
197
197
  infra: {
198
- plugins: [],
198
+ modules: [],
199
199
  },
200
200
  settings: {
201
201
  localization: {