Skip to content

Commit

Permalink
Add caret
Browse files Browse the repository at this point in the history
  • Loading branch information
biffgaut committed Jan 30, 2024
1 parent 4f6a825 commit bcff8b8
Show file tree
Hide file tree
Showing 80 changed files with 240 additions and 240 deletions.
6 changes: 3 additions & 3 deletions deployment/v2/align-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ for (const file of process.argv.splice(4)) {
pkg.version = targetSolutionsConstructsVersion;

pkg.dependencies = updateDependencyVersionNumbers(pkg.dependencies || { });
pkg.peerDependencies = updateDependencyVersionNumbers(pkg.peerDependencies || { });
pkg.peerDependencies = updateDependencyVersionNumbers(pkg.peerDependencies || { }, '^');
pkg.devDependencies = updateDependencyVersionNumbers(pkg.devDependencies || { });

// This will be removed in the next PR when we remove cdk-integ
Expand All @@ -35,13 +35,13 @@ for (const file of process.argv.splice(4)) {

}

function updateDependencyVersionNumbers(section) { let newdependencies = {};
function updateDependencyVersionNumbers(section, orBetter = '') { let newdependencies = {};
for (const [ name, version ] of Object.entries(section)) {
if (name.startsWith('@aws-solutions-constructs')) {
newdependencies[name] = version.replace(nullVersionMarker, targetSolutionsConstructsVersion);
}
else if (name.startsWith('aws-cdk-lib')) {
newdependencies[name] = version.replace(nullVersionMarker, awsCdkLibVersion);
newdependencies[name] = version.replace(nullVersionMarker, orBetter+awsCdkLibVersion);
}
else {
newdependencies[name] = version;
Expand Down
6 changes: 3 additions & 3 deletions source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"tslint": "^5.20.1",
"typescript": "4.7.4",
"aws-cdk-migration": "^1.135.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"lerna": "^3.22.1",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"workspaces": {
Expand All @@ -58,7 +58,7 @@
"**/@typescript-eslint/parser": "^4.1.1"
},
"peerDependencies": {
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
},
"dependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@aws-solutions-constructs/core": "0.0.0",
"@types/node": "^10.3.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"jest": {
Expand All @@ -79,7 +79,7 @@
},
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
},
"dependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@aws-solutions-constructs/core": "0.0.0",
"@types/node": "^10.3.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"jest": {
Expand All @@ -79,7 +79,7 @@
},
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
},
"dependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"jest": {
Expand All @@ -78,7 +78,7 @@
},
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
},
"dependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"jest": {
Expand All @@ -78,7 +78,7 @@
},
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
},
"dependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"jest": {
Expand All @@ -78,7 +78,7 @@
},
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
},
"dependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"jest": {
Expand All @@ -78,7 +78,7 @@
},
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
},
"dependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"jest": {
Expand All @@ -78,7 +78,7 @@
},
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
},
"dependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"jest": {
Expand All @@ -78,7 +78,7 @@
},
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@
"dependencies": {
"@aws-solutions-constructs/aws-cloudfront-apigateway": "0.0.0",
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"jest": {
Expand All @@ -80,7 +80,7 @@
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"@aws-solutions-constructs/aws-cloudfront-apigateway": "0.0.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
},
"dependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"jest": {
Expand All @@ -78,7 +78,7 @@
},
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
},
"dependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"jest": {
Expand All @@ -78,7 +78,7 @@
},
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@
"dependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"@aws-solutions-constructs/resources": "0.0.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"jest": {
Expand All @@ -80,7 +80,7 @@
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"@aws-solutions-constructs/resources": "0.0.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
},
"dependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"jest": {
Expand All @@ -78,7 +78,7 @@
},
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@
"@aws-solutions-constructs/core": "0.0.0",
"@aws-solutions-constructs/aws-dynamodbstreams-lambda": "0.0.0",
"@aws-solutions-constructs/aws-lambda-elasticsearch-kibana": "0.0.0",
"constructs": "10.0.0"
"constructs": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^10.3.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"jest": {
Expand All @@ -82,7 +82,7 @@
"@aws-solutions-constructs/core": "0.0.0",
"@aws-solutions-constructs/aws-dynamodbstreams-lambda": "0.0.0",
"@aws-solutions-constructs/aws-lambda-elasticsearch-kibana": "0.0.0",
"constructs": "10.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "0.0.0"
},
"keywords": [
Expand Down
Loading

0 comments on commit bcff8b8

Please sign in to comment.