Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vike-vue-pinia

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vike-vue-pinia - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

dist/onAfterRenderHtml.d.ts

18

dist/+config.d.ts

@@ -0,9 +1,13 @@

export { config as default };
import type { Pinia, StateTree } from 'pinia';
declare const _default: {
declare const config: {
name: string;
onCreateApp: string;
onAfterRenderHtml: string;
onBeforeRenderClient: string;
require: {
'vike-vue': string;
};
passToClient: string[];
onCreateApp: "import:vike-vue-pinia/__internal/integration/onCreateApp:onCreateApp";
onAfterRenderHtml: "import:vike-vue-pinia/__internal/integration/onAfterRenderHtml:onAfterRenderHtml";
onBeforeRenderClient: "import:vike-vue-pinia/__internal/integration/onBeforeRenderClient:onBeforeRenderClient";
};
export default _default;
declare global {

@@ -13,7 +17,5 @@ namespace Vike {

pinia?: Pinia;
fromHtmlRenderer: {
piniaInitialState?: StateTree;
};
_piniaInitialState?: StateTree;
}
}
}

@@ -1,6 +0,11 @@

export default {
export { config as default };
const config = {
name: 'vike-vue-pinia',
onCreateApp: 'import:vike-vue-pinia/renderer/installPinia:installPinia',
onAfterRenderHtml: 'import:vike-vue-pinia/renderer/dehydratePinia:dehydratePinia',
onBeforeRenderClient: 'import:vike-vue-pinia/renderer/hydratePinia:hydratePinia',
require: {
'vike-vue': '>=0.7.0',
},
passToClient: ['_piniaInitialState'],
onCreateApp: 'import:vike-vue-pinia/__internal/integration/onCreateApp:onCreateApp',
onAfterRenderHtml: 'import:vike-vue-pinia/__internal/integration/onAfterRenderHtml:onAfterRenderHtml',
onBeforeRenderClient: 'import:vike-vue-pinia/__internal/integration/onBeforeRenderClient:onBeforeRenderClient',
};
{
"name": "vike-vue-pinia",
"version": "0.1.1",
"version": "0.1.2",
"description": "",

@@ -18,5 +18,5 @@ "main": "./dist/+config.js",

"./config": "./dist/+config.js",
"./renderer/installPinia": "./dist/installPinia.js",
"./renderer/dehydratePinia": "./dist/dehydratePinia.js",
"./renderer/hydratePinia": "./dist/hydratePinia.js"
"./__internal/integration/onCreateApp": "./dist/onCreateApp.js",
"./__internal/integration/onAfterRenderHtml": "./dist/onAfterRenderHtml.js",
"./__internal/integration/onBeforeRenderClient": "./dist/onBeforeRenderClient.js"
},

@@ -28,10 +28,10 @@ "typesVersions": {

],
"renderer/installPinia": [
"./dist/installPinia.d.ts"
"__internal/integration/onCreateApp": [
"./dist/onCreateApp.d.ts"
],
"renderer/dehydratePinia": [
"./dist/dehydratePinia.d.ts"
"__internal/integration/onAfterRenderHtml": [
"./dist/onAfterRenderHtml.d.ts"
],
"renderer/hydratePinia": [
"./dist/hydratePinia.d.ts"
"__internal/integration/onBeforeRenderClient": [
"./dist/onBeforeRenderClient.d.ts"
]

@@ -41,21 +41,20 @@ }

"peerDependencies": {
"pinia": "^2.0.0",
"vike": "^0.4.172",
"vike-vue": "^0.7.0",
"vue": "^3.0.0"
"pinia": ">=2.0.0",
"vike-vue": ">=0.7.0",
"vue": ">=3.0.0"
},
"devDependencies": {
"@brillout/release-me": "^0.3.8",
"@types/node": "^20.12.7",
"@types/node": "^22.1.0",
"pinia": "^2.1.7",
"typescript": "^5.4.5",
"vike": "^0.4.172",
"vike-vue": "^0.7.0",
"vue": "^3.4.23",
"vike": "^0.4.195",
"vike-vue": "^0.8.4",
"vue": "^3.4.36",
"vue-tsc": "^2.0.13"
},
"files": [
"dist"
"dist/"
],
"license": "MIT"
}
<!-- WARNING: keep links absolute in this file so they work on NPM too -->
[<img src="https://vike.dev/vike-readme.svg" align="right" height="90">](https://vike.dev)
[![npm version](https://img.shields.io/npm/v/vike-vue-pinia)](https://www.npmjs.com/package/vike-vue-pinia)
# `vike-vue-pinia`
Pinia integration for Vike, see [vike.dev/pinia](https://vike.dev/pinia).
[Pinia](https://pinia.vuejs.org) integration for Vike.
- [Documentation](https://vike.dev)
- [Example](https://github.com/vikejs/vike-vue/tree/main/examples/pinia)
- [Changelog](https://github.com/vikejs/vike-vue/blob/main/packages/vike-vue-pinia/CHANGELOG.md)
Example: [/examples/vue-pinia/](https://github.com/vikejs/vike-vue/tree/main/examples/vue-pinia)
Version history: [CHANGELOG.md](https://github.com/vikejs/vike-vue/blob/main/packages/vike-vue-pinia/CHANGELOG.md)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc