Declare the @smithy/* twins of moved @aws-sdk/* packages

Proprietary

Declares beside each registry declaration of a moved @aws-sdk/* package in package.json its @smithy/* twin, at the range of the @smithy/types line the lock group's clients build on that its oldest declared Node.js runs, and raises a client declared below 3.363.0 and aws-sdk-client-mock below 3.0.0. Leaves the lock file, and the moved declarations, to removeDependency.

org.openrewrite.node.migrate.aws-sdk-smithy.declare-smithy-twins
mod run . --recipe=org.openrewrite.node.migrate.aws-sdk-smithy.declare-smithy-twins

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.