Skip to content

Commit

Permalink
chore: dumi setup with node > 16 (#223)
Browse files Browse the repository at this point in the history
* chore: dumi setup with node > 16

* chore: mis deps for pnpm
  • Loading branch information
lvisei authored Apr 1, 2024
1 parent 466c653 commit 9798189
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ coverage
# Packages lock
package-lock.json
yarn.lock
pnpm-lock.yaml

# umi
.umi
.umi-production
.umi-test
.env.local
.vscode
.vscode
2 changes: 1 addition & 1 deletion docs/examples/sanFranciscoStreetTreeMap/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Scene } from '@antv/l7';
import { CustomControl, HeatmapLayer, LarkMap } from '@antv/larkmap';
import { Popover, Select, Slider, Typography } from 'antd';
import { cloneDeep, get, set } from 'lodash';
import { cloneDeep, get, set } from 'lodash-es';
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import { SketchPicker } from 'react-color';
import { heatmapCfg, mapCfg, scaleType, shapeOpt } from './config';
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"size": "limit-size",
"build": "father build",
"doctor": "father doctor",
"docs:build": "dumi build",
"docs:build-analyze": "ANALYZE=1 dumi build",
"docs:build": "export NODE_OPTIONS=--openssl-legacy-provider && dumi build",
"docs:build-analyze": "export NODE_OPTIONS=--openssl-legacy-provider && ANALYZE=1 dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"deploy": "npm run docs:build && npm run docs:deploy",
"ci": "run-s lint doctor build size",
Expand All @@ -50,6 +50,7 @@
"@antv/l7": "^2.20.11",
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@turf/turf": "^6.5.0",
"@types/color": "^3.0.3",
"@types/geojson": "^7946.0.8",
"@types/jest": "^27.0.0",
Expand Down

0 comments on commit 9798189

Please sign in to comment.