@ankhorage/orchestrator-module-expo-localization 0.1.3 → 0.1.5

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,17 @@
1
1
  # @ankhorage/orchestrator-module-expo-localization
2
2
 
3
+ ## 0.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 2b1866c: Generate localization runtime files with direct `@ankhorage/runtime` imports and reject the retired `@ankh/runtime` workspace alias in regression coverage.
8
+
9
+ ## 0.1.4
10
+
11
+ ### Patch Changes
12
+
13
+ - ee45f8e: Update packages
14
+
3
15
  ## 0.1.3
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -3,14 +3,17 @@
3
3
  Adds localization support to Expo apps.
4
4
 
5
5
  ## 🎯 What you get
6
+
6
7
  - Localization setup instantly
7
8
  - No boilerplate
8
9
  - Fully reversible
9
10
 
10
11
  ## 📦 Usage
12
+
11
13
  ```ts
12
- orchestrator.install('expo-localization')
14
+ orchestrator.install('expo-localization');
13
15
  ```
14
16
 
15
17
  ## 🧠 Why this exists
18
+
16
19
  Standardizes localization setup across apps.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- import { expoLocalizationModule } from './module';
2
1
  export { type ExpoLocalizationModuleConfig, parseExpoLocalizationModuleConfig } from './config';
3
2
  export { EXPO_LOCALIZATION_MODULE_ID, expoLocalizationModule } from './module';
4
- export default expoLocalizationModule;
5
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAAE,KAAK,4BAA4B,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAC;AAChG,OAAO,EAAE,2BAA2B,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAE/E,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,4BAA4B,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAC;AAChG,OAAO,EAAE,2BAA2B,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC"}
package/dist/index.js CHANGED
@@ -1,5 +1,3 @@
1
- import { expoLocalizationModule } from './module';
2
1
  export { parseExpoLocalizationModuleConfig } from './config';
3
2
  export { EXPO_LOCALIZATION_MODULE_ID, expoLocalizationModule } from './module';
4
- export default expoLocalizationModule;
5
3
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAAqC,iCAAiC,EAAE,MAAM,UAAU,CAAC;AAChG,OAAO,EAAE,2BAA2B,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAE/E,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,iCAAiC,EAAE,MAAM,UAAU,CAAC;AAChG,OAAO,EAAE,2BAA2B,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "license": "MIT",
3
3
  "name": "@ankhorage/orchestrator-module-expo-localization",
4
- "version": "0.1.3",
4
+ "version": "0.1.5",
5
5
  "description": "Expo localization module for @ankhorage/orchestrator.",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
@@ -14,6 +14,14 @@
14
14
  "type": "git",
15
15
  "url": "git+https://github.com/ankhorage/orchestrator-module-expo-localization.git"
16
16
  },
17
+ "keywords": [
18
+ "typescript",
19
+ "expo",
20
+ "localization",
21
+ "i18n",
22
+ "orchestrator-module",
23
+ "react-native"
24
+ ],
17
25
  "sideEffects": false,
18
26
  "files": [
19
27
  "dist",
@@ -30,26 +38,23 @@
30
38
  },
31
39
  "scripts": {
32
40
  "build": "rm -rf dist tsconfig.tsbuildinfo && bun x tsc -p tsconfig.json",
33
- "lint": "eslint . --max-warnings=0",
34
- "lint:fix": "eslint . --fix --max-warnings=0",
35
- "format": "prettier --write .",
36
- "format:check": "prettier --check .",
37
- "knip": "knip",
41
+ "lint": "ankhorage-eslint . --max-warnings=0",
42
+ "lint:fix": "ankhorage-eslint . --fix --max-warnings=0",
43
+ "format": "ankhorage-prettier --write .",
44
+ "format:check": "ankhorage-prettier --check .",
45
+ "knip": "ankhorage-knip",
38
46
  "test": "bun test",
39
47
  "changeset": "changeset",
40
48
  "version-packages": "changeset version"
41
49
  },
42
50
  "dependencies": {
43
- "@ankhorage/orchestrator": "^0.2.1"
51
+ "@ankhorage/orchestrator": "^0.2.2"
44
52
  },
45
53
  "devDependencies": {
46
- "@ankhorage/devtools": "^1.0.1",
54
+ "@ankhorage/devtools": "^1.0.6",
47
55
  "@changesets/cli": "^2.31.0",
48
56
  "@types/bun": "^1.3.13",
49
57
  "@types/node": "^25.6.0",
50
- "eslint": "^10.3.0",
51
- "knip": "^5.88.1",
52
- "prettier": "^3.8.3",
53
58
  "typescript": "^5.9.3"
54
59
  },
55
60
  "packageManager": "bun@1.3.13",
@@ -1,5 +1,5 @@
1
1
  /* generated by @ankhorage/orchestrator-module-expo-localization */
2
- import { RuntimeRendererConfigProvider } from "@ankh/runtime";
2
+ import { RuntimeRendererConfigProvider } from "@ankhorage/runtime";
3
3
  import React, { useEffect, useMemo, useState } from "react";
4
4
  import * as ExpoLocalization from "expo-localization";
5
5
  import { useTranslation } from "react-i18next";
@@ -1,5 +1,5 @@
1
1
  /* generated by @ankhorage/orchestrator-module-expo-localization */
2
- import type { RuntimeActionHandlers, RuntimeNodePropsResolver } from "@ankh/runtime";
2
+ import type { RuntimeActionHandlers, RuntimeNodePropsResolver } from "@ankhorage/runtime";
3
3
  import type { i18n as I18nInstance } from "i18next";
4
4
 
5
5
  const LOCALIZED_PROP_PAIRS = [