From 1df3daa8ccb79a0c391ff0560b0d883e80ff4d5a Mon Sep 17 00:00:00 2001 From: Steven Yuan Date: Tue, 10 Oct 2023 16:06:07 -0700 Subject: [PATCH] feat(experimentalIdentityAndAuth): build `client-experimental-identity-and-auth` client (#940) --- scripts/build-generated-test-packages.js | 9 +++++++++ smithy-typescript-codegen-test/smithy-build.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/build-generated-test-packages.js b/scripts/build-generated-test-packages.js index 892d95e7986..82eb4000eb1 100644 --- a/scripts/build-generated-test-packages.js +++ b/scripts/build-generated-test-packages.js @@ -23,6 +23,13 @@ const weatherClientDir = path.join( "typescript-codegen" ); +// TODO(experimentalIdentityAndAuth): build generic client for integration tests +const weatherExperimentalIdentityAndAuthClientDir = path.join( + codegenTestDir, + "client-experimental-identity-and-auth", + "typescript-codegen" +); + const weatherSsdkDir = path.join( codegenTestDir, "ssdk-test", @@ -52,6 +59,8 @@ const buildAndCopyToNodeModules = async (packageName, codegenDir, nodeModulesDir try { await buildAndCopyToNodeModules("weather", weatherClientDir, nodeModulesDir); await buildAndCopyToNodeModules("weather-ssdk", weatherSsdkDir, nodeModulesDir); + // TODO(experimentalIdentityAndAuth): build generic client for integration tests + await buildAndCopyToNodeModules("@smithy/weather-experimental-identity-and-auth", weatherExperimentalIdentityAndAuthClientDir, nodeModulesDir); } catch (e) { console.log(e); process.exit(1); diff --git a/smithy-typescript-codegen-test/smithy-build.json b/smithy-typescript-codegen-test/smithy-build.json index f2166e741ba..fd306649b4a 100644 --- a/smithy-typescript-codegen-test/smithy-build.json +++ b/smithy-typescript-codegen-test/smithy-build.json @@ -43,7 +43,7 @@ "typescript-codegen": { "service": "example.weather#Weather", "targetNamespace": "Weather", - "package": "weather", + "package": "@smithy/weather-experimental-identity-and-auth", "packageVersion": "0.0.1", "packageJson": { "license": "Apache-2.0",