pinia-plugin-subscription 0.1.7-beta.0 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
14
14
|
- Tightened internal store checks to avoid `hasOwnProperty` collisions.
|
|
15
15
|
- Reduced library bundle overhead by stripping the Vue plugin from the library build and treeshaking the published bundle more aggressively.
|
|
16
16
|
- Added additive sub-exports for helper-only imports and a strict type-only public surface to keep the core API stable while improving bundle clarity.
|
|
17
|
-
- Added a real bundle-size check command to measure the emitted output before deciding whether a heavier split is justified
|
|
17
|
+
- Added a real bundle-size check command to measure the emitted output before deciding whether a heavier split is justified : `npm run bundle:check`.
|
|
18
18
|
- Documented Nuxt / SSR best practices for `hydration: 'defer'`, `runtimeEnvironment`, and browser-only access in hydrated stores.
|
|
19
19
|
|
|
20
20
|
## [0.1.6]
|
package/README.md
CHANGED
|
@@ -28,12 +28,6 @@ For type-only imports, prefer the dedicated public types entry:
|
|
|
28
28
|
import type { PluginSubscriptionOptions } from 'pinia-plugin-subscription/types'
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
The project also includes a bundle check command to measure the real output size before introducing a heavier split strategy:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
npm run bundle:check
|
|
35
|
-
```
|
|
36
|
-
|
|
37
31
|
```typescript
|
|
38
32
|
import { createApp } from 'vue'
|
|
39
33
|
import { createPinia } from 'pinia'
|
package/dist/helpers.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var S = Object.defineProperty;
|
|
2
2
|
var y = (r, o, e) => o in r ? S(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e;
|
|
3
3
|
var c = (r, o, e) => y(r, typeof o != "symbol" ? o + "" : o, e);
|
|
4
|
-
import { D as g, i as l, P as _ } from "./chunks/index-
|
|
5
|
-
import { C as w, p as O, a as j, S as x, d as H, b as K, g as R, c as M, e as L, s as T } from "./chunks/index-
|
|
4
|
+
import { D as g, i as l, P as _ } from "./chunks/index-B-zO0yrr.js";
|
|
5
|
+
import { C as w, p as O, a as j, S as x, d as H, b as K, g as R, c as M, e as L, s as T } from "./chunks/index-B-zO0yrr.js";
|
|
6
6
|
const f = "PluginSubscription", m = {
|
|
7
7
|
environment: "both",
|
|
8
8
|
hydration: "immediate"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pinia-plugin-subscription",
|
|
3
|
-
"version": "0.1.7
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Pinia plugin for Vue.js that helps building Pinia plugins by centralizing subscriber registration and providing a Store base class for store helpers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"exports": {
|
|
28
28
|
".": {
|
|
29
|
-
"types": "./dist/
|
|
29
|
+
"types": "./dist/lib/main.d.ts",
|
|
30
30
|
"import": "./dist/pinia-plugin-subscription.js"
|
|
31
31
|
},
|
|
32
32
|
"./helpers": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"main": "./dist/pinia-plugin-subscription.js",
|
|
41
|
-
"types": "./dist/
|
|
41
|
+
"types": "./dist/lib/main.d.ts",
|
|
42
42
|
"typesVersions": {
|
|
43
43
|
"*": {
|
|
44
44
|
"helpers": [
|