Skip to content

Commit

Permalink
chore(init-templates): fix dependencies in v2 TypeScript templates (a…
Browse files Browse the repository at this point in the history
…ws#16577)

We should not be using `dependencies` in libraries, but
`devDependencies` instead.

Fixes aws#16572.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
rix0rrr authored Sep 30, 2021
1 parent 94659d7 commit 3a724a2
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@
"devDependencies": {
"@types/jest": "^26.0.10",
"@types/node": "10.17.27",
"aws-cdk-lib": "%cdk-version%",
"constructs": "%constructs-version%",
"jest": "^26.4.2",
"ts-jest": "^26.2.0",
"typescript": "~3.9.7"
},
"peerDependencies": {
"aws-cdk-lib": "%cdk-version%",
"constructs": "%constructs-version%"
},
"dependencies": {
"aws-cdk-lib": "%cdk-version%",
"constructs": "%constructs-version%"
}
}

0 comments on commit 3a724a2

Please sign in to comment.