Upgrade Prettier to the latest version (#22664)
This commit is contained in:
parent
600ebd288b
commit
7f2b2fe83a
5 changed files with 14 additions and 17 deletions
|
@ -100,9 +100,8 @@ export const ExecutionConfigModal = ({
|
|||
alias: changedConfig.alias,
|
||||
config: changedConfig.config,
|
||||
};
|
||||
const { id } = await adminClient.authenticationManagement.createConfig(
|
||||
newConfig,
|
||||
);
|
||||
const { id } =
|
||||
await adminClient.authenticationManagement.createConfig(newConfig);
|
||||
setConfig({ ...newConfig.config, id, alias: newConfig.alias });
|
||||
}
|
||||
addAlert(t("configSaveSuccess"), AlertVariant.success);
|
||||
|
|
|
@ -31,9 +31,8 @@ export default function CreateFlow() {
|
|||
const flow = { ...formValues, builtIn: false, topLevel: true };
|
||||
|
||||
try {
|
||||
const { id } = await adminClient.authenticationManagement.createFlow(
|
||||
flow,
|
||||
);
|
||||
const { id } =
|
||||
await adminClient.authenticationManagement.createFlow(flow);
|
||||
addAlert(t("flowCreatedSuccess"), AlertVariant.success);
|
||||
navigate(
|
||||
toFlow({
|
||||
|
|
|
@ -34,9 +34,8 @@ export const OpenIdConnectSettings = () => {
|
|||
formData.append("file", new Blob([JSON.stringify(obj)]));
|
||||
|
||||
try {
|
||||
const result = await adminClient.identityProviders.importFromUrl(
|
||||
formData,
|
||||
);
|
||||
const result =
|
||||
await adminClient.identityProviders.importFromUrl(formData);
|
||||
setupForm(result);
|
||||
} catch (error) {
|
||||
setError("discoveryError", {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"husky": "^8.0.3",
|
||||
"lint-staged": "^14.0.1",
|
||||
"prettier": "^3.0.1",
|
||||
"prettier": "^3.0.2",
|
||||
"tslib": "^2.6.2",
|
||||
"typescript": "^5.1.6",
|
||||
"wireit": "^0.10.0"
|
||||
|
|
|
@ -40,7 +40,7 @@ importers:
|
|||
version: 10.1.0(eslint@8.47.0)
|
||||
eslint-plugin-prettier:
|
||||
specifier: ^5.0.0
|
||||
version: 5.0.0(eslint-config-prettier@9.0.0)(eslint@8.47.0)(prettier@3.0.1)
|
||||
version: 5.0.0(eslint-config-prettier@9.0.0)(eslint@8.47.0)(prettier@3.0.2)
|
||||
eslint-plugin-react:
|
||||
specifier: ^7.33.2
|
||||
version: 7.33.2(eslint@8.47.0)
|
||||
|
@ -54,8 +54,8 @@ importers:
|
|||
specifier: ^14.0.1
|
||||
version: 14.0.1
|
||||
prettier:
|
||||
specifier: ^3.0.1
|
||||
version: 3.0.1
|
||||
specifier: ^3.0.2
|
||||
version: 3.0.2
|
||||
tslib:
|
||||
specifier: ^2.6.2
|
||||
version: 2.6.2
|
||||
|
@ -3591,7 +3591,7 @@ packages:
|
|||
rambda: 7.5.0
|
||||
dev: true
|
||||
|
||||
/eslint-plugin-prettier@5.0.0(eslint-config-prettier@9.0.0)(eslint@8.47.0)(prettier@3.0.1):
|
||||
/eslint-plugin-prettier@5.0.0(eslint-config-prettier@9.0.0)(eslint@8.47.0)(prettier@3.0.2):
|
||||
resolution: {integrity: sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w==}
|
||||
engines: {node: ^14.18.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
|
@ -3607,7 +3607,7 @@ packages:
|
|||
dependencies:
|
||||
eslint: 8.47.0
|
||||
eslint-config-prettier: 9.0.0(eslint@8.47.0)
|
||||
prettier: 3.0.1
|
||||
prettier: 3.0.2
|
||||
prettier-linter-helpers: 1.0.0
|
||||
synckit: 0.8.5
|
||||
dev: true
|
||||
|
@ -5535,8 +5535,8 @@ packages:
|
|||
fast-diff: 1.3.0
|
||||
dev: true
|
||||
|
||||
/prettier@3.0.1:
|
||||
resolution: {integrity: sha512-fcOWSnnpCrovBsmFZIGIy9UqK2FaI7Hqax+DIO0A9UxeVoY4iweyaFjS5TavZN97Hfehph0nhsZnjlVKzEQSrQ==}
|
||||
/prettier@3.0.2:
|
||||
resolution: {integrity: sha512-o2YR9qtniXvwEZlOKbveKfDQVyqxbEIWn48Z8m3ZJjBjcCmUy3xZGIv+7AkaeuaTr6yPXJjwv07ZWlsWbEy1rQ==}
|
||||
engines: {node: '>=14'}
|
||||
hasBin: true
|
||||
dev: true
|
||||
|
|
Loading…
Reference in a new issue