Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update comapeo-related deps #82

Merged
merged 5 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 39 additions & 25 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"vite:build": "vite build src/renderer"
},
"dependencies": {
"@comapeo/core": "2.1.0",
"@comapeo/ipc": "2.0.2",
"@comapeo/core": "2.3.0",
"@comapeo/ipc": "2.1.0",
"@formatjs/intl": "^3.0.1",
"@mapeo/default-config": "5.0.0",
"debug": "^4.3.7",
Expand All @@ -65,7 +65,7 @@
"valibot": "^0.42.1"
},
"devDependencies": {
"@comapeo/core-react": "0.1.2",
"@comapeo/core-react": "1.1.0",
"@electron-forge/cli": "7.6.0",
"@electron-forge/maker-deb": "7.6.0",
"@electron-forge/maker-dmg": "7.6.0",
Expand Down
8 changes: 4 additions & 4 deletions patches/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ fixes.

## @comapeo/core

### [Do not watch fallback map patch when setting up SMP server plugin](./@comapeo+core+2.1.0+001+fix-smp-fallback-map-setup.patch)
### [Do not watch fallback map patch when setting up SMP server plugin](./@comapeo+core+2.3.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).

## @comapeo/ipc

### [Change imports to avoid calling unavailable code](./@comapeo+ipc+2.0.2+001+fix-client-server-import.patch)
### [Change imports to avoid calling unavailable code](./@comapeo+ipc+2.1.0+001+fix-client-server-import.patch)

There was an error while running app via Expo because of exports in `rpc-reflector` package. To remove this patch, `rpc-reflector` would need to be updated not to use `encode-decode.js` file which indirect usage results in errors.
There was an error while running app because of exports in `rpc-reflector` package. To remove this patch, `rpc-reflector` would need to be updated not to use `encode-decode.js` file which indirect usage results in errors.

## rpc-reflector

### [Change imports to avoid calling unavailable code](./rpc-reflector+1.3.11+001+fix-client-duplex.patch)

There was an error while running app via Expo because of `duplex` method call in `rpc-reflector` package.
There was an error while running app because of `duplex` method call in `rpc-reflector` package.
As this feature is not used in CoMapeo, this can be safely hardcoded to `false`. To remove this patch, `rpc-reflector` would need to be updated to account for this bug.

### [Use type imports in types-only file](./rpc-reflector+1.3.11+002+fix-verbatim-module-syntax-issues.patch)
Expand Down
Loading