Skip to content

fix(cli): bump @appwrite.io/console to 15.6.0 - #1697

Merged
ChiragAgg5k merged 1 commit into
mainfrom
fix/cli-console-15.6.0
Jul 28, 2026
Merged

fix(cli): bump @appwrite.io/console to 15.6.0#1697
ChiragAgg5k merged 1 commit into
mainfrom
fix/cli-console-15.6.0

Conversation

@ChiragAgg5k

Copy link
Copy Markdown
Member

What does this PR do?

Bumps the CLI template's @appwrite.io/console pin from 15.5.0 to 15.6.0.

The generated CLI now calls methods that do not exist in 15.5.0, so tsc fails on the generated output:

apps.ts(208):      Property 'listInstallations' does not exist on type 'Apps'
apps.ts(221/234/247): getInstallation / deleteInstallation / createInstallationToken
tablesdb.ts(308):  Property 'listOperations' does not exist on type 'TablesDB'
vcs.ts(217):       Property 'listNamespaces' does not exist on type 'Vcs'
vcs.ts(83):        Expected 1-3 arguments, but got 4   (createRepository providerNamespace)
activities.ts(50): Type 'string[]' is not assignable to parameter of type 'string'

@appwrite.io/console@15.6.0 (appwrite/sdk-for-console#107) ships all of them and is published to npm as latest.

Changes

  • templates/cli/package.json.twig and templates/cli/package.json — pin bumped.
  • templates/cli/package-lock.json.twig and templates/cli/bun.lock.twig — regenerated with ./scripts/update-lockfiles.sh cli per AGENTS.md, not edited by hand. Twig expressions are intact in both.

Test Plan

  • ./scripts/update-lockfiles.sh cli — both lock templates updated cleanly.
  • php example.php cli console — regenerates without error; examples/cli/package.json resolves to 15.6.0. (examples/* is gitignored, so this is verification only.)
  • No 15.5.0 references remain under templates/ or examples/.
  • composer refactor:check — Rector clean.
  • composer lint-twig — 44 errors both with and without this change; all pre-existing and none in the touched files.

Related PRs and Issues

Have you read the Contributing Guidelines on issues?

Yes.

The generated CLI calls apps.listInstallations, getInstallation,
deleteInstallation, createInstallationToken, listOperations,
vcs.listNamespaces, the four-argument vcs.createRepository, and an
array-typed activities.listEvents. None of those exist in 15.5.0, so
tsc fails on the generated output.

Lock templates regenerated with scripts/update-lockfiles.sh rather than
edited by hand.
@greptile-apps

greptile-apps Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Updates the generated CLI dependency set to support newly generated console SDK calls.

  • Pins @appwrite.io/console to 15.6.0 in both CLI package manifests.
  • Regenerates npm and Bun lock templates with matching package metadata and integrity hashes.
  • Includes the resulting compatible transitive minimatch update.

Confidence Score: 5/5

The PR appears safe to merge, with the dependency pin and both generated lock templates remaining consistent.

The manifests and lock templates all resolve @appwrite.io/console 15.6.0 with matching integrity metadata, and the incidental transitive update remains compatible with the existing override.

Important Files Changed

Filename Overview
templates/cli/package.json Updates the CLI reference manifest to pin @appwrite.io/console 15.6.0 consistently.
templates/cli/package.json.twig Updates generated CLI manifests to use the console SDK version required by generated service calls.
templates/cli/package-lock.json.twig Keeps the npm lock template synchronized with console SDK 15.6.0 and internally consistent transitive metadata.
templates/cli/bun.lock.twig Keeps the Bun lock template synchronized with the manifest and matching console SDK integrity metadata.

Reviews (1): Last reviewed commit: "fix(cli): bump @appwrite.io/console to 1..." | Re-trigger Greptile

@ChiragAgg5k
ChiragAgg5k merged commit 0364841 into main Jul 28, 2026
60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant