@ankhorage/navigator 3.4.0 → 3.5.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ankhorage/navigator
2
2
 
3
+ ## 3.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b01c786: Publish the canonical `navigator.navigate` runtime capability with its portable route and params input schema.
8
+
3
9
  ## 3.4.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # NAVIGATOR
5
5
 
6
- ![license: MIT](././paradox/badges/license.svg) ![npm: v3.4.0](././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: checked](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
6
+ ![license: MIT](././paradox/badges/license.svg) ![npm: v3.5.0](././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: checked](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
7
7
 
8
8
  Standalone manifest-driven Navigator capability for cataloging, validating, planning, generating, and verifying Expo Router navigation.
9
9
 
@@ -1,5 +1,29 @@
1
- /*** Publish the portable action capabilities implemented by Navigator's Ankh provider. */
1
+ /*** Publish the portable capabilities owned by Navigator. */
2
2
  export declare const CAPABILITIES: readonly [{
3
+ readonly id: "navigator.navigate";
4
+ readonly owner: "@ankhorage/navigator";
5
+ readonly access: readonly ["invoke"];
6
+ readonly binding: {
7
+ readonly kind: "action";
8
+ readonly bindableAs: readonly ["target"];
9
+ };
10
+ readonly label: "Navigate";
11
+ readonly input: {
12
+ readonly schema: {
13
+ readonly type: "object";
14
+ readonly required: readonly ["route"];
15
+ readonly properties: {
16
+ readonly route: {
17
+ readonly type: "string";
18
+ };
19
+ readonly params: {
20
+ readonly type: "object";
21
+ readonly additionalProperties: true;
22
+ };
23
+ };
24
+ };
25
+ };
26
+ }, {
3
27
  readonly id: "navigator.catalog";
4
28
  readonly owner: "@ankhorage/navigator";
5
29
  readonly access: readonly ["invoke"];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[],"mappings":"AAEA,0FAA0F;AAC1F,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2CiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[],"mappings":"AAEA,6DAA6D;AAC7D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4DiB,CAAC"}
@@ -1,5 +1,22 @@
1
- /*** Publish the portable action capabilities implemented by Navigator's Ankh provider. */
1
+ /*** Publish the portable capabilities owned by Navigator. */
2
2
  export const CAPABILITIES = [
3
+ {
4
+ id: 'navigator.navigate',
5
+ owner: '@ankhorage/navigator',
6
+ access: ['invoke'],
7
+ binding: { kind: 'action', bindableAs: ['target'] },
8
+ label: 'Navigate',
9
+ input: {
10
+ schema: {
11
+ type: 'object',
12
+ required: ['route'],
13
+ properties: {
14
+ route: { type: 'string' },
15
+ params: { type: 'object', additionalProperties: true },
16
+ },
17
+ },
18
+ },
19
+ },
3
20
  {
4
21
  id: 'navigator.catalog',
5
22
  owner: '@ankhorage/navigator',
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[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AO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,QAAQ,CAAC,EAAE;KACpD;IACD;QACE,EAAE,EAAE,oBAAoB;QACxB,KAAK,EAAE,sBAAsB;QAC7B,MAAM,EAAE,CAAC,QAAQ,CAAC;QAClB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,QAAQ,CAAC,EAAE;KACpD;IACD;QACE,EAAE,EAAE,kBAAkB;QACtB,KAAK,EAAE,sBAAsB;QAC7B,MAAM,EAAE,CAAC,QAAQ,CAAC;QAClB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,QAAQ,CAAC,EAAE;KACpD;IACD;QACE,EAAE,EAAE,6BAA6B;QACjC,KAAK,EAAE,sBAAsB;QAC7B,MAAM,EAAE,CAAC,QAAQ,CAAC;QAClB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,QAAQ,CAAC,EAAE;KACpD;IACD;QACE,EAAE,EAAE,2BAA2B;QAC/B,KAAK,EAAE,sBAAsB;QAC7B,MAAM,EAAE,CAAC,QAAQ,CAAC;QAClB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,QAAQ,CAAC,EAAE;KACpD;CACuC,CAAC"}
@@ -3,6 +3,30 @@ declare const _default: {
3
3
  category: string;
4
4
  version: string;
5
5
  capabilities: readonly [{
6
+ readonly id: "navigator.navigate";
7
+ readonly owner: "@ankhorage/navigator";
8
+ readonly access: readonly ["invoke"];
9
+ readonly binding: {
10
+ readonly kind: "action";
11
+ readonly bindableAs: readonly ["target"];
12
+ };
13
+ readonly label: "Navigate";
14
+ readonly input: {
15
+ readonly schema: {
16
+ readonly type: "object";
17
+ readonly required: readonly ["route"];
18
+ readonly properties: {
19
+ readonly route: {
20
+ readonly type: "string";
21
+ };
22
+ readonly params: {
23
+ readonly type: "object";
24
+ readonly additionalProperties: true;
25
+ };
26
+ };
27
+ };
28
+ };
29
+ }, {
6
30
  readonly id: "navigator.catalog";
7
31
  readonly owner: "@ankhorage/navigator";
8
32
  readonly access: readonly ["invoke"];
@@ -61,7 +85,7 @@ declare const _default: {
61
85
  }];
62
86
  commands: {
63
87
  path: readonly string[];
64
- capability: "navigator.catalog" | "navigator.validate" | "navigator.plan" | "navigator.generate" | "navigator.verify" | "navigator.examples.generate" | "navigator.examples.verify";
88
+ capability: "navigator.navigate" | "navigator.catalog" | "navigator.validate" | "navigator.plan" | "navigator.generate" | "navigator.verify" | "navigator.examples.generate" | "navigator.examples.verify";
65
89
  summary: string;
66
90
  examples: string[];
67
91
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"createCliProvider.d.ts","sourceRoot":"","sources":["../../src/cli/createCliProvider.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBAmDuC"}
1
+ {"version":3,"file":"createCliProvider.d.ts","sourceRoot":"","sources":["../../src/cli/createCliProvider.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBAmDuC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankhorage/navigator",
3
- "version": "3.4.0",
3
+ "version": "3.5.0",
4
4
  "description": "Standalone manifest-driven navigator capability for Expo Router across React Native and React Native Web.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -69,6 +69,37 @@
69
69
  "category": "navigator",
70
70
  "provider": "./dist/cli/createCliProvider.js",
71
71
  "capabilities": [
72
+ {
73
+ "id": "navigator.navigate",
74
+ "owner": "@ankhorage/navigator",
75
+ "access": [
76
+ "invoke"
77
+ ],
78
+ "binding": {
79
+ "kind": "action",
80
+ "bindableAs": [
81
+ "target"
82
+ ]
83
+ },
84
+ "label": "Navigate",
85
+ "input": {
86
+ "schema": {
87
+ "type": "object",
88
+ "required": [
89
+ "route"
90
+ ],
91
+ "properties": {
92
+ "route": {
93
+ "type": "string"
94
+ },
95
+ "params": {
96
+ "type": "object",
97
+ "additionalProperties": true
98
+ }
99
+ }
100
+ }
101
+ }
102
+ },
72
103
  {
73
104
  "id": "navigator.catalog",
74
105
  "owner": "@ankhorage/navigator",
@@ -231,8 +262,8 @@
231
262
  "devDependencies": {
232
263
  "@ankhorage/ankh": "^0.12.0",
233
264
  "@ankhorage/devtools": "^2.0.115",
234
- "@ankhorage/paradox": "^0.2.28",
235
- "@ankhorage/surface": "^9.3.3",
265
+ "@ankhorage/paradox": "^0.3.1",
266
+ "@ankhorage/surface": "^9.4.0",
236
267
  "@playwright/test": "^1.63.0",
237
268
  "@react-native-vector-icons/fontawesome": "^13.1.4",
238
269
  "@react-native-vector-icons/fontawesome5": "^13.1.4",