Skip to content

Commit

Permalink
chore: update @types/node and @comapeo/core
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 committed Oct 31, 2024
1 parent 0b2c845 commit bc32ad1
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 23 deletions.
82 changes: 62 additions & 20 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"vite:build": "vite build src/renderer"
},
"dependencies": {
"@comapeo/core": "2.0.1",
"@comapeo/core": "2.1.0",
"@comapeo/ipc": "2.0.2",
"@formatjs/intl": "^2.10.11",
"@mapeo/default-config": "5.0.0",
Expand Down Expand Up @@ -87,7 +87,7 @@
"@tanstack/react-query": "^5.59.16",
"@types/eslint__js": "^8.42.3",
"@types/lint-staged": "^13.3.0",
"@types/node": "^20.17.4",
"@types/node": "^20.17.5",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/sodium-native": "^2.3.9",
Expand Down
2 changes: 1 addition & 1 deletion patches/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fixes.

## @comapeo/core

### [Do not watch fallback map patch when setting up SMP server plugin](./@comapeo+core+2.0.1+001+fix-smp-fallback-map-setup.patch)
### [Do not watch fallback map patch when setting up SMP server plugin](./@comapeo+core+2.1.0+001+fix-smp-fallback-map-setup.patch)

By default, core sets up a file watcher for the `fallbackMapPath` option that's provided when instantiating `MapeoManager`. This does not work when packaging the app as an ASAR file (via Electron Forge) because watching a file within the ASAR directory is not possible. Instead, we change the setup so that it does not try to watch the file and instead make the assumption that the file always exists on instantiation, which is generally the case in CoMapeo Desktop (for now).

Expand Down

0 comments on commit bc32ad1

Please sign in to comment.