From 1d7a7c94207eb5c5d7974ebec91dba261feae7fd Mon Sep 17 00:00:00 2001 From: George Fu Date: Fri, 21 Jul 2023 16:14:52 -0400 Subject: [PATCH] fix: move smithy-client back to packages (#4997) --- .../aws/typescript/codegen/DefaultsModeConfigGenerator.java | 3 ++- {deprecated/packages => packages}/smithy-client/.gitignore | 0 {deprecated/packages => packages}/smithy-client/CHANGELOG.md | 0 {deprecated/packages => packages}/smithy-client/LICENSE | 0 {deprecated/packages => packages}/smithy-client/README.md | 2 +- .../packages => packages}/smithy-client/api-extractor.json | 0 {deprecated/packages => packages}/smithy-client/package.json | 0 packages/smithy-client/src/.gitkeep | 1 - .../packages => packages}/smithy-client/src/defaults-mode.ts | 0 {deprecated/packages => packages}/smithy-client/src/index.ts | 0 .../packages => packages}/smithy-client/tsconfig.cjs.json | 0 .../packages => packages}/smithy-client/tsconfig.es.json | 0 .../packages => packages}/smithy-client/tsconfig.types.json | 0 13 files changed, 3 insertions(+), 3 deletions(-) rename {deprecated/packages => packages}/smithy-client/.gitignore (100%) rename {deprecated/packages => packages}/smithy-client/CHANGELOG.md (100%) rename {deprecated/packages => packages}/smithy-client/LICENSE (100%) rename {deprecated/packages => packages}/smithy-client/README.md (97%) rename {deprecated/packages => packages}/smithy-client/api-extractor.json (100%) rename {deprecated/packages => packages}/smithy-client/package.json (100%) delete mode 100644 packages/smithy-client/src/.gitkeep rename {deprecated/packages => packages}/smithy-client/src/defaults-mode.ts (100%) rename {deprecated/packages => packages}/smithy-client/src/index.ts (100%) rename {deprecated/packages => packages}/smithy-client/tsconfig.cjs.json (100%) rename {deprecated/packages => packages}/smithy-client/tsconfig.es.json (100%) rename {deprecated/packages => packages}/smithy-client/tsconfig.types.json (100%) diff --git a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/DefaultsModeConfigGenerator.java b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/DefaultsModeConfigGenerator.java index b687adc1ddc7..ee27bf294871 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/DefaultsModeConfigGenerator.java +++ b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/DefaultsModeConfigGenerator.java @@ -61,10 +61,11 @@ final class DefaultsModeConfigGenerator { private DefaultsModeConfigGenerator() {} public static void main(String[] args) throws IOException { - // file has been moved to smithy-typescript. Temporarily disabled. + // file has been moved to smithy-typescript if (true) { return; } + Path outputPath = Paths.get(args[0]); TypeScriptWriter writer = new TypeScriptWriter(outputPath.toString()); String defaultsConfigJson = IoUtils.readUtf8Resource(DefaultsModeConfigGenerator.class, diff --git a/deprecated/packages/smithy-client/.gitignore b/packages/smithy-client/.gitignore similarity index 100% rename from deprecated/packages/smithy-client/.gitignore rename to packages/smithy-client/.gitignore diff --git a/deprecated/packages/smithy-client/CHANGELOG.md b/packages/smithy-client/CHANGELOG.md similarity index 100% rename from deprecated/packages/smithy-client/CHANGELOG.md rename to packages/smithy-client/CHANGELOG.md diff --git a/deprecated/packages/smithy-client/LICENSE b/packages/smithy-client/LICENSE similarity index 100% rename from deprecated/packages/smithy-client/LICENSE rename to packages/smithy-client/LICENSE diff --git a/deprecated/packages/smithy-client/README.md b/packages/smithy-client/README.md similarity index 97% rename from deprecated/packages/smithy-client/README.md rename to packages/smithy-client/README.md index dddae5b3e396..2e6329958676 100644 --- a/deprecated/packages/smithy-client/README.md +++ b/packages/smithy-client/README.md @@ -4,4 +4,4 @@ Moved to [smithy-typescript](https://github.com/awslabs/smithy-typescript/tree/main/packages). ----- \ No newline at end of file +--- diff --git a/deprecated/packages/smithy-client/api-extractor.json b/packages/smithy-client/api-extractor.json similarity index 100% rename from deprecated/packages/smithy-client/api-extractor.json rename to packages/smithy-client/api-extractor.json diff --git a/deprecated/packages/smithy-client/package.json b/packages/smithy-client/package.json similarity index 100% rename from deprecated/packages/smithy-client/package.json rename to packages/smithy-client/package.json diff --git a/packages/smithy-client/src/.gitkeep b/packages/smithy-client/src/.gitkeep deleted file mode 100644 index 726a05b9de5a..000000000000 --- a/packages/smithy-client/src/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -temp placeholder \ No newline at end of file diff --git a/deprecated/packages/smithy-client/src/defaults-mode.ts b/packages/smithy-client/src/defaults-mode.ts similarity index 100% rename from deprecated/packages/smithy-client/src/defaults-mode.ts rename to packages/smithy-client/src/defaults-mode.ts diff --git a/deprecated/packages/smithy-client/src/index.ts b/packages/smithy-client/src/index.ts similarity index 100% rename from deprecated/packages/smithy-client/src/index.ts rename to packages/smithy-client/src/index.ts diff --git a/deprecated/packages/smithy-client/tsconfig.cjs.json b/packages/smithy-client/tsconfig.cjs.json similarity index 100% rename from deprecated/packages/smithy-client/tsconfig.cjs.json rename to packages/smithy-client/tsconfig.cjs.json diff --git a/deprecated/packages/smithy-client/tsconfig.es.json b/packages/smithy-client/tsconfig.es.json similarity index 100% rename from deprecated/packages/smithy-client/tsconfig.es.json rename to packages/smithy-client/tsconfig.es.json diff --git a/deprecated/packages/smithy-client/tsconfig.types.json b/packages/smithy-client/tsconfig.types.json similarity index 100% rename from deprecated/packages/smithy-client/tsconfig.types.json rename to packages/smithy-client/tsconfig.types.json