@ankhorage/zora 28.5.1 → 28.5.2

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 28.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 3634b1a: Allow published web artifacts to consume React 19.3 alongside the Expo 57 native React baseline.
8
+ - 77d4362: Update dependencies: `@ankhorage/surface`, `react-native-enriched-html`.
9
+
3
10
  ## 28.5.1
4
11
 
5
12
  ### Patch Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # ZORA
5
5
 
6
- ![license: MIT](././paradox/badges/license.svg) ![npm: v28.5.1](././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: configured](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
6
+ ![license: MIT](././paradox/badges/license.svg) ![npm: v28.5.2](././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: configured](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
7
7
 
8
8
  Provides opinionated React Native and React Native Web UI components, theme primitives, registries, and reader surfaces built on @ankhorage/surface.
9
9
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/zora",
3
3
  "type": "module",
4
- "version": "28.5.1",
4
+ "version": "28.5.2",
5
5
  "description": "Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.",
6
6
  "homepage": "https://github.com/ankhorage/zora#readme",
7
7
  "bugs": {
@@ -32,7 +32,7 @@
32
32
  "@react-native-vector-icons/ionicons": "^13.1.3 || ^14.0.0",
33
33
  "@react-native-vector-icons/material-design-icons": "^13.1.3 || ^14.0.0",
34
34
  "expo": "~57.0.0",
35
- "react": "19.2.3",
35
+ "react": "19.2.3 || 19.3",
36
36
  "react-native": "0.86.x",
37
37
  "react-native-gesture-handler": "~2.32.0",
38
38
  "react-native-reanimated": "4.5.1",
@@ -50,14 +50,14 @@
50
50
  "@ankhorage/grid-view": "^0.5.0",
51
51
  "@ankhorage/reader": "^0.1.3",
52
52
  "@ankhorage/runtime": "^5.7.5",
53
- "@ankhorage/surface": "^9.8.5",
53
+ "@ankhorage/surface": "^9.8.6",
54
54
  "@ankhorage/utility": "^1.11.0",
55
55
  "expo-asset": "~57.0.21",
56
56
  "expo-audio": "~57.0.5",
57
57
  "expo-document-picker": "~57.0.3",
58
58
  "expo-image-picker": "~57.0.20",
59
59
  "expo-video": "~57.0.5",
60
- "react-native-enriched-html": "1.2.0",
60
+ "react-native-enriched-html": "1.3.0",
61
61
  "xss": "^1.0.17"
62
62
  },
63
63
  "files": [
@@ -82,7 +82,8 @@ describe('portable ZORA package boundary', () => {
82
82
 
83
83
  expect(readValue(dependencies, '@ankhorage/surface')).toMatch(SEMVER_PATTERNS.caret);
84
84
  expect(readValue(dependencies, '@ankhorage/contracts')).toMatch(SEMVER_PATTERNS.caret);
85
- expect(peers.react).toMatch(SEMVER_PATTERNS.exact);
85
+ expect(peers.react).toBe('19.2.3 || 19.3');
86
+ expect(development.react).toBe('19.2.3');
86
87
  expect(readValue(peers, 'react-native')).toMatch(SEMVER_PATTERNS.minorWildcard);
87
88
  expect(readValue(peers, 'react-native-svg')).toMatch(SEMVER_PATTERNS.exact);
88
89
  expect(readValue(development, 'react-native-svg')).toMatch(SEMVER_PATTERNS.exact);
@@ -0,0 +1,17 @@
1
+ import { readFile } from 'node:fs/promises';
2
+
3
+ import { expect, test } from 'bun:test';
4
+
5
+ test('declares the React versions supported by the web artifact boundary', async () => {
6
+ const packageJson = (await Bun.file('package.json').json()) as {
7
+ readonly peerDependencies: Readonly<Record<string, string>>;
8
+ };
9
+ const webBuild = await readFile(
10
+ new URL('../scripts/web-artifacts/buildWebArtifact.ts', import.meta.url),
11
+ 'utf8',
12
+ );
13
+
14
+ expect(Bun.semver.satisfies('19.2.3', packageJson.peerDependencies.react)).toBe(true);
15
+ expect(Bun.semver.satisfies('19.3.1', packageJson.peerDependencies.react)).toBe(true);
16
+ expect(webBuild).toContain("external: ['react', 'react/*', 'react-dom', 'react-dom/*'");
17
+ });