@ankhorage/expo-runtime 3.0.1 → 3.0.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,11 @@
1
1
  # @ankhorage/expo-runtime
2
2
 
3
+ ## 3.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - a6576bc: Emit the generated barcode-scanner adapter with the canonical source format.
8
+
3
9
  ## 3.0.1
4
10
 
5
11
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  const EXPO_BARCODE_SCANNER_VIEW_SOURCE = [
2
2
  'export { ExpoBarcodeScannerAdapter as ExpoBarcodeScannerView }',
3
- ' from "@ankhorage/expo-runtime";',
3
+ " from '@ankhorage/expo-runtime';",
4
4
  '\n',
5
5
  ];
6
6
  export function getExpoBarcodeScannerViewSource() {
@@ -1 +1 @@
1
- {"version":3,"file":"generatedSources.js","sourceRoot":"","sources":["../src/generatedSources.ts"],"names":[],"mappings":"AAAA,MAAM,gCAAgC,GAAG;IACvC,gEAAgE;IAChE,kCAAkC;IAClC,IAAI;CACI,CAAC;AAEX,MAAM,UAAU,+BAA+B;IAC7C,OAAO,gCAAgC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnD,CAAC","sourcesContent":["const EXPO_BARCODE_SCANNER_VIEW_SOURCE = [\n 'export { ExpoBarcodeScannerAdapter as ExpoBarcodeScannerView }',\n ' from \"@ankhorage/expo-runtime\";',\n '\\n',\n] as const;\n\nexport function getExpoBarcodeScannerViewSource(): string {\n return EXPO_BARCODE_SCANNER_VIEW_SOURCE.join('');\n}\n"]}
1
+ {"version":3,"file":"generatedSources.js","sourceRoot":"","sources":["../src/generatedSources.ts"],"names":[],"mappings":"AAAA,MAAM,gCAAgC,GAAG;IACvC,gEAAgE;IAChE,kCAAkC;IAClC,IAAI;CACI,CAAC;AAEX,MAAM,UAAU,+BAA+B;IAC7C,OAAO,gCAAgC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnD,CAAC","sourcesContent":["const EXPO_BARCODE_SCANNER_VIEW_SOURCE = [\n 'export { ExpoBarcodeScannerAdapter as ExpoBarcodeScannerView }',\n \" from '@ankhorage/expo-runtime';\",\n '\\n',\n] as const;\n\nexport function getExpoBarcodeScannerViewSource(): string {\n return EXPO_BARCODE_SCANNER_VIEW_SOURCE.join('');\n}\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/expo-runtime",
3
3
  "type": "module",
4
- "version": "3.0.1",
4
+ "version": "3.0.2",
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": {
@@ -0,0 +1,11 @@
1
+ import { describe, expect, it } from 'bun:test';
2
+
3
+ import { getExpoBarcodeScannerViewSource } from './generatedSources';
4
+
5
+ describe('generated Expo runtime sources', () => {
6
+ it('emits the barcode scanner view adapter in canonical source format', () => {
7
+ expect(getExpoBarcodeScannerViewSource()).toBe(
8
+ "export { ExpoBarcodeScannerAdapter as ExpoBarcodeScannerView } from '@ankhorage/expo-runtime';\n",
9
+ );
10
+ });
11
+ });
@@ -1,6 +1,6 @@
1
1
  const EXPO_BARCODE_SCANNER_VIEW_SOURCE = [
2
2
  'export { ExpoBarcodeScannerAdapter as ExpoBarcodeScannerView }',
3
- ' from "@ankhorage/expo-runtime";',
3
+ " from '@ankhorage/expo-runtime';",
4
4
  '\n',
5
5
  ] as const;
6
6