nuxt-charts 2.1.0-beta-7 → 2.1.0-beta-9
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.json +1 -1
- package/dist/module.mjs +19 -9
- package/dist/runtime/vue-chrts.d.ts +0 -1
- package/dist/runtime/vue-chrts.js +0 -1
- package/package.json +5 -7
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -31,16 +31,21 @@ const resolveImports = (config, filePath) => {
|
|
|
31
31
|
if (!config.autoImports) {
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
34
|
-
const allTypes = ["BulletLegendItemInterface", "MarkerConfig", "CrosshairConfig", "AxisConfig", "MapRegion", "MapPin"];
|
|
34
|
+
const allTypes = ["BulletLegendItemInterface", "MarkerConfig", "CrosshairConfig", "AxisConfig", "TooltipConfig", "MapRegion", "MapPin"];
|
|
35
35
|
addImportsSources({
|
|
36
|
-
from:
|
|
36
|
+
from: "vue-chrts/types",
|
|
37
37
|
type: true,
|
|
38
38
|
imports: [...allTypes]
|
|
39
39
|
});
|
|
40
|
-
const
|
|
40
|
+
const enumImports = ["CurveType", "LegendPosition", "Orientation"];
|
|
41
41
|
addImportsSources({
|
|
42
|
-
from:
|
|
43
|
-
imports: [...
|
|
42
|
+
from: "vue-chrts/enums",
|
|
43
|
+
imports: [...enumImports]
|
|
44
|
+
});
|
|
45
|
+
const runtimeImports = ["DonutType", "getMap", "getPin"];
|
|
46
|
+
addImportsSources({
|
|
47
|
+
from: "vue-chrts",
|
|
48
|
+
imports: [...runtimeImports]
|
|
44
49
|
});
|
|
45
50
|
};
|
|
46
51
|
|
|
@@ -60,12 +65,17 @@ const module = defineNuxtModule({
|
|
|
60
65
|
},
|
|
61
66
|
moduleDependencies: {},
|
|
62
67
|
async setup(options, nuxt) {
|
|
63
|
-
const deps = [
|
|
68
|
+
const deps = [
|
|
69
|
+
"vue-chrts",
|
|
70
|
+
"@unovis/ts",
|
|
71
|
+
"@unovis/vue",
|
|
72
|
+
"d3-geo",
|
|
73
|
+
"proj4",
|
|
74
|
+
"@turf/boolean-point-in-polygon"
|
|
75
|
+
];
|
|
64
76
|
nuxt.options.vite.optimizeDeps = nuxt.options.vite.optimizeDeps || {};
|
|
65
77
|
nuxt.options.vite.optimizeDeps.include = nuxt.options.vite.optimizeDeps.include || [];
|
|
66
78
|
nuxt.options.vite.optimizeDeps.include.push(...deps);
|
|
67
|
-
nuxt.options.build.transpile = nuxt.options.build.transpile || [];
|
|
68
|
-
nuxt.options.build.transpile.push(...deps);
|
|
69
79
|
nuxt.options.vite.ssr = nuxt.options.vite.ssr || {};
|
|
70
80
|
nuxt.options.vite.ssr.noExternal = nuxt.options.vite.ssr.noExternal || [];
|
|
71
81
|
if (Array.isArray(nuxt.options.vite.ssr.noExternal)) {
|
|
@@ -73,7 +83,7 @@ const module = defineNuxtModule({
|
|
|
73
83
|
}
|
|
74
84
|
const { resolve } = createResolver(import.meta.url);
|
|
75
85
|
const runtimePath = resolve("./runtime/vue-chrts");
|
|
76
|
-
resolveImports(options
|
|
86
|
+
resolveImports(options);
|
|
77
87
|
resolveComponents(options, runtimePath);
|
|
78
88
|
}
|
|
79
89
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-charts",
|
|
3
|
-
"version": "2.1.0-beta-
|
|
3
|
+
"version": "2.1.0-beta-9",
|
|
4
4
|
"description": "Nuxt module for vue-chrts",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -16,21 +16,19 @@
|
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"
|
|
20
|
-
"@unovis/vue": "^1.6.2",
|
|
21
|
-
"vue-chrts": "2.1.0-beta-7"
|
|
19
|
+
"vue-chrts": "2.1.0-beta-9"
|
|
22
20
|
},
|
|
23
21
|
"devDependencies": {
|
|
24
22
|
"@nuxt/eslint": "^1.7.1",
|
|
25
23
|
"@nuxt/eslint-config": "^1.7.1",
|
|
26
|
-
"@nuxt/kit": "^4.
|
|
24
|
+
"@nuxt/kit": "^4.3.0",
|
|
27
25
|
"@nuxt/module-builder": "^0.8.4",
|
|
28
|
-
"@nuxt/schema": "^4.
|
|
26
|
+
"@nuxt/schema": "^4.3.0",
|
|
29
27
|
"@types/node": "^20.19.9",
|
|
30
28
|
"changelogen": "^0.6.2",
|
|
31
29
|
"commit-and-tag-version": "^12.5.1",
|
|
32
30
|
"eslint": "^9.0.0",
|
|
33
|
-
"nuxt": "^4.
|
|
31
|
+
"nuxt": "^4.3.0",
|
|
34
32
|
"typescript": "^5.8.3",
|
|
35
33
|
"vitest": "^3.2.4"
|
|
36
34
|
},
|