Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: fix scripts - use run-time-error instead of run-time-error-cjs #3070

Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion tools/bump-openapi-spec-dep-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import yargs from "yargs";
import { hideBin } from "yargs/helpers";
import fs from "fs-extra";
import { globby, Options as GlobbyOptions } from "globby";
import { RuntimeError } from "run-time-error-cjs";
import { RuntimeError } from "run-time-error";
import prettier from "prettier";
import { OpenAPIV3_1 } from "openapi-types";
import { isValidSemVer } from "semver-parser";
Expand Down
2 changes: 1 addition & 1 deletion tools/create-production-only-archive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { fileURLToPath } from "url";
import { deleteAsync } from "del";
import fs from "fs-extra";
import { globby, Options as GlobbyOptions } from "globby";
import { RuntimeError } from "run-time-error-cjs";
import { RuntimeError } from "run-time-error";
import yargs from "yargs";
import { hideBin } from "yargs/helpers";
import { simpleGit, SimpleGit, SimpleGitOptions } from "simple-git";
Expand Down
2 changes: 1 addition & 1 deletion tools/generate-sbom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { promisify } from "util";
import { exec, ExecOptions } from "child_process";
import fs from "fs-extra";
import { globby, Options as GlobbyOptions } from "globby";
import { RuntimeError } from "run-time-error-cjs";
import { RuntimeError } from "run-time-error";
import fastSafeStringify from "fast-safe-stringify";
import { INpmListDependencyV1, npmList } from "./npm-list";

Expand Down
2 changes: 1 addition & 1 deletion tools/get-latest-sem-ver-git-tag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import path from "path";
import { fileURLToPath } from "url"
import { simpleGit, SimpleGit, SimpleGitOptions } from "simple-git";
import { compareSemVer, isValidSemVer } from "semver-parser";
import { RuntimeError } from "run-time-error-cjs";
import { RuntimeError } from "run-time-error";

const TAG = "[tools/get-latest-sem-ver-git-tag.ts]";

Expand Down
2 changes: 1 addition & 1 deletion tools/npm-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ExecOptions, exec } from "child_process";
import { promisify } from "util";

import fastSafeStringify from "fast-safe-stringify";
import { RuntimeError } from "run-time-error-cjs";
import { RuntimeError } from "run-time-error";
import { hasKey } from "./has-key";

const execAsync = promisify(exec);
Expand Down
2 changes: 1 addition & 1 deletion tools/sync-npm-deps-to-tsc-projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import path from "path";
import JSON5 from "json5";
import fs from "fs-extra";
import { globby, Options as GlobbyOptions } from "globby";
import { RuntimeError } from "run-time-error-cjs";
import { RuntimeError } from "run-time-error";
import { readFile } from "fs/promises";

const __filename = fileURLToPath(import.meta.url);
Expand Down
Loading