Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions scripts/generate-clients/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ const { prettifyCode } = require("./code-prettify");
const { eslintFixCode } = require("./code-eslint-fix");
const { buildSmithyTypeScript } = require("./build-smithy-typescript");
const { SMITHY_TS_COMMIT } = require("./config");
const { spawnProcess } = require("../utils/spawn-process");
const { cwd } = require("process");

const REPO_ROOT = path.join(__dirname, "..", "..");
const SMITHY_TS_DIR = path.normalize(path.join(__dirname, "..", "..", "..", "smithy-typescript"));
const SDK_CLIENTS_DIR = path.normalize(path.join(__dirname, "..", "..", "clients"));
const PRIVATE_CLIENTS_DIR = path.normalize(path.join(__dirname, "..", "..", "private"));
Expand Down Expand Up @@ -139,6 +142,7 @@ const {
}

require("./customizations/workspaces-thin-client")();
await spawnProcess("yarn", [], { cwd: REPO_ROOT, stdio: "inherit" });
require("../runtime-dependency-version-check/runtime-dep-version-check");
} catch (e) {
console.log(e);
Expand Down
Loading