Skip to content

Bound template dependencies - #357

Merged
ChiragAgg5k merged 3 commits into
mainfrom
chore/bound-template-dependencies
Aug 17, 2026
Merged

Bound template dependencies#357
ChiragAgg5k merged 3 commits into
mainfrom
chore/bound-template-dependencies

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Aug 17, 2026

Copy link
Copy Markdown
Member

Summary

  • bound direct dependencies to compatible ranges across template ecosystems
  • document dependency range and lockfile guidance in AGENTS.md and CONTRIBUTING.md
  • fix compile issues exposed by the dependency audit, including TypeScript, Deno, Kotlin, and Swift compatibility
before: unbounded dependency -> next breaking release can be installed
after:  patch/minor updates allowed -> next breaking release excluded

Testing

  • built Node, TypeScript, Bun, Python, Python ML, PHP, Ruby, Dart, Deno, Go, and Rust templates
  • built C++, .NET, Java, Kotlin, and Swift templates in their Open Runtimes images
  • git diff --check

@greptile-apps

greptile-apps Bot commented Aug 17, 2026

Copy link
Copy Markdown

Greptile Summary

The PR bounds direct template dependencies to compatible release ranges and updates source/configuration issues exposed while validating template builds.

  • Adds compatible upper and lower dependency bounds across Dart, .NET, npm, Python, Ruby, and Swift templates.
  • Synchronizes changed npm manifests with their lockfiles.
  • Fixes TypeScript typing, Deno error handling, Kotlin request-header access, and the Swift runtime declaration.
  • Documents the dependency-range policy for contributors.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
AGENTS.md Adds repository guidance requiring bounded compatible dependency ranges and synchronized lockfiles.
CONTRIBUTING.md Documents the same dependency constraint and lockfile policy for contributors.
kotlin/sync-with-meilisearch/src/Main.kt Corrects the Appwrite API key lookup to read the incoming request header.
node-typescript/discord-command-bot/tsconfig.json Adds strict NodeNext TypeScript compilation settings for the template.
node-typescript/sync-with-meilisearch/package.json Changes TypeScript to a compatible major-bounded caret range while keeping the lockfile synchronized.
node-typescript/sync-with-qdrant/package.json Changes TypeScript to a compatible major-bounded caret range while keeping the lockfile synchronized.
python-ml/generate_with_tensorflow/requirements.txt Adds explicit compatible major-version bounds for TensorFlow and NumPy.
swift/starter/Package.swift Updates the Swift tools declaration to match the documented Swift 6.2 runtime.

Reviews (3): Last reviewed commit: "chore: document dependency range guidanc..." | Re-trigger Greptile

Comment thread .github/scripts/check-dependency-ranges.py Outdated
@ChiragAgg5k ChiragAgg5k changed the title Bound template dependencies and verify builds Bound template dependencies Aug 17, 2026
@ChiragAgg5k
ChiragAgg5k merged commit f33acc7 into main Aug 17, 2026
11 checks passed
@ChiragAgg5k
ChiragAgg5k deleted the chore/bound-template-dependencies branch August 17, 2026 11:22
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.

2 participants