Skip to content

Commit

Permalink
fix(init-templates): JavaScript, TypeScript, and Python init template…
Browse files Browse the repository at this point in the history
…s are broken in 1.21.0 (#5989)

Addressed by using fixed dependencies in init templates

Fixes #5986
  • Loading branch information
shivlaks authored Feb 5, 2020
1 parent 4881be9 commit 505c91e
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"test": "jest"
},
"devDependencies": {
"@aws-cdk/assert": "^%cdk-version%",
"aws-cdk": "^%cdk-version%",
"@aws-cdk/assert": "%cdk-version%",
"aws-cdk": "%cdk-version%",
"jest": "^24.9.0"
},
"dependencies": {
"@aws-cdk/core": "^%cdk-version%"
"@aws-cdk/core": "%cdk-version%"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
packages=setuptools.find_packages(where="%name.PythonModule%"),

install_requires=[
"aws-cdk.core",
"aws-cdk.core==%cdk-version%",
],

python_requires=">=3.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
"cdk": "cdk"
},
"devDependencies": {
"@aws-cdk/assert": "^%cdk-version%",
"@aws-cdk/assert": "%cdk-version%",
"@types/jest": "^24.0.22",
"@types/node": "10.17.5",
"jest": "^24.9.0",
"ts-jest": "^24.1.0",
"aws-cdk": "^%cdk-version%",
"aws-cdk": "%cdk-version%",
"ts-node": "^8.1.0",
"typescript": "~3.7.2"
},
"dependencies": {
"@aws-cdk/core": "^%cdk-version%",
"@aws-cdk/core": "%cdk-version%",
"source-map-support": "^0.5.16"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@
"test": "jest"
},
"devDependencies": {
"@aws-cdk/assert": "^%cdk-version%",
"@aws-cdk/assert": "%cdk-version%",
"@types/jest": "^24.0.22",
"@types/node": "10.17.5",
"jest": "^24.9.0",
"ts-jest": "^24.1.0",
"typescript": "~3.7.2"
},
"peerDependencies": {
"@aws-cdk/core": "^%cdk-version%"
"@aws-cdk/core": "%cdk-version%"
},
"dependencies": {
"@aws-cdk/aws-sns": "^%cdk-version%",
"@aws-cdk/aws-sns-subscriptions": "^%cdk-version%",
"@aws-cdk/aws-sqs": "^%cdk-version%",
"@aws-cdk/core": "^%cdk-version%"
"@aws-cdk/aws-sns": "%cdk-version%",
"@aws-cdk/aws-sns-subscriptions": "%cdk-version%",
"@aws-cdk/aws-sqs": "%cdk-version%",
"@aws-cdk/core": "%cdk-version%"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"test": "jest"
},
"devDependencies": {
"@aws-cdk/assert": "^%cdk-version%",
"aws-cdk": "^%cdk-version%",
"@aws-cdk/assert": "%cdk-version%",
"aws-cdk": "%cdk-version%",
"jest": "^24.9.0"
},
"dependencies": {
"@aws-cdk/aws-sns": "^%cdk-version%",
"@aws-cdk/aws-sns-subscriptions": "^%cdk-version%",
"@aws-cdk/aws-sqs": "^%cdk-version%",
"@aws-cdk/core": "^%cdk-version%"
"@aws-cdk/aws-sns": "%cdk-version%",
"@aws-cdk/aws-sns-subscriptions": "%cdk-version%",
"@aws-cdk/aws-sqs": "%cdk-version%",
"@aws-cdk/core": "%cdk-version%"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
packages=setuptools.find_packages(where="%name.PythonModule%"),

install_requires=[
"aws-cdk.core",
"aws-cdk.aws_iam",
"aws-cdk.aws_sqs",
"aws-cdk.aws_sns",
"aws-cdk.aws_sns_subscriptions",
"aws-cdk.aws_s3",
"aws-cdk.core==%cdk-version%",
"aws-cdk.aws_iam==%cdk-version%",
"aws-cdk.aws_sqs==%cdk-version%",
"aws-cdk.aws_sns==%cdk-version%",
"aws-cdk.aws_sns_subscriptions==%cdk-version%",
"aws-cdk.aws_s3==%cdk-version%",
],

python_requires=">=3.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"cdk": "cdk"
},
"devDependencies": {
"aws-cdk": "^%cdk-version%",
"@aws-cdk/assert": "^%cdk-version%",
"aws-cdk": "%cdk-version%",
"@aws-cdk/assert": "%cdk-version%",
"@types/jest": "^24.0.22",
"@types/node": "10.17.5",
"jest": "^24.9.0",
Expand All @@ -21,9 +21,9 @@
"typescript": "~3.7.2"
},
"dependencies": {
"@aws-cdk/aws-sns": "^%cdk-version%",
"@aws-cdk/aws-sns-subscriptions": "^%cdk-version%",
"@aws-cdk/aws-sqs": "^%cdk-version%",
"@aws-cdk/core": "^%cdk-version%"
"@aws-cdk/aws-sns": "%cdk-version%",
"@aws-cdk/aws-sns-subscriptions": "%cdk-version%",
"@aws-cdk/aws-sqs": "%cdk-version%",
"@aws-cdk/core": "%cdk-version%"
}
}

0 comments on commit 505c91e

Please sign in to comment.