Skip to content

Commit

Permalink
Bump data package (#14007)
Browse files Browse the repository at this point in the history
* build: restrict data dep update script to current major version

* chore: upgrade data packages

* chore: bump binary size in CI check

* chore: bump binary size in CI check

* chore: bump binary size in CI check

* chore: bump binary size in CI check

* chore: bump binary size in CI check

* chore: bump binary size in CI check

* chore: fix cloud e2e script (#14008)

* chore: update @aws-sdk/client-iam version

* chore: refresh yarn.lock

* chore: bump sdk version to 3.624.0

* Revert "chore: bump sdk version to 3.624.0"

This reverts commit 8df4d2a.

* Revert "chore: refresh yarn.lock"

This reverts commit dc44156.

* Revert "chore: update @aws-sdk/client-iam version"

This reverts commit 6f2d446.

* update aws-sdk version to 3.624.0

* chore: yarn dedupe
  • Loading branch information
bobbyu99 authored Nov 4, 2024
1 parent d036fe7 commit b40e8e8
Show file tree
Hide file tree
Showing 16 changed files with 1,848 additions and 3,822 deletions.
8 changes: 4 additions & 4 deletions .circleci/local_publish_helpers_codebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ function verifyPkgCli {
fi
}

verifySinglePkg "amplify-pkg-linux-x64" "amplify-pkg-linux-x64.tgz" $((830 * 1024 * 1024))
verifySinglePkg "amplify-pkg-macos-x64" "amplify-pkg-macos-x64.tgz" $((835 * 1024 * 1024))
verifySinglePkg "amplify-pkg-win-x64.exe" "amplify-pkg-win-x64.tgz" $((820 * 1024 * 1024))
verifySinglePkg "amplify-pkg-linux-arm64" "amplify-pkg-linux-arm64.tgz" $((670 * 1024 * 1024))
verifySinglePkg "amplify-pkg-linux-x64" "amplify-pkg-linux-x64.tgz" $((865 * 1024 * 1024))
verifySinglePkg "amplify-pkg-macos-x64" "amplify-pkg-macos-x64.tgz" $((870 * 1024 * 1024))
verifySinglePkg "amplify-pkg-win-x64.exe" "amplify-pkg-win-x64.tgz" $((860 * 1024 * 1024))
verifySinglePkg "amplify-pkg-linux-arm64" "amplify-pkg-linux-arm64.tgz" $((710 * 1024 * 1024))
}

function unsetNpmRegistryUrl {
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify-category-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"uuid": "^8.3.2"
},
"devDependencies": {
"@aws-sdk/client-cognito-identity-provider": "^3.303.0",
"@aws-sdk/client-iam": "^3.303.0",
"@aws-sdk/client-cognito-identity-provider": "3.624.0",
"@aws-sdk/client-iam": "3.624.0",
"@types/mime-types": "^2.1.1",
"cloudform-types": "^4.2.0",
"jest": "^29.5.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"express": "^4.17.1"
},
"devDependencies": {
"@aws-sdk/client-cognito-identity-provider": "^3.303.0"
"@aws-sdk/client-cognito-identity-provider": "3.624.0"
}
}
2 changes: 1 addition & 1 deletion packages/amplify-category-geo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"uuid": "^8.3.2"
},
"devDependencies": {
"@aws-sdk/client-location": "^3.303.0"
"@aws-sdk/client-location": "3.624.0"
},
"jest": {
"collectCoverage": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-category-predictions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"uuid": "^8.3.2"
},
"devDependencies": {
"@aws-sdk/client-rekognition": "^3.303.0"
"@aws-sdk/client-rekognition": "3.624.0"
},
"berry": {
"plugins": [
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"dependencies": {
"@aws-amplify/amplify-app": "5.0.36",
"@aws-amplify/amplify-category-analytics": "5.0.36",
"@aws-amplify/amplify-category-api": "^5.12.5",
"@aws-amplify/amplify-category-api": "^5.12.7",
"@aws-amplify/amplify-category-auth": "3.7.15",
"@aws-amplify/amplify-category-custom": "3.1.24",
"@aws-amplify/amplify-category-function": "5.7.10",
Expand Down Expand Up @@ -66,7 +66,7 @@
"@aws-amplify/amplify-util-mock": "5.10.7",
"@aws-amplify/amplify-util-uibuilder": "1.14.13",
"@aws-cdk/cloudformation-diff": "~2.68.0",
"amplify-codegen": "^4.9.7",
"amplify-codegen": "^4.10.0",
"amplify-dotnet-function-runtime-provider": "2.0.29",
"amplify-go-function-runtime-provider": "2.3.47",
"amplify-java-function-runtime-provider": "2.3.47",
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-container-hosting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"extract-api": "ts-node ../../scripts/extract-api.ts"
},
"dependencies": {
"@aws-amplify/amplify-category-api": "^5.12.5",
"@aws-amplify/amplify-category-api": "^5.12.7",
"@aws-amplify/amplify-cli-core": "4.3.10",
"@aws-amplify/amplify-environment-parameters": "1.9.15",
"fs-extra": "^8.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify-e2e-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
},
"dependencies": {
"@aws-amplify/amplify-cli-core": "4.3.10",
"@aws-sdk/client-sts": "^3.303.0",
"@aws-sdk/credential-providers": "^3.303.0",
"@aws-sdk/client-sts": "3.624.0",
"@aws-sdk/credential-providers": "3.624.0",
"amplify-headless-interface": "1.17.7",
"aws-amplify": "^5.3.16",
"aws-appsync": "^4.1.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/amplify-e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"@aws-amplify/amplify-e2e-core": "5.6.0",
"@aws-amplify/amplify-opensearch-simulator": "1.7.15",
"@aws-amplify/graphql-transformer-core": "^2.9.3",
"@aws-sdk/client-appsync": "^3.303.0",
"@aws-sdk/client-dynamodb": "^3.303.0",
"@aws-sdk/client-s3": "^3.303.0",
"@aws-sdk/client-ssm": "^3.303.0",
"@aws-sdk/client-appsync": "3.624.0",
"@aws-sdk/client-dynamodb": "3.624.0",
"@aws-sdk/client-s3": "3.624.0",
"@aws-sdk/client-ssm": "3.624.0",
"@babel/core": "^7.23.2",
"@babel/plugin-transform-modules-commonjs": "7.10.4",
"amplify-dynamodb-simulator": "2.9.19",
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-migration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@aws-amplify/amplify-cli-core": "4.3.10",
"@aws-amplify/amplify-e2e-core": "5.6.0",
"@aws-cdk/cloudformation-diff": "~2.68.0",
"@aws-sdk/client-s3": "^3.303.0",
"@aws-sdk/client-s3": "3.624.0",
"amplify-headless-interface": "1.17.7",
"aws-amplify": "^5.3.16",
"aws-cdk-lib": "~2.129.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-provider-awscloudformation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@aws-amplify/cli-extensibility-helper": "3.0.34",
"@aws-amplify/graphql-transformer-core": "^2.9.3",
"@aws-amplify/graphql-transformer-interfaces": "^3.10.1",
"amplify-codegen": "^4.9.7",
"amplify-codegen": "^4.10.0",
"archiver": "^5.3.0",
"aws-cdk-lib": "~2.129.0",
"aws-sdk": "^2.1464.0",
Expand Down
22 changes: 11 additions & 11 deletions packages/amplify-util-mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@aws-amplify/amplify-prompts": "2.8.6",
"@aws-amplify/amplify-provider-awscloudformation": "8.11.0",
"@hapi/topo": "^5.0.0",
"amplify-codegen": "^4.9.7",
"amplify-codegen": "^4.10.0",
"amplify-dynamodb-simulator": "2.9.19",
"amplify-storage-simulator": "1.11.4",
"axios": "^1.6.7",
Expand All @@ -56,16 +56,16 @@
},
"devDependencies": {
"@aws-amplify/amplify-function-plugin-interface": "1.12.1",
"@aws-amplify/graphql-auth-transformer": "^3.6.4",
"@aws-amplify/graphql-default-value-transformer": "^2.3.12",
"@aws-amplify/graphql-function-transformer": "^2.1.26",
"@aws-amplify/graphql-http-transformer": "^2.1.26",
"@aws-amplify/graphql-index-transformer": "^2.4.8",
"@aws-amplify/graphql-maps-to-transformer": "^3.4.22",
"@aws-amplify/graphql-model-transformer": "^2.11.3",
"@aws-amplify/graphql-predictions-transformer": "^2.1.26",
"@aws-amplify/graphql-relational-transformer": "^2.5.10",
"@aws-amplify/graphql-searchable-transformer": "^2.7.8",
"@aws-amplify/graphql-auth-transformer": "^3.6.6",
"@aws-amplify/graphql-default-value-transformer": "^2.3.14",
"@aws-amplify/graphql-function-transformer": "^2.1.27",
"@aws-amplify/graphql-http-transformer": "^2.1.27",
"@aws-amplify/graphql-index-transformer": "^2.4.10",
"@aws-amplify/graphql-maps-to-transformer": "^3.4.24",
"@aws-amplify/graphql-model-transformer": "^2.11.5",
"@aws-amplify/graphql-predictions-transformer": "^2.1.27",
"@aws-amplify/graphql-relational-transformer": "^2.5.12",
"@aws-amplify/graphql-searchable-transformer": "^2.7.10",
"@aws-amplify/graphql-transformer": "^1.1.0",
"@aws-amplify/graphql-transformer-core": "^2.9.3",
"@aws-amplify/graphql-transformer-interfaces": "^3.10.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify-util-uibuilder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"access": "public"
},
"dependencies": {
"@aws-amplify/amplify-category-api": "^5.12.5",
"@aws-amplify/amplify-category-api": "^5.12.7",
"@aws-amplify/amplify-cli-core": "4.3.10",
"@aws-amplify/amplify-prompts": "2.8.6",
"@aws-amplify/codegen-ui": "2.14.2",
"@aws-amplify/codegen-ui-react": "2.14.2",
"amplify-codegen": "^4.9.7",
"amplify-codegen": "^4.10.0",
"aws-sdk": "^2.1464.0",
"fs-extra": "^8.1.0",
"node-fetch": "^2.6.7",
Expand Down
7 changes: 5 additions & 2 deletions scripts/cloud-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ function cloudE2EBeta {
}
function cloudE2E {
echo Running Prod E2E Test Suite
if [[-z "$USER"]]; then
if [[ -n "$USER" ]]; then
export TARGET_BRANCH=run-cb-e2e/$USER/$CURR_BRANCH
else
elif [[ -n "$USERNAME" ]]; then
export TARGET_BRANCH=run-cb-e2e/$USERNAME/$CURR_BRANCH
else
echo "Error: Both USER and USERNAME variables are not set."
exit 1
fi
git push $(git remote -v | grep aws-amplify/amplify-cli | head -n1 | awk '{print $1;}') $CURR_BRANCH:$TARGET_BRANCH --no-verify --force-with-lease
triggerProjectBatch $E2E_ACCOUNT_PROD $E2E_ROLE_NAME "${E2E_PROFILE_NAME}Prod" $E2E_PROJECT_NAME $TARGET_BRANCH
Expand Down
1 change: 1 addition & 0 deletions scripts/update-data-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ if [ $# -eq 0 ]
--deep \
--upgrade \
--dep "prod,dev,peer,bundle,optional" \
--target minor \
--filter "$FILTER"
else
echo "Updating to $1 tag"
Expand Down
Loading

0 comments on commit b40e8e8

Please sign in to comment.