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:
Jon Koops 2024-08-29 12:07:22 +02:00 committed by GitHub
parent 7d3dcae96e
commit d82ca2ed41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 693 additions and 1086 deletions

View file

@ -3,7 +3,7 @@ import { FormGroup, InputGroup } from "@patternfly/react-core";
import { TFunction } from "i18next"; import { TFunction } from "i18next";
import { get } from "lodash-es"; import { get } from "lodash-es";
import { PropsWithChildren, ReactNode } from "react"; 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 { FormErrorText } from "../controls/FormErrorText";
import { HelpItem } from "../controls/HelpItem"; import { HelpItem } from "../controls/HelpItem";
@ -38,7 +38,8 @@ export const UserProfileGroup = ({
} = form; } = form;
const component = renderer?.(attribute); const component = renderer?.(attribute);
const error = get(errors, fieldName(attribute.name)); const error = get(errors, fieldName(attribute.name)) as FieldError;
return ( return (
<FormGroup <FormGroup
key={attribute.name} key={attribute.name}

View file

@ -2,7 +2,7 @@
"name": "root", "name": "root",
"private": true, "private": true,
"type": "module", "type": "module",
"packageManager": "pnpm@9.1.0+sha256.22e36fba7f4880ecf749a5ca128b8435da085ecd49575e7fb9e64d6bf4fad394", "packageManager": "pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1",
"scripts": { "scripts": {
"prepare": "husky js/.husky" "prepare": "husky js/.husky"
}, },

File diff suppressed because it is too large Load diff

View file

@ -231,8 +231,8 @@
<server.output.dir.version>${project.version}</server.output.dir.version> <server.output.dir.version>${project.version}</server.output.dir.version>
<!-- Frontend --> <!-- Frontend -->
<node.version>v20.13.0</node.version> <node.version>v20.17.0</node.version>
<pnpm.version>9.1.0</pnpm.version> <pnpm.version>9.9.0</pnpm.version>
<pnpm.args.install>install --prefer-offline --frozen-lockfile --ignore-scripts</pnpm.args.install> <pnpm.args.install>install --prefer-offline --frozen-lockfile --ignore-scripts</pnpm.args.install>
<!-- The clean step is skipped on Windows --> <!-- The clean step is skipped on Windows -->
<js.skip.clean>false</js.skip.clean> <js.skip.clean>false</js.skip.clean>