@mooljs/plugin-store
Advanced tools
+7
-1
@@ -20,3 +20,9 @@ import { effectScope as o } from "vue"; | ||
| async initialize(e, t) { | ||
| Object.entries(/* @__PURE__ */ Object.assign({})).forEach(([l, c]) => { | ||
| const moduleFiles = import.meta.glob( | ||
| "/src/store/*.ts", | ||
| { | ||
| eager: true, | ||
| }, | ||
| ); | ||
| Object.entries(moduleFiles).forEach(([l, c]) => { | ||
| var a; | ||
@@ -23,0 +29,0 @@ const n = (a = l.match(/([^/]+)\.ts$/)) == null ? void 0 : a[1]; |
+6
-3
| { | ||
| "name": "@mooljs/plugin-store", | ||
| "version": "1.0.0", | ||
| "version": "1.1.0", | ||
| "description": " global data store for mooljs", | ||
@@ -33,8 +33,11 @@ "main": "index.js", | ||
| "devDependencies": { | ||
| "vite": "^5.3.4", | ||
| "@vueuse/core": "^13.0.0" | ||
| "@vueuse/core": "^13.0.0", | ||
| "vite": "^5.3.4" | ||
| }, | ||
| "peerDependencies": { | ||
| "vue": "^3.2.25" | ||
| }, | ||
| "dependencies": { | ||
| "tiny-glob": "^0.2.9" | ||
| } | ||
| } |
4302
2.43%81
8%2
100%+ Added
+ Added
+ Added
+ Added