Skip to content

Commit

Permalink
chore: remove @aws-cdk/assert from data-construct, `api-construct…
Browse files Browse the repository at this point in the history
…`, and `transformer-core` (#3089)

* chore: remove @aws-cdk/assert dep

* chore: updated dependency licenses

* chore: removed `@aws-cdk/assert` dep from root `package.json`

* chore: remove `cfnspec` and `cloudformation` deps
  • Loading branch information
bobbyu99 authored Dec 23, 2024
1 parent 37dd5a6 commit b52adbd
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 482 deletions.
424 changes: 0 additions & 424 deletions dependency_licenses.txt

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@
"@aws-amplify/data-construct/@aws-amplify/graphql-transformer-interfaces",
"@aws-amplify/data-construct/@aws-amplify/platform-core",
"@aws-amplify/data-construct/@aws-amplify/plugin-types",
"@aws-amplify/data-construct/@aws-cdk/assert",
"@aws-amplify/data-construct/@aws-cdk/cfnspec",
"@aws-amplify/data-construct/@aws-cdk/cloudformation-diff",
"@aws-amplify/data-construct/@aws-crypto/crc32",
"@aws-amplify/data-construct/@aws-crypto/sha256-browser",
"@aws-amplify/data-construct/@aws-crypto/sha256-js",
Expand Down Expand Up @@ -276,9 +273,6 @@
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-transformer-interfaces",
"@aws-amplify/graphql-api-construct/@aws-amplify/platform-core",
"@aws-amplify/graphql-api-construct/@aws-amplify/plugin-types",
"@aws-amplify/graphql-api-construct/@aws-cdk/assert",
"@aws-amplify/graphql-api-construct/@aws-cdk/cfnspec",
"@aws-amplify/graphql-api-construct/@aws-cdk/cloudformation-diff",
"@aws-amplify/graphql-api-construct/@aws-crypto/crc32",
"@aws-amplify/graphql-api-construct/@aws-crypto/sha256-browser",
"@aws-amplify/graphql-api-construct/@aws-crypto/sha256-js",
Expand Down
3 changes: 1 addition & 2 deletions packages/amplify-data-construct/.jsii
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"@aws-amplify/graphql-transformer-interfaces": "4.2.1",
"@aws-amplify/platform-core": "^1.0.0",
"@aws-amplify/plugin-types": "^1.0.0",
"@aws-cdk/assert": "^2.68.0",
"@aws-cdk/cfnspec": "2.68.0",
"@aws-cdk/cloudformation-diff": "2.68.0",
"@aws-crypto/crc32": "5.2.0",
Expand Down Expand Up @@ -4091,5 +4090,5 @@
},
"types": {},
"version": "1.14.3",
"fingerprint": "DFav5N5LAl6fLo+P+61ZlTd/bqkVmSHHedF5aAwM1xc="
"fingerprint": "PUetlxHLsvRKImL1CBv76hMaXqygnzyUf7RskYAIv9U="
}
6 changes: 0 additions & 6 deletions packages/amplify-data-construct/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@
"@aws-amplify/graphql-transformer-interfaces",
"@aws-amplify/platform-core",
"@aws-amplify/plugin-types",
"@aws-cdk/assert",
"@aws-cdk/cfnspec",
"@aws-cdk/cloudformation-diff",
"@aws-crypto/crc32",
"@aws-crypto/sha256-browser",
"@aws-crypto/sha256-js",
Expand Down Expand Up @@ -205,9 +202,6 @@
"@aws-amplify/graphql-transformer-interfaces": "4.2.1",
"@aws-amplify/platform-core": "^1.0.0",
"@aws-amplify/plugin-types": "^1.0.0",
"@aws-cdk/assert": "^2.68.0",
"@aws-cdk/cfnspec": "2.68.0",
"@aws-cdk/cloudformation-diff": "2.68.0",
"@aws-crypto/crc32": "5.2.0",
"@aws-crypto/sha256-browser": "5.2.0",
"@aws-crypto/sha256-js": "^5.2.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/amplify-graphql-api-construct/.jsii
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"@aws-amplify/graphql-transformer-interfaces": "4.2.1",
"@aws-amplify/platform-core": "^1.0.0",
"@aws-amplify/plugin-types": "^1.0.0",
"@aws-cdk/assert": "^2.68.0",
"@aws-cdk/cfnspec": "2.68.0",
"@aws-cdk/cloudformation-diff": "2.68.0",
"@aws-crypto/crc32": "5.2.0",
Expand Down Expand Up @@ -9429,5 +9428,5 @@
}
},
"version": "1.18.3",
"fingerprint": "gNG8n/Ia8Ecpk+lAfwpv2Kq75tpSDcHrkHzE6tR4OaY="
"fingerprint": "Ka78vIHt2OMPE280pvdptsbxH0O06tbCJ6tZ/4Y27gk="
}
6 changes: 0 additions & 6 deletions packages/amplify-graphql-api-construct/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@
"@aws-amplify/graphql-transformer-interfaces",
"@aws-amplify/platform-core",
"@aws-amplify/plugin-types",
"@aws-cdk/assert",
"@aws-cdk/cfnspec",
"@aws-cdk/cloudformation-diff",
"@aws-crypto/crc32",
"@aws-crypto/sha256-browser",
"@aws-crypto/sha256-js",
Expand Down Expand Up @@ -205,9 +202,6 @@
"@aws-amplify/graphql-transformer-interfaces": "4.2.1",
"@aws-amplify/platform-core": "^1.0.0",
"@aws-amplify/plugin-types": "^1.0.0",
"@aws-cdk/assert": "^2.68.0",
"@aws-cdk/cfnspec": "2.68.0",
"@aws-cdk/cloudformation-diff": "2.68.0",
"@aws-crypto/crc32": "5.2.0",
"@aws-crypto/sha256-browser": "5.2.0",
"@aws-crypto/sha256-js": "^5.2.0",
Expand Down
1 change: 0 additions & 1 deletion packages/amplify-graphql-transformer-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"dependencies": {
"@aws-amplify/graphql-directives": "2.6.1",
"@aws-amplify/graphql-transformer-interfaces": "4.2.1",
"@aws-cdk/assert": "^2.68.0",
"fs-extra": "^8.1.0",
"graphql": "^15.5.0",
"graphql-mapping-template": "5.0.2",
Expand Down
38 changes: 3 additions & 35 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -410,13 +410,6 @@
dependencies:
"@aws-amplify/core" "4.7.15"

"@aws-cdk/assert@^2.68.0":
version "2.68.0"
resolved "https://registry.npmjs.org/@aws-cdk/assert/-/assert-2.68.0.tgz#d83b44ba278d3e3a32c13f372c697f26c6061b64"
integrity sha512-bEztvoYdVp17I/ClYRGZa4wlEP/qNNq4Q+Z7EKwRL0cLDmvq4EI1m1N8LhUPAH7B6YXp5d1164gC6Nr0lV8bbA==
dependencies:
"@aws-cdk/cloudformation-diff" "2.68.0"

"@aws-cdk/asset-awscli-v1@^2.2.208":
version "2.2.214"
resolved "https://registry.npmjs.org/@aws-cdk/asset-awscli-v1/-/asset-awscli-v1-2.2.214.tgz#7d3554aae08f5b51fc1373bb39e5b4549b4c25c7"
Expand Down Expand Up @@ -16466,16 +16459,7 @@ string-length@^4.0.1:
char-regex "^1.0.2"
strip-ansi "^6.0.0"

"string-width-cjs@npm:string-width@^4.2.0":
version "4.2.3"
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
dependencies:
emoji-regex "^8.0.0"
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.1"

"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
version "4.2.3"
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
Expand Down Expand Up @@ -16592,7 +16576,7 @@ string_decoder@~1.1.1:
dependencies:
safe-buffer "~5.1.0"

"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
version "6.0.1"
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
Expand All @@ -16613,13 +16597,6 @@ strip-ansi@^5.1.0, strip-ansi@^5.2.0:
dependencies:
ansi-regex "^4.1.0"

strip-ansi@^6.0.0, strip-ansi@^6.0.1:
version "6.0.1"
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
dependencies:
ansi-regex "^5.0.1"

strip-ansi@^7.0.1, strip-ansi@^7.1.0:
version "7.1.0"
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45"
Expand Down Expand Up @@ -17612,7 +17589,7 @@ workerpool@^6.5.1:
resolved "https://registry.npmjs.org/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544"
integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==

"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
version "7.0.0"
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
Expand All @@ -17630,15 +17607,6 @@ wrap-ansi@^6.0.1, wrap-ansi@^6.2.0:
string-width "^4.1.0"
strip-ansi "^6.0.0"

wrap-ansi@^7.0.0:
version "7.0.0"
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
dependencies:
ansi-styles "^4.0.0"
string-width "^4.1.0"
strip-ansi "^6.0.0"

wrap-ansi@^8.1.0:
version "8.1.0"
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"
Expand Down

0 comments on commit b52adbd

Please sign in to comment.