Some regular maintenance to JavaScript tooling (#32423)
- Updates PNPM to version 9.9.0 - Updates Node.js to version 20.17.0 (latest LTS) - Regenerates lockfile to upgrade transitive dependencies Signed-off-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
parent
7d3dcae96e
commit
d82ca2ed41
4 changed files with 693 additions and 1086 deletions
|
@ -3,7 +3,7 @@ import { FormGroup, InputGroup } from "@patternfly/react-core";
|
|||
import { TFunction } from "i18next";
|
||||
import { get } from "lodash-es";
|
||||
import { PropsWithChildren, ReactNode } from "react";
|
||||
import { UseFormReturn } from "react-hook-form";
|
||||
import { UseFormReturn, type FieldError } from "react-hook-form";
|
||||
|
||||
import { FormErrorText } from "../controls/FormErrorText";
|
||||
import { HelpItem } from "../controls/HelpItem";
|
||||
|
@ -38,7 +38,8 @@ export const UserProfileGroup = ({
|
|||
} = form;
|
||||
|
||||
const component = renderer?.(attribute);
|
||||
const error = get(errors, fieldName(attribute.name));
|
||||
const error = get(errors, fieldName(attribute.name)) as FieldError;
|
||||
|
||||
return (
|
||||
<FormGroup
|
||||
key={attribute.name}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "root",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"packageManager": "pnpm@9.1.0+sha256.22e36fba7f4880ecf749a5ca128b8435da085ecd49575e7fb9e64d6bf4fad394",
|
||||
"packageManager": "pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1",
|
||||
"scripts": {
|
||||
"prepare": "husky js/.husky"
|
||||
},
|
||||
|
|
1768
pnpm-lock.yaml
1768
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
4
pom.xml
4
pom.xml
|
@ -231,8 +231,8 @@
|
|||
<server.output.dir.version>${project.version}</server.output.dir.version>
|
||||
|
||||
<!-- Frontend -->
|
||||
<node.version>v20.13.0</node.version>
|
||||
<pnpm.version>9.1.0</pnpm.version>
|
||||
<node.version>v20.17.0</node.version>
|
||||
<pnpm.version>9.9.0</pnpm.version>
|
||||
<pnpm.args.install>install --prefer-offline --frozen-lockfile --ignore-scripts</pnpm.args.install>
|
||||
<!-- The clean step is skipped on Windows -->
|
||||
<js.skip.clean>false</js.skip.clean>
|
||||
|
|
Loading…
Reference in a new issue