@mapomodule/core 2.0.0-beta.2 → 2.0.0-beta.3
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/dist/module.d.ts.map +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/package.json +4 -3
- package/src/module.ts +3 -1
package/dist/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,YAAY,EACV,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,UAAU,EACV,WAAW,EACX,cAAc,EACd,eAAe,EACf,WAAW,EACX,SAAS,GACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC9E,YAAY,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;;AAEzE,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,YAAY,EACV,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,UAAU,EACV,WAAW,EACX,cAAc,EACd,eAAe,EACf,WAAW,EACX,SAAS,GACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC9E,YAAY,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;;AAEzE,wBAwEqC"}
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -25,7 +25,7 @@ const module$1 = defineNuxtModule({
|
|
|
25
25
|
)
|
|
26
26
|
});
|
|
27
27
|
if (!hasNuxtModule("@mapomodule/store")) {
|
|
28
|
-
await installModule("@mapomodule/store");
|
|
28
|
+
await installModule(await resolver.resolvePath("@mapomodule/store"));
|
|
29
29
|
}
|
|
30
30
|
nuxt.options.runtimeConfig.public.mapoCore = {
|
|
31
31
|
...MAPO_DEFAULTS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mapomodule/core",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.3",
|
|
4
4
|
"description": "Mapo core: API layer, auth, composables, middleware",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,11 +46,12 @@
|
|
|
46
46
|
"lint": "eslint src"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@mapomodule/store": "2.0.0-beta.
|
|
49
|
+
"@mapomodule/store": "2.0.0-beta.3",
|
|
50
50
|
"@mapomodule/utils": "2.0.0-beta.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"nuxt": ">=4.0.0"
|
|
53
|
+
"nuxt": ">=4.0.0",
|
|
54
|
+
"pinia": "^3.0.0"
|
|
54
55
|
},
|
|
55
56
|
"devDependencies": {
|
|
56
57
|
"@nuxt/kit": "4.4.2",
|
package/src/module.ts
CHANGED
|
@@ -50,7 +50,9 @@ export default defineNuxtModule<MapoOptions>({
|
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
if (!hasNuxtModule("@mapomodule/store")) {
|
|
53
|
-
|
|
53
|
+
// Resolve from core's own node_modules: with pnpm's isolated layout the
|
|
54
|
+
// consuming app cannot resolve the bare "@mapomodule/store" specifier.
|
|
55
|
+
await installModule(await resolver.resolvePath("@mapomodule/store"));
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
// `defaults` guarantees these are set at runtime, but MapoOptions keeps
|