Skip to content

Commit

Permalink
chore: update repo dev dependencies (#4032)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed Jun 19, 2024
1 parent 7bd9835 commit 81370f1
Show file tree
Hide file tree
Showing 5 changed files with 819 additions and 1,314 deletions.
6 changes: 3 additions & 3 deletions libs/commands/add/src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ const command: CommandModule = {
command: "add <pkg> [globs..]",
describe: "Add a single dependency to matched packages",
builder(yargs) {
// TODO: refactor based on TS feedback
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
yargs
.positional("pkg", {
describe: "Package name to add as a dependency",
type: "string",
})
// TODO: refactor based on TS feedback
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
.positional("globs", {
describe: "Optional package directory globs to match",
type: "array",
Expand Down
2 changes: 1 addition & 1 deletion libs/commands/version/src/lib/git-push.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,5 @@ test("unexpected git error", async () => {
throw error;
});

await expect(gitPush("origin", "main", { cwd })).rejects.toThrowError(/some unexpected error/);
await expect(gitPush("origin", "main", { cwd })).rejects.toThrow(/some unexpected error/);
});
2 changes: 1 addition & 1 deletion libs/core/src/lib/project-graph-with-packages.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ describe("getPackage", () => {
name: "foo",
}) as ProjectGraphProjectNodeWithPackage;

expect(() => getPackage(node)).toThrowError("Failed attempting to find package for project foo");
expect(() => getPackage(node)).toThrow("Failed attempting to find package for project foo");
});
});
Loading

0 comments on commit 81370f1

Please sign in to comment.