@ankhorage/zora 26.1.6 → 27.0.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.
Files changed (70) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +1 -13
  3. package/dist/capabilities/index.d.ts.map +1 -1
  4. package/dist/capabilities/index.js +2 -63
  5. package/dist/capabilities/index.js.map +3 -3
  6. package/package.json +4 -102
  7. package/src/capabilities/index.test.ts +4 -7
  8. package/src/capabilities/index.ts +1 -62
  9. package/src/invertedThemeAcceptance.test.tsx +1 -1
  10. package/src/packedWebConsumerAcceptance.test.ts +20 -0
  11. package/src/structureOwnership.test.ts +1 -1
  12. package/src/webPackageExports.test.ts +1 -0
  13. package/dist/cli/commands/create.d.ts +0 -14
  14. package/dist/cli/commands/create.d.ts.map +0 -1
  15. package/dist/cli/commands/create.js +0 -22
  16. package/dist/cli/commands/create.js.map +0 -1
  17. package/dist/cli/commands/sync.d.ts +0 -14
  18. package/dist/cli/commands/sync.d.ts.map +0 -1
  19. package/dist/cli/commands/sync.js +0 -18
  20. package/dist/cli/commands/sync.js.map +0 -1
  21. package/dist/cli/index.d.ts +0 -27
  22. package/dist/cli/index.d.ts.map +0 -1
  23. package/dist/cli/index.js +0 -44
  24. package/dist/cli/index.js.map +0 -1
  25. package/dist/features/web-component-artifact/adapters/outbound/node/createNodeWebComponentArtifactFileSystem.d.ts +0 -4
  26. package/dist/features/web-component-artifact/adapters/outbound/node/createNodeWebComponentArtifactFileSystem.d.ts.map +0 -1
  27. package/dist/features/web-component-artifact/adapters/outbound/node/createNodeWebComponentArtifactFileSystem.js +0 -88
  28. package/dist/features/web-component-artifact/adapters/outbound/node/createNodeWebComponentArtifactFileSystem.js.map +0 -1
  29. package/dist/features/web-component-artifact/adapters/outbound/node/readWebDesiredStateWithNodeAsync.d.ts +0 -5
  30. package/dist/features/web-component-artifact/adapters/outbound/node/readWebDesiredStateWithNodeAsync.d.ts.map +0 -1
  31. package/dist/features/web-component-artifact/adapters/outbound/node/readWebDesiredStateWithNodeAsync.js +0 -24
  32. package/dist/features/web-component-artifact/adapters/outbound/node/readWebDesiredStateWithNodeAsync.js.map +0 -1
  33. package/dist/features/web-component-artifact/application/ports/outbound/WebComponentArtifactFileSystemPort.d.ts +0 -10
  34. package/dist/features/web-component-artifact/application/ports/outbound/WebComponentArtifactFileSystemPort.d.ts.map +0 -1
  35. package/dist/features/web-component-artifact/application/ports/outbound/WebComponentArtifactFileSystemPort.js +0 -2
  36. package/dist/features/web-component-artifact/application/ports/outbound/WebComponentArtifactFileSystemPort.js.map +0 -1
  37. package/dist/features/web-component-artifact/application/use-cases/synchronizeWebComponentArtifactsAsync.d.ts +0 -15
  38. package/dist/features/web-component-artifact/application/use-cases/synchronizeWebComponentArtifactsAsync.d.ts.map +0 -1
  39. package/dist/features/web-component-artifact/application/use-cases/synchronizeWebComponentArtifactsAsync.js +0 -76
  40. package/dist/features/web-component-artifact/application/use-cases/synchronizeWebComponentArtifactsAsync.js.map +0 -1
  41. package/dist/features/web-component-artifact/composition/createWebDesiredStateWithNodeAsync.d.ts +0 -6
  42. package/dist/features/web-component-artifact/composition/createWebDesiredStateWithNodeAsync.d.ts.map +0 -1
  43. package/dist/features/web-component-artifact/composition/createWebDesiredStateWithNodeAsync.js +0 -61
  44. package/dist/features/web-component-artifact/composition/createWebDesiredStateWithNodeAsync.js.map +0 -1
  45. package/dist/features/web-component-artifact/composition/readWebComponentPackageMetadataAsync.d.ts +0 -8
  46. package/dist/features/web-component-artifact/composition/readWebComponentPackageMetadataAsync.d.ts.map +0 -1
  47. package/dist/features/web-component-artifact/composition/readWebComponentPackageMetadataAsync.js +0 -10
  48. package/dist/features/web-component-artifact/composition/readWebComponentPackageMetadataAsync.js.map +0 -1
  49. package/dist/features/web-component-artifact/composition/synchronizeDeclaredWebComponentsWithNodeAsync.d.ts +0 -3
  50. package/dist/features/web-component-artifact/composition/synchronizeDeclaredWebComponentsWithNodeAsync.d.ts.map +0 -1
  51. package/dist/features/web-component-artifact/composition/synchronizeDeclaredWebComponentsWithNodeAsync.js +0 -16
  52. package/dist/features/web-component-artifact/composition/synchronizeDeclaredWebComponentsWithNodeAsync.js.map +0 -1
  53. package/dist/features/web-component-artifact/composition/synchronizeWebComponentArtifactsWithNodeAsync.d.ts +0 -4
  54. package/dist/features/web-component-artifact/composition/synchronizeWebComponentArtifactsWithNodeAsync.d.ts.map +0 -1
  55. package/dist/features/web-component-artifact/composition/synchronizeWebComponentArtifactsWithNodeAsync.js +0 -7
  56. package/dist/features/web-component-artifact/composition/synchronizeWebComponentArtifactsWithNodeAsync.js.map +0 -1
  57. package/src/cli/commands/create.ts +0 -37
  58. package/src/cli/commands/sync.ts +0 -35
  59. package/src/cli/index.test.ts +0 -35
  60. package/src/cli/index.ts +0 -57
  61. package/src/features/web-component-artifact/adapters/outbound/node/createNodeWebComponentArtifactFileSystem.ts +0 -109
  62. package/src/features/web-component-artifact/adapters/outbound/node/readWebDesiredStateWithNodeAsync.ts +0 -29
  63. package/src/features/web-component-artifact/application/ports/outbound/WebComponentArtifactFileSystemPort.ts +0 -9
  64. package/src/features/web-component-artifact/application/use-cases/synchronizeWebComponentArtifactsAsync.test.ts +0 -128
  65. package/src/features/web-component-artifact/application/use-cases/synchronizeWebComponentArtifactsAsync.ts +0 -133
  66. package/src/features/web-component-artifact/composition/createWebDesiredStateWithNodeAsync.ts +0 -60
  67. package/src/features/web-component-artifact/composition/readWebComponentPackageMetadataAsync.ts +0 -18
  68. package/src/features/web-component-artifact/composition/synchronizeDeclaredWebComponentsWithNodeAsync.ts +0 -17
  69. package/src/features/web-component-artifact/composition/synchronizeWebComponentArtifactsWithNodeAsync.ts +0 -16
  70. package/src/webArtifactRuntime.test.ts +0 -14
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 27.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 3d67dc0: Remove the obsolete `ankh zora create` and `ankh zora sync` materialization workflow. Standalone
8
+ Web-only consumers import published `@ankhorage/zora/web/*` subpaths directly instead of copying
9
+ package artifacts into project-local aliases.
10
+
3
11
  ## 26.1.6
4
12
 
5
13
  ### Patch Changes
package/README.md CHANGED
@@ -3,24 +3,12 @@
3
3
 
4
4
  # @ankhorage/zora
5
5
 
6
- ![license: MIT](././paradox/badges/license.svg) ![npm: v26.1.6](././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: v27.0.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
  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,cA6DQ,CAAC"}
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=79E5A2023CA7DB5764756E2164756E21
6141
+ //# debugId=2D2B9D602D9049D664756E2164756E21