Skip to content

Commit

Permalink
chore: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
prazdevs committed Sep 14, 2024
1 parent 6f1aaae commit ba8cd49
Show file tree
Hide file tree
Showing 10 changed files with 1,346 additions and 845 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/config/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig } from 'vitepress'
import { transformerTwoslash } from '@shikijs/vitepress-twoslash'
import { defineConfig } from 'vitepress'
import { groupIconMdPlugin, groupIconVitePlugin } from 'vitepress-plugin-group-icons'
import { algolia } from './algolia'
import { en } from './en'
Expand Down
6 changes: 3 additions & 3 deletions docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// https://vitepress.dev/guide/custom-theme
import { h } from 'vue'
import type { Theme } from 'vitepress'
import DefaultTheme from 'vitepress/theme'
import TwoslashClient from '@shikijs/vitepress-twoslash/client'
import DefaultTheme from 'vitepress/theme'
// https://vitepress.dev/guide/custom-theme
import { h } from 'vue'
import '@shikijs/vitepress-twoslash/style.css'
import './style.css'
import 'virtual:group-icons.css'
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/why.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ This plugin was born in the early days of Pinia, before it officially replaced [
Short answer: "_no_". There are a lot of solutions to persist store data in storages such as `localStorage` that don't even involve injecting a plugin into Pinia. Here is an example using [VueUse](https://vueuse.org/)'s `useLocalStorage` :

```ts
import { defineStore } from 'pinia'
import { useLocalStorage } from '@vueuse/core'
import { defineStore } from 'pinia'

defineStore('store', () => {
const someState = useLocalStorage('stored-state', 'initialValue')
Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pinia-plugin-persistedstate",
"type": "module",
"version": "4.0.1",
"packageManager": "pnpm@9.9.0",
"packageManager": "pnpm@9.10.0",
"description": "Configurable persistence and rehydration of Pinia stores.",
"author": "Sacha Bouillez <[email protected]> (https://praz.dev)",
"license": "MIT",
Expand Down Expand Up @@ -82,36 +82,36 @@
}
},
"dependencies": {
"@nuxt/kit": "^3.13.0",
"@nuxt/kit": "^3.13.1",
"deep-pick-omit": "^1.2.0",
"defu": "^6.1.4",
"destr": "^2.0.3"
},
"devDependencies": {
"@antfu/eslint-config": "^2.27.3",
"@nuxt/devtools": "^1.4.1",
"@nuxt/module-builder": "^0.8.3",
"@nuxt/schema": "^3.13.0",
"@nuxt/test-utils": "^3.14.1",
"@antfu/eslint-config": "^3.6.0",
"@nuxt/devtools": "^1.4.2",
"@nuxt/module-builder": "^0.8.4",
"@nuxt/schema": "^3.13.1",
"@nuxt/test-utils": "^3.14.2",
"@pinia/nuxt": "^0.5.4",
"@shikijs/vitepress-twoslash": "^1.16.1",
"@types/node": "^22.5.2",
"@shikijs/vitepress-twoslash": "^1.17.6",
"@types/node": "^22.5.5",
"changelogen": "^0.5.5",
"eslint": "^9.9.1",
"eslint": "^9.10.0",
"jiti": "^1.21.6",
"lint-staged": "^15.2.10",
"nuxt": "^3.13.0",
"nuxt": "^3.13.1",
"pinia": "^2.2.2",
"pinia-plugin-persistedstate": "link:",
"publint": "^0.2.10",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"vitepress": "^1.3.4",
"vitepress-plugin-group-icons": "^1.1.0",
"vitest": "^2.0.5",
"vue": "^3.4.38",
"vue-tsc": "^2.1.4"
"vitepress-plugin-group-icons": "^1.2.2",
"vitest": "^2.1.1",
"vue": "^3.5.5",
"vue-tsc": "^2.1.6"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
Expand Down
Loading

0 comments on commit ba8cd49

Please sign in to comment.