Skip to content

Commit c584bd6

Browse files
committed
[fix] Map default height & props
[optimize] Menu responsive of Preview page [optimize] update Upstream packages [add] GitHub settings & VS Code extensions
1 parent 19db1ff commit c584bd6

File tree

7 files changed

+662
-504
lines changed

7 files changed

+662
-504
lines changed

.github/settings.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# These settings are synced to GitHub by https://probot.github.io/apps/settings/
2+
3+
repository:
4+
allow_merge_commit: false
5+
6+
delete_branch_on_merge: true
7+
8+
enable_vulnerability_alerts: true
9+
10+
labels:
11+
- name: bug
12+
color: '#d73a4a'
13+
description: Something isn't working
14+
15+
- name: documentation
16+
color: '#0075ca'
17+
description: Improvements or additions to documentation
18+
19+
- name: duplicate
20+
color: '#cfd3d7'
21+
description: This issue or pull request already exists
22+
23+
- name: enhancement
24+
color: '#a2eeef'
25+
description: Some improvements
26+
27+
- name: feature
28+
color: '#16b33f'
29+
description: New feature or request
30+
31+
- name: good first issue
32+
color: '#7057ff'
33+
description: Good for newcomers
34+
35+
- name: help wanted
36+
color: '#008672'
37+
description: Extra attention is needed
38+
39+
- name: invalid
40+
color: '#e4e669'
41+
description: This doesn't seem right
42+
43+
- name: question
44+
color: '#d876e3'
45+
description: Further information is requested
46+
47+
- name: wontfix
48+
color: '#ffffff'
49+
description: This will not be worked on
50+
51+
branches:
52+
- name: main
53+
# https://docs.github.com/en/rest/reference/repos#update-branch-protection
54+
protection:
55+
# Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
56+
required_pull_request_reviews:
57+
# The number of approvals required. (1-6)
58+
required_approving_review_count: 1
59+
# Dismiss approved reviews automatically when a new commit is pushed.
60+
dismiss_stale_reviews: true
61+
# Blocks merge until code owners have reviewed.
62+
require_code_owner_reviews: true
63+
# Specify which users and teams can dismiss pull request reviews.
64+
# Pass an empty dismissal_restrictions object to disable.
65+
# User and team dismissal_restrictions are only available for organization-owned repositories.
66+
# Omit this parameter for personal repositories.
67+
dismissal_restrictions:
68+
# users: []
69+
# teams: []
70+
# Required. Require status checks to pass before merging. Set to null to disable
71+
required_status_checks:
72+
# Required. Require branches to be up to date before merging.
73+
strict: true
74+
# Required. The list of status checks to require in order to merge into this branch
75+
contexts: []
76+
# Required. Enforce all configured restrictions for administrators.
77+
# Set to true to enforce required status checks for repository administrators.
78+
# Set to null to disable.
79+
enforce_admins: true
80+
# Prevent merge commits from being pushed to matching branches
81+
required_linear_history: true
82+
# Required. Restrict who can push to this branch.
83+
# Team and user restrictions are only available for organization-owned repositories.
84+
# Set to null to disable.
85+
restrictions: null

.vscode/extensions.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"recommendations": [
3+
"yzhang.markdown-all-in-one",
4+
"jock.svg",
5+
"redhat.vscode-yaml",
6+
"clinyong.vscode-css-modules",
7+
"akamud.vscode-caniuse",
8+
"visualstudioexptteam.intellicode-api-usage-examples",
9+
"pflannery.vscode-versionlens",
10+
"christian-kohler.npm-intellisense",
11+
"esbenp.prettier-vscode",
12+
"rangav.vscode-thunder-client",
13+
"eamodio.gitlens",
14+
"github.vscode-pull-request-github",
15+
"github.vscode-github-actions"
16+
]
17+
}

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "open-react-map",
3-
"version": "0.7.0",
3+
"version": "0.7.1",
44
"license": "LGPL-3.0-or-later",
55
"author": "[email protected]",
66
"description": "Compatible Map component supports Geo services with Freedom or Open API, based on TypeScript, MobX & React.",
@@ -28,40 +28,40 @@
2828
"main": "dist/index.js",
2929
"dependencies": {
3030
"@swc/helpers": "^0.5.3",
31-
"@types/leaflet": "^1.9.7",
32-
"koajax": "^0.9.4",
31+
"@types/leaflet": "^1.9.8",
32+
"koajax": "^0.9.6",
3333
"leaflet": "^1.9.4",
3434
"mobx-react-helper": "^0.2.7",
3535
"react-leaflet": "^4.2.1",
3636
"web-utility": "^4.1.3"
3737
},
3838
"peerDependencies": {
39-
"mobx": ">=4",
40-
"mobx-react": ">=6",
39+
"mobx": ">=4 <6.11",
40+
"mobx-react": ">=6 <9.1",
4141
"react": ">=18",
4242
"react-dom": ">=18"
4343
},
4444
"devDependencies": {
45-
"@parcel/packager-ts": "~2.10.1",
46-
"@parcel/transformer-typescript-types": "~2.10.1",
47-
"@types/react": "^18.2.33",
48-
"@types/react-dom": "^18.2.14",
45+
"@parcel/packager-ts": "~2.10.3",
46+
"@parcel/transformer-typescript-types": "~2.10.3",
47+
"@types/react": "^18.2.45",
48+
"@types/react-dom": "^18.2.18",
4949
"husky": "^8.0.3",
5050
"idea-react": "^1.0.0-rc.30",
5151
"koapache": "^2.2.2",
52-
"lint-staged": "^15.0.2",
53-
"mobx": "^6.10.2",
54-
"mobx-react": "^9.0.1",
55-
"parcel": "^2.10.1",
56-
"prettier": "^3.0.3",
52+
"lint-staged": "^15.2.0",
53+
"mobx": "~6.10.2",
54+
"mobx-react": "~9.0.2",
55+
"parcel": "^2.10.3",
56+
"prettier": "^3.1.1",
5757
"prismjs": "^1.29.0",
5858
"process": "^0.11.10",
5959
"react": "^18.2.0",
60-
"react-bootstrap": "^2.9.1",
60+
"react-bootstrap": "^2.9.2",
6161
"react-dom": "^18.2.0",
62-
"typedoc": "^0.25.3",
63-
"typedoc-plugin-mdn-links": "^3.1.0",
64-
"typescript": "^5.2.2"
62+
"typedoc": "^0.25.4",
63+
"typedoc-plugin-mdn-links": "^3.1.9",
64+
"typescript": "~5.3.3"
6565
},
6666
"prettier": {
6767
"singleQuote": true,

0 commit comments

Comments
 (0)