-
Notifications
You must be signed in to change notification settings - Fork 4.5k
For npm/yarn-based build, the CDK should be entirely self-contained. #871
Copy link
Copy link
Closed
Labels
effort/largeLarge work item – several weeks of effortLarge work item – several weeks of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI
Description
A source of confusion by people the Gitter room is the interaction between the global aws-cdk binary and project-level dependencies. Systems like create-react-app or Next.js create builds that are entirely self-contained, requiring no global dependencies other than npm or yarn. This workflow is closer to most JS-based workflows today, and allows for the CDK a simple npm update/yarn update.
Additionally, a create-cdk-app package would (like create-react-app or many of its kind) can be used as a template in in yarn or npx can be used to run create-x-app, removing the need for a cdk init-like command for Node-based projects.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
effort/largeLarge work item – several weeks of effortLarge work item – several weeks of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI