@ankhorage/navigator 3.4.0 → 3.5.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 +12 -0
- package/README.md +1 -1
- package/dist/capabilities/index.d.ts +25 -1
- package/dist/capabilities/index.d.ts.map +1 -1
- package/dist/capabilities/index.js +18 -1
- package/dist/capabilities/index.js.map +1 -1
- package/dist/cli/createCliProvider.d.ts +25 -1
- package/dist/cli/createCliProvider.d.ts.map +1 -1
- package/package.json +35 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @ankhorage/navigator
|
|
2
2
|
|
|
3
|
+
## 3.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 91eaf20: Update dependencies: `@ankhorage/contracts`.
|
|
8
|
+
|
|
9
|
+
## 3.5.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- b01c786: Publish the canonical `navigator.navigate` runtime capability with its portable route and params input schema.
|
|
14
|
+
|
|
3
15
|
## 3.4.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# NAVIGATOR
|
|
5
5
|
|
|
6
|
-
         
|
|
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
|
|
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,
|
|
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
|
|
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":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[],"mappings":"AAEA,6DAA6D;AAC7D,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B;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;QACnD,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE;YACL,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,UAAU,EAAE;oBACV,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE;iBACvD;aACF;SACF;KACF;IACD;QACE,EAAE,EAAE,mBAAmB;QACvB,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,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,gBAAgB;QACpB,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,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":"
|
|
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.
|
|
3
|
+
"version": "3.5.1",
|
|
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",
|
|
@@ -189,7 +220,7 @@
|
|
|
189
220
|
"release:synchronize": "bun run examples:synchronize && bun run docs && bun run format"
|
|
190
221
|
},
|
|
191
222
|
"dependencies": {
|
|
192
|
-
"@ankhorage/contracts": "^24.
|
|
223
|
+
"@ankhorage/contracts": "^24.2.0",
|
|
193
224
|
"@ankhorage/utility": "^1.9.85"
|
|
194
225
|
},
|
|
195
226
|
"peerDependencies": {
|
|
@@ -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.
|
|
235
|
-
"@ankhorage/surface": "^9.
|
|
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",
|