Skip to content

Commit

Permalink
feat(experimentalIdentityAndAuth): build `client-experimental-identit…
Browse files Browse the repository at this point in the history
…y-and-auth` client (#940)
  • Loading branch information
Steven Yuan authored Oct 10, 2023
1 parent 435803c commit 1df3daa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions scripts/build-generated-test-packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion smithy-typescript-codegen-test/smithy-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1df3daa

Please sign in to comment.