diff --git a/app/src/components/domain/RiskImminentEventMap/index.tsx b/app/src/components/domain/RiskImminentEventMap/index.tsx index f02d6af15..97368e4c1 100644 --- a/app/src/components/domain/RiskImminentEventMap/index.tsx +++ b/app/src/components/domain/RiskImminentEventMap/index.tsx @@ -100,7 +100,7 @@ export interface RiskEventDetailProps { type Footprint = GeoJSON.FeatureCollection | undefined; // FIXME: read this from common type -export type ImminentEventSource = 'pdc' | 'wfpAdam' | 'gdacs' | 'meteoSwiss'; +type ImminentEventSource = 'pdc' | 'wfpAdam' | 'gdacs' | 'meteoSwiss'; interface Props { source: ImminentEventSource; diff --git a/package.json b/package.json index dcc96929e..dcc67c794 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ }, "private": true, "scripts": { + "preinstall": "npx only-allow pnpm", "lint:unused": "knip --tags=-knipignore", "build:ui": "pnpm -F @ifrc-go/ui build", "start:ui": "pnpm -F @ifrc-go/ui start", @@ -20,6 +21,10 @@ "build-storybook": "pnpm -F go-ui-storybook build-storybook", "chromatic": "pnpm -F go-ui-storybook chromatic" }, + "engines": { + "node": "20", + "pnpm": "8.6.0" + }, "devDependencies": { "@changesets/cli": "^2.27.10", "knip": "^5.36.3" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d4e73cb6e..1f138f7ee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -44,8 +44,8 @@ importers: specifier: ^7.81.1 version: 7.81.1(react@18.2.0) '@tinymce/tinymce-react': - specifier: ^4.3.0 - version: 4.3.0(react-dom@18.2.0)(react@18.2.0) + specifier: ^5.1.1 + version: 5.1.1(react-dom@18.2.0)(react@18.2.0) '@togglecorp/fujs': specifier: ^2.1.1 version: 2.1.1 @@ -4692,8 +4692,8 @@ packages: dependencies: '@testing-library/dom': 9.3.4 - /@tinymce/tinymce-react@4.3.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-iB4cUsYfcJL4NGuKhqCGYuTmFTje3nPxyPv1HxprTsp/YMGuuiiSNWrv3zwI31QX5Cn8qeq9MrMDnbxuRugHyg==} + /@tinymce/tinymce-react@5.1.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-DQ0wpvnf/9z8RsOEAmrWZ1DN1PKqcQHfU+DpM3llLze7FHmxVtzuN8O+FYh0oAAF4stzAXwiCIVacfqjMwRieQ==} peerDependencies: react: ^18.0.0 || ^17.0.1 || ^16.7.0 react-dom: ^18.0.0 || ^17.0.1 || ^16.7.0