diff --git a/packages/cdktf-cli/templates/typescript/.hooks.sscaff.js b/packages/cdktf-cli/templates/typescript/.hooks.sscaff.js index 4b6f80a9d2..4d1037d1a7 100644 --- a/packages/cdktf-cli/templates/typescript/.hooks.sscaff.js +++ b/packages/cdktf-cli/templates/typescript/.hooks.sscaff.js @@ -12,7 +12,7 @@ exports.post = ctx => { if (!npm_cdktf) { throw new Error(`missing context "npm_cdktf"`); } installDeps([npm_cdktf, `constructs@10`]); - installDeps(['@types/node', 'typescript', 'jest', '@types/jest', "ts-jest", "ts-node"], true); + installDeps(['@types/node', 'typescript', 'jest@^26.6.3', '@types/jest', "ts-jest", "ts-node"], true); console.log(readFileSync('./help', 'utf-8')); };