@ankhorage/deploy 0.14.3 → 0.14.4

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/deploy
2
2
 
3
+ ## 0.14.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 8fb3772: Migrate the Deploy capability catalog to the standalone capability toolkit.
8
+
3
9
  ## 0.14.3
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # @ankhorage/deploy
5
5
 
6
- ![license: MIT](././paradox/badges/license.svg) ![npm: v0.14.3](././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: v0.14.4](././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
  Declarative deployment engine for Expo apps across web, iOS, and Android.
9
9
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[],"mappings":"AAEA,yFAAyF;AACzF,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B;QACE,EAAE,EAAE,gBAAgB;QACpB,KAAK,EAAE,mBAAmB;QAC1B,MAAM,EAAE,CAAC,QAAQ,CAAC;QAClB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,QAAQ,CAAC,EAAE;QACnD,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,yDAAyD;KACvE;CACuC,CAAC","sourcesContent":["import type { Capability } from '@ankhorage/contracts/capabilities';\n\n/*** Publish Deploy's canonical executable capability for Ankh discovery and bindings. */\nexport const CAPABILITIES = [\n {\n id: 'deploy.execute',\n owner: '@ankhorage/deploy',\n access: ['invoke'],\n binding: { kind: 'action', bindableAs: ['target'] },\n label: 'Execute deployment',\n description: 'Inspect, plan and execute the authored project release.',\n },\n] as const satisfies readonly Capability[];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[],"mappings":"AAEA,yFAAyF;AACzF,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B;QACE,EAAE,EAAE,gBAAgB;QACpB,KAAK,EAAE,mBAAmB;QAC1B,MAAM,EAAE,CAAC,QAAQ,CAAC;QAClB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,QAAQ,CAAC,EAAE;QACnD,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,yDAAyD;KACvE;CACuC,CAAC","sourcesContent":["import type { Capability } from '@ankhorage/contracts/capability';\n\n/*** Publish Deploy's canonical executable capability for Ankh discovery and bindings. */\nexport const CAPABILITIES = [\n {\n id: 'deploy.execute',\n owner: '@ankhorage/deploy',\n access: ['invoke'],\n binding: { kind: 'action', bindableAs: ['target'] },\n label: 'Execute deployment',\n description: 'Inspect, plan and execute the authored project release.',\n },\n] as const satisfies readonly Capability[];\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"createDeployCliProvider.js","sourceRoot":"","sources":["../../src/cli/createDeployCliProvider.ts"],"names":[],"mappings":"AAGA,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,0EAA0E;AAC1E,MAAM,UAAU,uBAAuB,CAAC,OAAyB;IAC/D,MAAM,OAAO,GAAG;QACd,IAAI,EAAE,EAAE;QACR,UAAU,EAAE,gBAA2C;QACvD,OAAO,EAAE,wDAAwD;QACjE,QAAQ,EAAE;YACR,aAAa;YACb,uBAAuB;YACvB,8CAA8C;SAC/C;KACO,CAAC;IAEX,OAAO;QACL,EAAE,EAAE,WAAW,CAAC,IAAI;QACpB,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,WAAW,CAAC,OAAO;QAC5B,YAAY,EAAE,YAAY;QAC1B,QAAQ,EAAE,CAAC,OAAO,CAAC;QACnB,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,EAAE;gBACR,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CACnB,sBAAsB,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,EAAE,OAAO,CAAC;aACpF;SACF;QACD,gBAAgB,EAAE;YAChB;gBACE,IAAI,EAAE,EAAE;gBACR,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CACnB,mBAAmB,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,EAAE,OAAO,CAAC;aACjF;SACF;KACF,CAAC;AACJ,CAAC","sourcesContent":["import type { AnkhRuntimeCommandProvider } from '@ankhorage/ankh';\nimport type { Capability } from '@ankhorage/contracts/capabilities';\n\nimport packageJson from '../../package.json';\nimport { CAPABILITIES } from '../capabilities/index.js';\nimport type { DeployCliRuntime } from './DeployCliRuntime.js';\nimport { handleDeployCliCommand } from './handleDeployCliCommand.js';\nimport { handleDeployCliPlan } from './handleDeployCliPlan.js';\n\n/*** Create the Deploy Ankh provider from the supplied package runtime. */\nexport function createDeployCliProvider(runtime: DeployCliRuntime): AnkhRuntimeCommandProvider {\n const command = {\n path: [],\n capability: 'deploy.execute' satisfies Capability['id'],\n summary: 'Inspect, plan and execute the authored project release',\n examples: [\n 'ankh deploy',\n 'ankh deploy --dry-run',\n 'ankh deploy --yes --android-track production',\n ],\n } as const;\n\n return {\n id: packageJson.name,\n category: 'deploy',\n version: packageJson.version,\n capabilities: CAPABILITIES,\n commands: [command],\n handlers: [\n {\n path: [],\n handler: (request) =>\n handleDeployCliCommand({ argv: request.argv, context: request.context }, runtime),\n },\n ],\n planningHandlers: [\n {\n path: [],\n handler: (request) =>\n handleDeployCliPlan({ argv: request.argv, context: request.context }, runtime),\n },\n ],\n };\n}\n"]}
1
+ {"version":3,"file":"createDeployCliProvider.js","sourceRoot":"","sources":["../../src/cli/createDeployCliProvider.ts"],"names":[],"mappings":"AAGA,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,0EAA0E;AAC1E,MAAM,UAAU,uBAAuB,CAAC,OAAyB;IAC/D,MAAM,OAAO,GAAG;QACd,IAAI,EAAE,EAAE;QACR,UAAU,EAAE,gBAA2C;QACvD,OAAO,EAAE,wDAAwD;QACjE,QAAQ,EAAE;YACR,aAAa;YACb,uBAAuB;YACvB,8CAA8C;SAC/C;KACO,CAAC;IAEX,OAAO;QACL,EAAE,EAAE,WAAW,CAAC,IAAI;QACpB,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,WAAW,CAAC,OAAO;QAC5B,YAAY,EAAE,YAAY;QAC1B,QAAQ,EAAE,CAAC,OAAO,CAAC;QACnB,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,EAAE;gBACR,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CACnB,sBAAsB,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,EAAE,OAAO,CAAC;aACpF;SACF;QACD,gBAAgB,EAAE;YAChB;gBACE,IAAI,EAAE,EAAE;gBACR,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CACnB,mBAAmB,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,EAAE,OAAO,CAAC;aACjF;SACF;KACF,CAAC;AACJ,CAAC","sourcesContent":["import type { AnkhRuntimeCommandProvider } from '@ankhorage/ankh';\nimport type { Capability } from '@ankhorage/contracts/capability';\n\nimport packageJson from '../../package.json';\nimport { CAPABILITIES } from '../capabilities/index.js';\nimport type { DeployCliRuntime } from './DeployCliRuntime.js';\nimport { handleDeployCliCommand } from './handleDeployCliCommand.js';\nimport { handleDeployCliPlan } from './handleDeployCliPlan.js';\n\n/*** Create the Deploy Ankh provider from the supplied package runtime. */\nexport function createDeployCliProvider(runtime: DeployCliRuntime): AnkhRuntimeCommandProvider {\n const command = {\n path: [],\n capability: 'deploy.execute' satisfies Capability['id'],\n summary: 'Inspect, plan and execute the authored project release',\n examples: [\n 'ankh deploy',\n 'ankh deploy --dry-run',\n 'ankh deploy --yes --android-track production',\n ],\n } as const;\n\n return {\n id: packageJson.name,\n category: 'deploy',\n version: packageJson.version,\n capabilities: CAPABILITIES,\n commands: [command],\n handlers: [\n {\n path: [],\n handler: (request) =>\n handleDeployCliCommand({ argv: request.argv, context: request.context }, runtime),\n },\n ],\n planningHandlers: [\n {\n path: [],\n handler: (request) =>\n handleDeployCliPlan({ argv: request.argv, context: request.context }, runtime),\n },\n ],\n };\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankhorage/deploy",
3
- "version": "0.14.3",
3
+ "version": "0.14.4",
4
4
  "description": "Declarative deployment engine for Expo apps across web, iOS, and Android — build, provision, publish, and manage releases from one configuration.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -103,13 +103,14 @@
103
103
  },
104
104
  "dependencies": {
105
105
  "@ankhorage/ankh": "^0.13.0",
106
- "@ankhorage/contracts": "^24.2.1",
106
+ "@ankhorage/capability": "^0.2.1",
107
+ "@ankhorage/contracts": "^25.0.0",
107
108
  "@ankhorage/deploy-provider-app-store-connect": "^0.0.0",
108
109
  "@ankhorage/deploy-provider-eas": "^0.0.0",
109
110
  "@ankhorage/deploy-provider-google-play": "^0.0.0"
110
111
  },
111
112
  "devDependencies": {
112
- "@ankhorage/devtools": "^2.3.9",
113
+ "@ankhorage/devtools": "^2.3.10",
113
114
  "@ankhorage/paradox": "^0.3.1",
114
115
  "@types/bun": "^1.4.2",
115
116
  "@types/node": "^26.6.5",