Swap @aws-sdk/* dependencies that moved to @smithy/*
ProprietaryReplaces each of the 49 deprecated @aws-sdk/* packages that moved to the @smithy/* package of the same name with that package, in each package.json that declares it and in the section that declares it, and regenerates the lock file. Each range is the newest release of the twin whose engines.node admits the oldest Node.js the lock group declares (engines.node, .nvmrc, .node-version, a Lambda runtime), or the newest of all where none is declared; for @smithy/node-http-handler that is ^4.14.2 for Node.js 18, ^3.3.3 for 16 and ^2.5.0 for 14. Where the project already declares the twin, the old declaration is removed. An @aws-sdk/* client declared below 3.363.0, which depends on the moved packages, is raised to >=3.363.0 <3.429.0, the releases before enum-typed members stopped accepting string, and aws-sdk-client-mock below 3.0.0, whose types reject those clients, to ^3.0.0.
org. openrewrite. node. migrate. aws-sdk-smithy. swap-aws-sdk-smithy-dependenciesmod run . --recipe= org. openrewrite. node. migrate. aws-sdk-smithy. swap-aws-sdk-smithy-dependenciesInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.