-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use built-in toRaw function
- Loading branch information
1 parent
5e7f654
commit fcb1289
Showing
13 changed files
with
2,593 additions
and
1,262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 23,4 @@ pnpm-debug.log* | |
*.sw? | ||
|
||
# npm | ||
package-lock.json | ||
*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 13,6 @@ | |
"pinia-shared-state": "workspace:*" | ||
}, | ||
"devDependencies": { | ||
"nuxt": "3.5.3" | ||
"nuxt": "3.8.2" | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...ples/nuxt3/plugins/shared-state.client.ts → examples/nuxt3/plugins/shared-state.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 1,6 @@ | ||
{ | ||
"name": "vite", | ||
"type": "module", | ||
"version": "0.0.0", | ||
"scripts": { | ||
"dev": "vite", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 1,6 @@ | ||
declare module '*.vue' { | ||
import type { DefineComponent } from 'vue' | ||
|
||
const component: DefineComponent<{}, {}, any> | ||
const component: DefineComponent<Record<string, unknown>, Record<string, unknown>, any> | ||
export default component | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 1,17 @@ | ||
{ | ||
"name": "pinia-shared-state", | ||
"type": "module", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"version": "0.4.5", | ||
"packageManager": "[email protected]", | ||
"author": { | ||
"name": "Robert Soriano", | ||
"email": "[email protected]" | ||
}, | ||
"license": "MIT", | ||
"funding": "https://github.com/sponsors/wobsoriano", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/wobsoriano/pinia-shared-state.git" | ||
|
@@ -41,6 49,7 @@ | |
"scripts": { | ||
"build": "tsup", | ||
"dev": "pnpm build --watch --onSuccess=\"pnpm --filter vite dev\"", | ||
"dev:nuxt": "pnpm build --watch --onSuccess=\"pnpm --filter nuxt3 dev\"", | ||
"release": "bumpp && npm publish", | ||
"prepublishOnly": "npm run build", | ||
"lint": "eslint .", | ||
|
@@ -50,7 59,8 @@ | |
"pinia": "^2" | ||
}, | ||
"dependencies": { | ||
"broadcast-channel": "^7.0.0" | ||
"broadcast-channel": "^7.0.0", | ||
"vue-demi": "^0.14.6" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^2.2.1", | ||
|
Oops, something went wrong.