{"_id":"@bitsy-ai/tauri-pinia","_rev":"2-0943130c91abab5077ca001eedc928e3","name":"@bitsy-ai/tauri-pinia","dist-tags":{"latest":"2.0.0-rc2"},"versions":{"2.0.0-rc0":{"name":"@bitsy-ai/tauri-pinia","version":"2.0.0-rc0","description":"Utility to make pinia stores persisted for tauri apps","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/charlesgael/tauri-pinia.git"},"keywords":["tauri","pinia","persistence"],"author":{"name":"charlesgael"},"license":"MIT","bugs":{"url":"https://github.com/charlesgael/tauri-pinia/issues"},"homepage":"https://github.com/charlesgael/tauri-pinia#readme","scripts":{"build":"run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","watch:build":"tsc -p tsconfig.json -w","version":"standard-version","reset-hard":"git clean -dfx && git reset --hard && npm i","prepare-release":"run-s reset-hard build version"},"engines":{"node":">=10"},"dependencies":{"debounce":"^1.2.1","pinia":"^2.0.14"},"devDependencies":{"@babel/types":"^7.18.4","@tauri-apps/api":"^2.0.0-alpha.3","@types/debounce":"^1.2.1","@types/node":"^17.0.42","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","eslint":"^7.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-functional":"^3.0.2","eslint-plugin-import":"^2.22.0","npm-run-all":"^4.1.5","open-cli":"^6.0.1","prettier":"^2.1.1","standard-version":"^9.0.0","ts-node":"^9.0.0","typescript":"^4.0.2","vue":"^3.2.37"},"peerDependencies":{"@tauri-apps/api":"^2.0.0-alpha.3"},"prettier":{"singleQuote":true},"gitHead":"8f5b2154818e6e69ecc08655055170d5bc0f0f42","_id":"@bitsy-ai/tauri-pinia@2.0.0-rc0","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-wMqlSJdN5UCGxuY8XKs3LrVAkBlsTo3TqzNts8cFBewjfqMo4ZouWxNwFhNche8S4F1xzPM0ON+/3J/UqEZNcw==","shasum":"4c8cfdb4f81e93c7553f12fcb4adb9095ab67e37","tarball":"https://registry.npmjs.org/@bitsy-ai/tauri-pinia/-/tauri-pinia-2.0.0-rc0.tgz","fileCount":16,"unpackedSize":27207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCW8BQoifmWJCPUnTr9Uu+4Ywwclj9uh1K6e2HcBb3IcgIhAKxAD27RJGiAB5k9FPssIgqYc1uOvwdTO++66+KXLmUb"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOIOCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpl/Q/+OnHPki/navXtIkxT7kbOELFFd1faaXwJPN6/v5VtZsLzYOHP\r\n+Ffe4NR+rVTVMc2aIYjE1RzRwzTjgFjsi3zTrlygfUSqmr9OZEIhNLYHWxqR\r\nPe7iwdU+pE0AYgExj6kHpI2mKiIfnjphwgidf7X0sbjJSExYDwfaMIFYk/De\r\nYH15EdlCE3FQ9P7xnrKRp07FJT17G0E0EsvBmcaPRP+cNLKkTInO5j48po5t\r\nEn/HiurdvrD6W090Ix3BVKPr3iAqW6T3Czu4xpzBzGWCRIgDrR3Lozt8Wk9y\r\nvIfFVxYnLHxBfmDrC0vcq/StYLW6Rz/ND7t3whX16wvIvsdsaFLpXqywHN/5\r\nQzzfy70rmVJfcf+CtCcVM0JoXPs0PqVblbVRgbnqC0lmhUXDcW8tujIodtI8\r\n4CO1TQ/eZiLEaTg3UvH59uLZDOCHtEZa2kI1+DLhQf8EUNZQLeEtDkkW/Fkr\r\niX9XB5IKh7bOd4fRsAEzH3/ejx8LutYymv9uiUvpbPfSSUsaN6VSn0Fz9uju\r\niSlPYxAVRaFHodYL9nBmdD5K0eLsu9l4noLx6dCuXwz9C3bvXjO2LsXb9iDk\r\nk+41LtkRaelbo8a0qUQeaVWiZWQLn52IzIhGCEK6xYtJqLUMblCQFusW/zM0\r\noXnqEK0Q+AHpVpj+dmafrlgGcsQ64HAZaI4=\r\n=4r7C\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bitsy-ai","email":"leigh@bitsy.ai"},"directories":{},"maintainers":[{"name":"bitsy-ai","email":"leigh@bitsy.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tauri-pinia_2.0.0-rc0_1681425282320_0.016017752781055217"},"_hasShrinkwrap":false},"2.0.0-rc1":{"name":"@bitsy-ai/tauri-pinia","version":"2.0.0-rc1","description":"Utility to make pinia stores persisted for tauri apps","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/charlesgael/tauri-pinia.git"},"keywords":["tauri","pinia","persistence"],"author":{"name":"charlesgael"},"license":"MIT","bugs":{"url":"https://github.com/charlesgael/tauri-pinia/issues"},"homepage":"https://github.com/charlesgael/tauri-pinia#readme","scripts":{"build":"run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","watch:build":"tsc -p tsconfig.json -w","version":"standard-version","reset-hard":"git clean -dfx && git reset --hard && npm i","prepare-release":"run-s reset-hard build version"},"engines":{"node":">=10"},"dependencies":{"debounce":"^1.2.1","pinia":"^2.0.14"},"devDependencies":{"@babel/types":"^7.18.4","@tauri-apps/api":"^2.0.0-alpha.3","@types/debounce":"^1.2.1","@types/node":"^17.0.42","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","eslint":"^7.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-functional":"^3.0.2","eslint-plugin-import":"^2.22.0","npm-run-all":"^4.1.5","open-cli":"^6.0.1","prettier":"^2.1.1","standard-version":"^9.0.0","ts-node":"^9.0.0","typescript":"^4.0.2","vue":"^3.2.37"},"peerDependencies":{"@tauri-apps/api":"^2.0.0-alpha.3"},"prettier":{"singleQuote":true},"gitHead":"95a52edfd21a0c21e8f398502ce1e2e41afbe284","_id":"@bitsy-ai/tauri-pinia@2.0.0-rc1","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-EB36+SyQCoNLXdYbtdN5yUtqa9YSefKWrcCT53x2JTQAtXt5BqIib30yQ++GWt/b5qHFZt+n3y2Fe1RfOHgFXg==","shasum":"8e625bc8adf5d30b3c452f7dca24bf3e123b2622","tarball":"https://registry.npmjs.org/@bitsy-ai/tauri-pinia/-/tauri-pinia-2.0.0-rc1.tgz","fileCount":16,"unpackedSize":28431,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6sVzk7oL2oF4w6YHM9MhP1CrcE9nflG5F3laOvlYP1gIhAKESvWM/2YgtVZJ0bNUCTu0r8JVNXzcYZ4GjD2VO3GNQ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOYMEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGEw//W85i3jcuChpsEN9b8ewHb3DzIeZU89EE1l162my391+6VTfB\r\nZdhBmjSFzcSWNOgpcyfat5MIS0tZEyk+8Srss5Ul7aTyigfjMayj9btcJqqe\r\njUAi5TA9DFMdsu8qbTA/99D0gzwDMVxYsqmpJuG4pUKDFrmG/E54pn3zMdUT\r\nFFndXgWhOMSnorwhhEsOCInQyDc9pMSAe+KWQBrsi2lP4+EE7FuJKy5CJV9m\r\nMGGmN2Kh6tMOouUph4WYCx7vMQcDZkn0XOB5VPDte6yg7dLy8ggQl7YO0zQm\r\nCktdnFqw1C99p1fI80NXWjeOMJ0pxBjp8LvSpiaqlldS0Iz5Z+Xf3iNqxpIE\r\n6pzhzao6ukvr/HvCJRr8NBYmjoYBCbRvGaLGXsnmNQETQXDPDpZDQuIBxUyN\r\nO+r9DylS3rowP8Lszq3CRA7dQWxdfpiBMoSRc++KVirLIH+/0i7Z2edifITD\r\nNGPniYVV4IDTEUefjQAvJe/egTBq1Ojn/aqzikxiy7MqXA/rSU5GTA7ME87i\r\n/he7eu46ofRyDpZ3gFUosWUvPcVv6f9UlZ3trEkt7lINgwtfIGf6+Sr2LfrM\r\nh0F64EEZxGgY2YSy5CTgW87zSogTtSDx/8wzXQcA5T+v3Mt0/GNm0EIlN4dm\r\nzPfxFzuFwE4Lt3eCb90QZNDlbgs0OzwAXsA=\r\n=AMhZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bitsy-ai","email":"leigh@bitsy.ai"},"directories":{},"maintainers":[{"name":"bitsy-ai","email":"leigh@bitsy.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tauri-pinia_2.0.0-rc1_1681490692593_0.9836118662144602"},"_hasShrinkwrap":false},"2.0.0-rc2":{"name":"@bitsy-ai/tauri-pinia","version":"2.0.0-rc2","description":"Utility to make pinia stores persisted for tauri apps","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/charlesgael/tauri-pinia.git"},"keywords":["tauri","pinia","persistence"],"author":{"name":"charlesgael"},"license":"MIT","bugs":{"url":"https://github.com/charlesgael/tauri-pinia/issues"},"homepage":"https://github.com/charlesgael/tauri-pinia#readme","scripts":{"build":"run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:lint":"eslint src --ext .ts --fix","watch:build":"tsc -p tsconfig.json -w","version":"standard-version","reset-hard":"git clean -dfx && git reset --hard && npm i","prepare-release":"run-s reset-hard build version"},"engines":{"node":">=10"},"dependencies":{"debounce":"^1.2.1","pinia":"^2.0.34"},"devDependencies":{"@babel/types":"^7.18.4","@tauri-apps/api":"^2.0.0-alpha.3","@types/debounce":"^1.2.1","@types/node":"^17.0.42","@typescript-eslint/eslint-plugin":"^4.0.1","@typescript-eslint/parser":"^4.0.1","eslint":"^7.8.0","eslint-config-prettier":"^6.11.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-functional":"^3.0.2","eslint-plugin-import":"^2.22.0","npm-run-all":"^4.1.5","open-cli":"^6.0.1","prettier":"^2.1.1","standard-version":"^9.0.0","ts-node":"^9.0.0","typescript":"^4.0.2","vue":"^3.2.37"},"peerDependencies":{"@tauri-apps/api":"^2.0.0-alpha.3"},"prettier":{"singleQuote":true},"gitHead":"c5782bf272609dc4e5fe2af2412991dfe7fb6603","_id":"@bitsy-ai/tauri-pinia@2.0.0-rc2","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-sx4zuVN+rz/RUj22z4ffTtQZ2iz9hdXtPujG2H/h8DyD0ycqMIH2g5cSy1C06DGsZY8kzic/tIvR8jgB1rXRnw==","shasum":"12005f5dbec083745e9fe8f8fc0ec8102c9f16fb","tarball":"https://registry.npmjs.org/@bitsy-ai/tauri-pinia/-/tauri-pinia-2.0.0-rc2.tgz","fileCount":16,"unpackedSize":41811,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrU+TNhaWFZ9hPhYvJPRDPFk35SbSAPlgVRgmVKjdmHAIgDlwpwe377ttzGFW3SgPzipRyqBLgbNpjB3Dxo/fFD4U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOZlhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo8Jw//ahTTJxlo7vfukfejbZXFwh+s7zhHhsloSzHi6Zn7B/Frxev4\r\nLeV6NHk93gq3tQU9UbMrUfa+iyxlzziK7KtSOKR6//5cbig8gILhRYDm0jCp\r\nqGjdwDMzySurQfk6mGE1Q451S+O5EBaTh1oQTCPTtR1ocH2oqR4e6kuCua6t\r\njFi6fBttRHTt7GaPNir9QNjLYyESDR6p/vhYla+tznbYTbdgUZgBon20o4gC\r\n/GlDFAklSEybPcwR79K7bvLA8gvj/virpkLRQ9kHun7aeV82nRkxlkv6v8vV\r\nW9Iinfr+MMknbKk60+xZzuNKy+4hE9hzOGABPgxMR/bVf3QT1sy0uZ5DeMIb\r\ni7sMYaUp5DTsyBY1hedbFujT0hzYtEKnz+qLaMlWCZtflDBrk9DwJ+H6/lk+\r\nITcWFjVUcIM/7D8n4fOELy5Y5mLE4THe3jqA8yzH2HMA/FfSfIUXBn/yFWNS\r\nbEl6JsXdTTmrcYvz+tW30mkqfKvO8wbgt7s8ZORI6oiQaFyR2Zk0+V7sFgT0\r\nbQRGZhLsXAGHOI0YrdWMGm7LvXTBbVCaXomjlwCpLt4L8ijNl4R5KlN7WG3o\r\nV7wQ4r9Ne4Jg8RFyRb/hPoYzlqSWnKTvRvrICzEOmsMKW0M7qGI4mJi1JJ/d\r\nyw7M8fDPLSINBh2enWUx2G7UvxeQW6mprEw=\r\n=oUu5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bitsy-ai","email":"leigh@bitsy.ai"},"directories":{},"maintainers":[{"name":"bitsy-ai","email":"leigh@bitsy.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tauri-pinia_2.0.0-rc2_1681496416944_0.3841445936413226"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-13T22:34:42.242Z","2.0.0-rc0":"2023-04-13T22:34:42.477Z","modified":"2023-04-14T18:20:17.269Z","2.0.0-rc1":"2023-04-14T16:44:52.727Z","2.0.0-rc2":"2023-04-14T18:20:17.156Z"},"maintainers":[{"name":"bitsy-ai","email":"leigh@bitsy.ai"}],"description":"Utility to make pinia stores persisted for tauri apps","homepage":"https://github.com/charlesgael/tauri-pinia#readme","keywords":["tauri","pinia","persistence"],"repository":{"type":"git","url":"git+https://github.com/charlesgael/tauri-pinia.git"},"author":{"name":"charlesgael"},"bugs":{"url":"https://github.com/charlesgael/tauri-pinia/issues"},"license":"MIT","readme":"# tauri-pinia\n\nThis is a small utility that brings persistance to pinia for tauri apps\n\nInstallation is pretty simple\n\n```ts\nconst app = createApp(YourApp);\napp.use(await tauriPinia());\napp.mount('#app');\n```\n\nIt requires await during initialisation however because the module will do a first read from fs before initialisation.\n\nSome configuration is available (given as argument to `tauriPinia()`):\n\n- `singleFile`: If we do use single file for storage or one file per store\n- `storeFilename`: (when `singleFile = false`) A store name to file name conversion, should you need it (e.g. `{'myStore': 'storageFileForMyStore.json'}`) it is not mandatory\n- `filename`: (when `singleFile = true`) The name of the file to save in\n","readmeFilename":"README.md"}