@ankhorage/zora 26.1.6 → 27.0.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 +14 -0
- package/README.md +1 -13
- package/dist/capabilities/index.d.ts.map +1 -1
- package/dist/capabilities/index.js +2 -63
- package/dist/capabilities/index.js.map +3 -3
- package/package.json +5 -103
- package/src/capabilities/index.test.ts +4 -7
- package/src/capabilities/index.ts +1 -62
- package/src/invertedThemeAcceptance.test.tsx +1 -1
- package/src/packedWebConsumerAcceptance.test.ts +20 -0
- package/src/structureOwnership.test.ts +1 -1
- package/src/webPackageExports.test.ts +1 -0
- package/dist/cli/commands/create.d.ts +0 -14
- package/dist/cli/commands/create.d.ts.map +0 -1
- package/dist/cli/commands/create.js +0 -22
- package/dist/cli/commands/create.js.map +0 -1
- package/dist/cli/commands/sync.d.ts +0 -14
- package/dist/cli/commands/sync.d.ts.map +0 -1
- package/dist/cli/commands/sync.js +0 -18
- package/dist/cli/commands/sync.js.map +0 -1
- package/dist/cli/index.d.ts +0 -27
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/index.js +0 -44
- package/dist/cli/index.js.map +0 -1
- package/dist/features/web-component-artifact/adapters/outbound/node/createNodeWebComponentArtifactFileSystem.d.ts +0 -4
- package/dist/features/web-component-artifact/adapters/outbound/node/createNodeWebComponentArtifactFileSystem.d.ts.map +0 -1
- package/dist/features/web-component-artifact/adapters/outbound/node/createNodeWebComponentArtifactFileSystem.js +0 -88
- package/dist/features/web-component-artifact/adapters/outbound/node/createNodeWebComponentArtifactFileSystem.js.map +0 -1
- package/dist/features/web-component-artifact/adapters/outbound/node/readWebDesiredStateWithNodeAsync.d.ts +0 -5
- package/dist/features/web-component-artifact/adapters/outbound/node/readWebDesiredStateWithNodeAsync.d.ts.map +0 -1
- package/dist/features/web-component-artifact/adapters/outbound/node/readWebDesiredStateWithNodeAsync.js +0 -24
- package/dist/features/web-component-artifact/adapters/outbound/node/readWebDesiredStateWithNodeAsync.js.map +0 -1
- package/dist/features/web-component-artifact/application/ports/outbound/WebComponentArtifactFileSystemPort.d.ts +0 -10
- package/dist/features/web-component-artifact/application/ports/outbound/WebComponentArtifactFileSystemPort.d.ts.map +0 -1
- package/dist/features/web-component-artifact/application/ports/outbound/WebComponentArtifactFileSystemPort.js +0 -2
- package/dist/features/web-component-artifact/application/ports/outbound/WebComponentArtifactFileSystemPort.js.map +0 -1
- package/dist/features/web-component-artifact/application/use-cases/synchronizeWebComponentArtifactsAsync.d.ts +0 -15
- package/dist/features/web-component-artifact/application/use-cases/synchronizeWebComponentArtifactsAsync.d.ts.map +0 -1
- package/dist/features/web-component-artifact/application/use-cases/synchronizeWebComponentArtifactsAsync.js +0 -76
- package/dist/features/web-component-artifact/application/use-cases/synchronizeWebComponentArtifactsAsync.js.map +0 -1
- package/dist/features/web-component-artifact/composition/createWebDesiredStateWithNodeAsync.d.ts +0 -6
- package/dist/features/web-component-artifact/composition/createWebDesiredStateWithNodeAsync.d.ts.map +0 -1
- package/dist/features/web-component-artifact/composition/createWebDesiredStateWithNodeAsync.js +0 -61
- package/dist/features/web-component-artifact/composition/createWebDesiredStateWithNodeAsync.js.map +0 -1
- package/dist/features/web-component-artifact/composition/readWebComponentPackageMetadataAsync.d.ts +0 -8
- package/dist/features/web-component-artifact/composition/readWebComponentPackageMetadataAsync.d.ts.map +0 -1
- package/dist/features/web-component-artifact/composition/readWebComponentPackageMetadataAsync.js +0 -10
- package/dist/features/web-component-artifact/composition/readWebComponentPackageMetadataAsync.js.map +0 -1
- package/dist/features/web-component-artifact/composition/synchronizeDeclaredWebComponentsWithNodeAsync.d.ts +0 -3
- package/dist/features/web-component-artifact/composition/synchronizeDeclaredWebComponentsWithNodeAsync.d.ts.map +0 -1
- package/dist/features/web-component-artifact/composition/synchronizeDeclaredWebComponentsWithNodeAsync.js +0 -16
- package/dist/features/web-component-artifact/composition/synchronizeDeclaredWebComponentsWithNodeAsync.js.map +0 -1
- package/dist/features/web-component-artifact/composition/synchronizeWebComponentArtifactsWithNodeAsync.d.ts +0 -4
- package/dist/features/web-component-artifact/composition/synchronizeWebComponentArtifactsWithNodeAsync.d.ts.map +0 -1
- package/dist/features/web-component-artifact/composition/synchronizeWebComponentArtifactsWithNodeAsync.js +0 -7
- package/dist/features/web-component-artifact/composition/synchronizeWebComponentArtifactsWithNodeAsync.js.map +0 -1
- package/src/cli/commands/create.ts +0 -37
- package/src/cli/commands/sync.ts +0 -35
- package/src/cli/index.test.ts +0 -35
- package/src/cli/index.ts +0 -57
- package/src/features/web-component-artifact/adapters/outbound/node/createNodeWebComponentArtifactFileSystem.ts +0 -109
- package/src/features/web-component-artifact/adapters/outbound/node/readWebDesiredStateWithNodeAsync.ts +0 -29
- package/src/features/web-component-artifact/application/ports/outbound/WebComponentArtifactFileSystemPort.ts +0 -9
- package/src/features/web-component-artifact/application/use-cases/synchronizeWebComponentArtifactsAsync.test.ts +0 -128
- package/src/features/web-component-artifact/application/use-cases/synchronizeWebComponentArtifactsAsync.ts +0 -133
- package/src/features/web-component-artifact/composition/createWebDesiredStateWithNodeAsync.ts +0 -60
- package/src/features/web-component-artifact/composition/readWebComponentPackageMetadataAsync.ts +0 -18
- package/src/features/web-component-artifact/composition/synchronizeDeclaredWebComponentsWithNodeAsync.ts +0 -17
- package/src/features/web-component-artifact/composition/synchronizeWebComponentArtifactsWithNodeAsync.ts +0 -16
- package/src/webArtifactRuntime.test.ts +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 27.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- bc73106: Update dependencies: `@ankhorage/contracts`.
|
|
8
|
+
|
|
9
|
+
## 27.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- 3d67dc0: Remove the obsolete `ankh zora create` and `ankh zora sync` materialization workflow. Standalone
|
|
14
|
+
Web-only consumers import published `@ankhorage/zora/web/*` subpaths directly instead of copying
|
|
15
|
+
package artifacts into project-local aliases.
|
|
16
|
+
|
|
3
17
|
## 26.1.6
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -3,24 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
# @ankhorage/zora
|
|
5
5
|
|
|
6
|
-
         
|
|
7
7
|
|
|
8
8
|
Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.
|
|
9
9
|
|
|
10
10
|
## Usage
|
|
11
11
|
|
|
12
|
-
### CLI
|
|
13
|
-
|
|
14
|
-
Ankhorage packages expose their command-line interface through `ankh`. Use `ankh --help` to discover available package commands, or run a package command with `--help` for package-specific usage.
|
|
15
|
-
|
|
16
|
-
```zsh
|
|
17
|
-
# Install the Ankhorage CLI
|
|
18
|
-
bun add --global @ankhorage/ankh
|
|
19
|
-
|
|
20
|
-
# Show usage information for zora
|
|
21
|
-
ankh zora --help
|
|
22
|
-
```
|
|
23
|
-
|
|
24
12
|
### Basic App
|
|
25
13
|
|
|
26
14
|
ZORA app root with optional runtime capabilities and adaptive UI.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAIlE,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAIlE,eAAO,MAAM,YAAY,cAAiE,CAAC"}
|
|
@@ -6133,70 +6133,9 @@ function createPayloadFieldSchema(field) {
|
|
|
6133
6133
|
}
|
|
6134
6134
|
|
|
6135
6135
|
// src/capabilities/index.ts
|
|
6136
|
-
var CAPABILITIES = [
|
|
6137
|
-
{
|
|
6138
|
-
id: "zora.create",
|
|
6139
|
-
owner: "@ankhorage/zora",
|
|
6140
|
-
access: ["invoke"],
|
|
6141
|
-
binding: {
|
|
6142
|
-
kind: "action",
|
|
6143
|
-
bindableAs: ["target"]
|
|
6144
|
-
},
|
|
6145
|
-
label: "Materialize ZORA web component",
|
|
6146
|
-
description: "Materialize a declared ZORA component and reconcile its web runtime.",
|
|
6147
|
-
input: {
|
|
6148
|
-
schema: {
|
|
6149
|
-
type: "object",
|
|
6150
|
-
required: ["component", "platform"],
|
|
6151
|
-
properties: {
|
|
6152
|
-
component: { type: "string" },
|
|
6153
|
-
platform: { type: "string", const: "web" }
|
|
6154
|
-
},
|
|
6155
|
-
additionalProperties: false
|
|
6156
|
-
}
|
|
6157
|
-
},
|
|
6158
|
-
output: {
|
|
6159
|
-
schema: {
|
|
6160
|
-
type: "object",
|
|
6161
|
-
required: ["exitCode"],
|
|
6162
|
-
properties: { exitCode: { type: "integer" } },
|
|
6163
|
-
additionalProperties: false
|
|
6164
|
-
}
|
|
6165
|
-
}
|
|
6166
|
-
},
|
|
6167
|
-
{
|
|
6168
|
-
id: "zora.sync",
|
|
6169
|
-
owner: "@ankhorage/zora",
|
|
6170
|
-
access: ["invoke"],
|
|
6171
|
-
binding: {
|
|
6172
|
-
kind: "action",
|
|
6173
|
-
bindableAs: ["target"]
|
|
6174
|
-
},
|
|
6175
|
-
label: "Synchronize ZORA web components",
|
|
6176
|
-
description: "Reconcile the web runtime from the declared ZORA component set.",
|
|
6177
|
-
input: {
|
|
6178
|
-
schema: {
|
|
6179
|
-
type: "object",
|
|
6180
|
-
required: ["platform"],
|
|
6181
|
-
properties: {
|
|
6182
|
-
platform: { type: "string", const: "web" }
|
|
6183
|
-
},
|
|
6184
|
-
additionalProperties: false
|
|
6185
|
-
}
|
|
6186
|
-
},
|
|
6187
|
-
output: {
|
|
6188
|
-
schema: {
|
|
6189
|
-
type: "object",
|
|
6190
|
-
required: ["exitCode"],
|
|
6191
|
-
properties: { exitCode: { type: "integer" } },
|
|
6192
|
-
additionalProperties: false
|
|
6193
|
-
}
|
|
6194
|
-
}
|
|
6195
|
-
},
|
|
6196
|
-
...createEventCapabilities()
|
|
6197
|
-
];
|
|
6136
|
+
var CAPABILITIES = [...createEventCapabilities()];
|
|
6198
6137
|
export {
|
|
6199
6138
|
CAPABILITIES
|
|
6200
6139
|
};
|
|
6201
6140
|
|
|
6202
|
-
//# debugId=
|
|
6141
|
+
//# debugId=2D2B9D602D9049D664756E2164756E21
|