Skip to content

Commit

Permalink
feat: upgrade tinymce and enforce pnpm version
Browse files Browse the repository at this point in the history
  • Loading branch information
samshara authored and frozenhelium committed Dec 23, 2024
1 parent 2529b31 commit 0317ce1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/src/components/domain/RiskImminentEventMap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export interface RiskEventDetailProps<EVENT, EXPOSURE> {
type Footprint = GeoJSON.FeatureCollection<GeoJSON.Geometry, RiskLayerProperties> | undefined;

// FIXME: read this from common type
export type ImminentEventSource = 'pdc' | 'wfpAdam' | 'gdacs' | 'meteoSwiss';
type ImminentEventSource = 'pdc' | 'wfpAdam' | 'gdacs' | 'meteoSwiss';

interface Props<EVENT, EXPOSURE, KEY extends string | number> {
source: ImminentEventSource;
Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0317ce1

Please sign in to comment.