@ankhorage/expo-runtime 0.0.11 → 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 +12 -0
- package/README.md +1 -1
- package/package.json +2 -2
- package/src/generatedAppOutput.test.ts +7 -0
- package/src/resolveExpoRuntimePlan.test.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
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
|
+
|
|
9
|
+
## 1.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- a7d0270: Consume the canonical Contracts 4 app-manifest boundary for Expo runtime planning.
|
|
14
|
+
|
|
3
15
|
## 0.0.11
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# EXPO-RUNTIME
|
|
5
5
|
|
|
6
|
-
         
|
|
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": "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": "^
|
|
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([]);
|