Skip to content

feat: CLI should manage dependencies of created projects. #1540

Closed

Description

@Hweinstock

Problem

The CLI currently creates projects with unpinned dependencies. Ex. see

"dependencies": {
"@aws/agentcore-cdk": "^0.1.0-alpha.19",
"aws-cdk-lib": "^2.248.0",
"constructs": "^10.0.0"
}
.

This allows customers to manage dependencies themselves, and always pull down the latest new features.

However, it creates a risk where any dependencies (outside of our control) could make breaking changes that affect the template code, or the ability for the CLI to interact with the project.

Definition of Done

Propose a plan for how to manage those dependencies (on behalf of the customer) to avoid the risks outlined above.

  • consider both new and existing projects.
  • consider the feasibility across different templates (ex. what about BYO, python templates, typescript templates, etc).
  • consider how the CLI should manage this with minimal complexity.
  • should this be controllable? If so how?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions