Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix(desktop): cache size for larger bundles, dev server, lints (#4796)
Shreyas4fc1942344fa
diff --git a/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/src/cache/mod.rs b/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/src/cache/mod.rsindex 063619ea9..1fbbf52a2 100644--- a/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/src/cache/mod.rs+++ b/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/src/cache/mod.rs@@ -8,5 +8,5 @@ pub use manager::CacheManager;pub use policy::CachePolicy;pub use store::FileStore;-pub const DEFAULT_CACHE_SIZE: usize = 100 * 1024 * 1024; // 100MB+pub const DEFAULT_CACHE_SIZE: usize = 1000 * 1024 * 1024; // 1000MBpub const DEFAULT_FILE_TTL: u64 = 3600; // 1 hourdiff --git a/packages/hoppscotch-desktop/src-tauri/Cargo.lock b/packages/hoppscotch-desktop/src-tauri/Cargo.lockindex 54a68d584..43c08cb79 100644--- a/packages/hoppscotch-desktop/src-tauri/Cargo.lock+++ b/packages/hoppscotch-desktop/src-tauri/Cargo.lock@@ -4970,7 +4970,7 @@ dependencies = [[[package]]name = "tauri-plugin-appload"version = "0.1.0"-source = "git+https://github.com/CuriousCorrelation/tauri-plugin-appload#2faadf6528d175f0fe3a0861bcda2025030b856b"+source = "git+https://github.com/CuriousCorrelation/tauri-plugin-appload#e44d90aefb8d930044643b41fa1ce739e49d456c"dependencies = ["base64 0.22.1","blake3",diff --git a/packages/hoppscotch-desktop/src-tauri/tauri.conf.json b/packages/hoppscotch-desktop/src-tauri/tauri.conf.jsonindex e7507987e..030f2663a 100644--- a/packages/hoppscotch-desktop/src-tauri/tauri.conf.json+++ b/packages/hoppscotch-desktop/src-tauri/tauri.conf.json@@ -5,7 +5,7 @@"identifier": "io.hoppscotch.desktop","build": {"beforeDevCommand": "pnpm dev",- "devUrl": "http://localhost:1420",+ "devUrl": "http://127.0.0.1:1420","beforeBuildCommand": "pnpm build","frontendDist": "../dist"},diff --git a/packages/hoppscotch-desktop/vite.config.ts b/packages/hoppscotch-desktop/vite.config.tsindex b59cc6b8b..f9473471c 100644--- a/packages/hoppscotch-desktop/vite.config.ts+++ b/packages/hoppscotch-desktop/vite.config.ts@@ -65,7 +65,7 @@ export default defineConfig(async () => ({server: {port: 1420,strictPort: true,- host: host || false,+ host: '127.0.0.1',hmr: host? {protocol: "ws",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 91475fb83..a7ec73e19 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -516,7 +516,7 @@ importers:version: link:../hoppscotch-kernel'@hoppscotch/plugin-appload':specifier: github:CuriousCorrelation/tauri-plugin-appload- version: '@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/2faadf6528d175f0fe3a0861bcda2025030b856b'+ version: '@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/e44d90aefb8d930044643b41fa1ce739e49d456c''@hoppscotch/ui':specifier: 0.2.2version: 0.2.2([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected]))([email protected]([email protected]))@@ -974,7 +974,7 @@ importers:version: link:../hoppscotch-kernel'@hoppscotch/plugin-appload':specifier: github:CuriousCorrelation/tauri-plugin-appload- version: '@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/2faadf6528d175f0fe3a0861bcda2025030b856b'+ version: '@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/e44d90aefb8d930044643b41fa1ce739e49d456c''@hoppscotch/ui':specifier: 0.2.1version: 0.2.1([email protected]([email protected]))([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected]))([email protected]([email protected]))@@ -1796,8 +1796,8 @@ packages:graphql:optional: true- '@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/2faadf6528d175f0fe3a0861bcda2025030b856b':- resolution: {tarball: https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/2faadf6528d175f0fe3a0861bcda2025030b856b}+ '@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/e44d90aefb8d930044643b41fa1ce739e49d456c':+ resolution: {tarball: https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/e44d90aefb8d930044643b41fa1ce739e49d456c}version: 0.1.0'@CuriousCorrelation/plugin-relay@https://codeload.github.com/CuriousCorrelation/tauri-plugin-relay/tar.gz/bbf25139962fd59b6e0c09f2a8034df29ac10bdf':@@ -13151,7 +13151,7 @@ snapshots:optionalDependencies:graphql: 16.9.0- '@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/2faadf6528d175f0fe3a0861bcda2025030b856b':+ '@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/e44d90aefb8d930044643b41fa1ce739e49d456c':dependencies:'@tauri-apps/api': 2.1.1