Skip to content

Commit

Permalink
Merge pull request #217 from mittwald/dependabot/npm_and_yarn/prettie…
Browse files Browse the repository at this point in the history
…r-and-prettier-plugin-sort-json-3.2.5

Bump prettier and prettier-plugin-sort-json
  • Loading branch information
martin-helmich authored Feb 22, 2024
2 parents 96d50f2 + d530f86 commit 4a56d83
Show file tree
Hide file tree
Showing 79 changed files with 284 additions and 299 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/mri-npm-1.2.0-8ecee0357d-83f515abbc.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/sade-npm-1.8.1-4759dc74c1-0756e5b04c.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/uvu-npm-0.5.6-c8507ad49b-09460a3797.zip
Binary file not shown.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,16 @@
"@yarnpkg/pnpify": "^4.0.0-rc.48",
"copyfiles": "^2.4.1",
"eslint": "^8.44.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.1.3",
"license-checker-rseidelsohn": "^4.2.6",
"oclif": "^4.3.9",
"pkg": "^5.8.1",
"prettier": "^2.8.8",
"prettier-plugin-jsdoc": "^0.4.2",
"prettier-plugin-package": "^1.3.1",
"prettier-plugin-sort-json": "^2.0.0",
"prettier": "^3.2.5",
"prettier-plugin-jsdoc": "^1.3.0",
"prettier-plugin-package": "^1.4.0",
"prettier-plugin-sort-json": "^3.1.0",
"rimraf": "^5.0.1",
"type-fest": "^4.6.0",
"typescript": "^5.1.6"
Expand Down
5 changes: 2 additions & 3 deletions src/BaseCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ export abstract class BaseCommand extends Command {
);
}
this.apiClient = MittwaldAPIV2Client.newWithToken(token);
this.apiClient.axios.defaults.headers[
"User-Agent"
] = `mittwald-cli/${this.config.version}`;
this.apiClient.axios.defaults.headers["User-Agent"] =
`mittwald-cli/${this.config.version}`;
}
}

Expand Down
4 changes: 3 additions & 1 deletion src/commands/backup/schedule/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export class List extends ListBaseCommand<typeof List, ResponseItem, Response> {
);
return await this.apiClient.backup.listProjectBackupSchedules({
projectId,
} as Parameters<typeof this.apiClient.backup.listProjectBackupSchedules>[0]);
} as Parameters<
typeof this.apiClient.backup.listProjectBackupSchedules
>[0]);
}

protected mapData(data: SuccessfulResponse<Response, 200>["data"]) {
Expand Down
5 changes: 2 additions & 3 deletions src/commands/login/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ export default class Status extends BaseCommand {
};

if (response.data.person) {
output[
"Name"
] = `${response.data.person.firstName} ${response.data.person.lastName}`;
output["Name"] =
`${response.data.person.firstName} ${response.data.person.lastName}`;
}

if (response.data.passwordUpdatedAt) {
Expand Down
4 changes: 3 additions & 1 deletion src/commands/org/membership/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ export class List extends ListBaseCommand<typeof List, ResponseItem, Response> {

return await this.apiClient.customer.listMembershipsForCustomer({
customerId,
} as Parameters<typeof this.apiClient.customer.listMembershipsForCustomer>[0]);
} as Parameters<
typeof this.apiClient.customer.listMembershipsForCustomer
>[0]);
}

protected mapData(data: SuccessfulResponse<Response, 200>["data"]) {
Expand Down
15 changes: 6 additions & 9 deletions src/lib/project/flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,12 @@ export function makeProjectFlagSet<TName extends ContextNames>(
} as ContextArgs<TName | "project">;

if (supportsContext) {
flags[
flagName
].summary += `; this flag is optional if a default ${displayName} is set in the context`;
flags[
flagName
].description += `; you can also use the "<%= config.bin %> context set --${flagName}=<VALUE>" command to persistently set a default ${displayName} for all commands that accept this flag.`;
args[
flagName
].description += `; this argument is optional if a default ${displayName} is set in the context`;
flags[flagName].summary +=
`; this flag is optional if a default ${displayName} is set in the context`;
flags[flagName].description +=
`; you can also use the "<%= config.bin %> context set --${flagName}=<VALUE>" command to persistently set a default ${displayName} for all commands that accept this flag.`;
args[flagName].description +=
`; this argument is optional if a default ${displayName} is set in the context`;
}

const idFromArgsOrFlag = (
Expand Down
2 changes: 1 addition & 1 deletion src/rendering/react/components/Table/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const buildTableContext = (
): TableContext =>
({
...ctx,
} as TableContext);
}) as TableContext;

const context = createContext<TableContext>(buildTableContext());

Expand Down
13 changes: 7 additions & 6 deletions src/rendering/setup/FlagSupportedSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ import { InferredFlags } from "@oclif/core/lib/interfaces/index.js";
import { Class } from "type-fest";
import { mergeObjects } from "../../lib/mergeObjects.js";

export type InferredOutput<T> = T extends Class<
FlagSupportedSetup<FlagInput, any, infer TOut>, // eslint-disable-line
any // eslint-disable-line
>
? TOut
: never;
export type InferredOutput<T> =
T extends Class<
FlagSupportedSetup<FlagInput, any, infer TOut>, // eslint-disable-line
any // eslint-disable-line
>
? TOut
: never;

export abstract class FlagSupportedSetup<
TFlags extends FlagInput,
Expand Down
Loading

0 comments on commit 4a56d83

Please sign in to comment.