@ankhorage/surface 3.0.0 → 3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ankhorage/surface
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - c07471b: Support the React Native 0.86 patch line as a peer while validating Surface against the canonical React Native 0.86.3 application baseline.
8
+
3
9
  ## 3.0.0
4
10
 
5
11
  ### Major Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/surface",
3
3
  "type": "module",
4
- "version": "3.0.0",
4
+ "version": "3.0.1",
5
5
  "description": "Stable UI foundation for React Native and React Native Web.",
6
6
  "homepage": "https://github.com/ankhorage/surface#readme",
7
7
  "bugs": {
@@ -32,7 +32,7 @@
32
32
  "@react-native-vector-icons/fontawesome6": "^13.1.3",
33
33
  "@react-native-vector-icons/ionicons": "^13.1.3",
34
34
  "react": "19.2.3",
35
- "react-native": "0.86.2",
35
+ "react-native": "0.86.x",
36
36
  "react-native-safe-area-context": "~5.7.0",
37
37
  "react-native-web": "~0.21.0"
38
38
  },
@@ -91,7 +91,7 @@
91
91
  "happy-dom": "^20.11.6",
92
92
  "react": "19.2.3",
93
93
  "react-dom": "19.2.3",
94
- "react-native": "0.86.2",
94
+ "react-native": "0.86.3",
95
95
  "react-native-safe-area-context": "~5.7.0",
96
96
  "react-native-web": "~0.21.0",
97
97
  "typescript": "~6.0.3"
package/src/index.test.ts CHANGED
@@ -6,8 +6,10 @@ const indexSource = readFileSync(new URL('./index.ts', import.meta.url), 'utf8')
6
6
  const packageJson = JSON.parse(
7
7
  readFileSync(new URL('../package.json', import.meta.url), 'utf8'),
8
8
  ) as {
9
+ devDependencies: Record<string, string>;
9
10
  exports: Record<string, unknown>;
10
11
  files: string[];
12
+ peerDependencies: Record<string, string>;
11
13
  };
12
14
 
13
15
  const expectedRootExports = [
@@ -68,4 +70,9 @@ describe('public package contract', () => {
68
70
  './package.json': './package.json',
69
71
  });
70
72
  });
73
+
74
+ it('supports RN 0.86 patches while validating the canonical RN 0.86.3 baseline', () => {
75
+ expect(packageJson.peerDependencies['react-native']).toBe('0.86.x');
76
+ expect(packageJson.devDependencies['react-native']).toBe('0.86.3');
77
+ });
71
78
  });