nuxt-charts 0.2.0-test.21 → 0.2.0-test.22
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 +2 -2
- package/dist/module.mjs +2 -4
- package/dist/types.d.mts +2 -6
- package/package.json +11 -14
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -28
- package/dist/types.d.ts +0 -7
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -57,12 +57,10 @@ const module = defineNuxtModule({
|
|
|
57
57
|
include: []
|
|
58
58
|
},
|
|
59
59
|
async setup(options, nuxt) {
|
|
60
|
-
nuxt.options.vite = nuxt.options.vite || {};
|
|
61
60
|
nuxt.options.vite.optimizeDeps = nuxt.options.vite.optimizeDeps || {};
|
|
62
61
|
nuxt.options.vite.optimizeDeps.include = nuxt.options.vite.optimizeDeps.include || [];
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
62
|
+
nuxt.options.vite.optimizeDeps.include = ["@unovis/ts", ...nuxt.options.vite.optimizeDeps.include];
|
|
63
|
+
nuxt.options.build.transpile = ["@unovis/ts", ...nuxt.options.build.transpile];
|
|
66
64
|
const { resolve } = createResolver(import.meta.url);
|
|
67
65
|
const runtimePath = resolve("./runtime/vue-chrts");
|
|
68
66
|
resolveImports(options, runtimePath);
|
package/dist/types.d.mts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
export { default } from './module.mjs'
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
6
|
-
|
|
7
|
-
export { default } from './module.js'
|
|
3
|
+
export { type ModuleOptions } from './module.mjs'
|
package/package.json
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-charts",
|
|
3
|
-
"version": "0.2.0-test.
|
|
3
|
+
"version": "0.2.0-test.22",
|
|
4
4
|
"description": "Nuxt module for vue-chrts",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
8
|
-
".":
|
|
9
|
-
"import": "./dist/module.mjs",
|
|
10
|
-
"require": "./dist/module.cjs"
|
|
11
|
-
}
|
|
8
|
+
".": "./dist/module.mjs"
|
|
12
9
|
},
|
|
13
|
-
"main": "./dist/module.
|
|
10
|
+
"main": "./dist/module.mjs",
|
|
14
11
|
"module": "./dist/module.mjs",
|
|
15
12
|
"files": [
|
|
16
13
|
"dist"
|
|
@@ -27,22 +24,22 @@
|
|
|
27
24
|
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
28
25
|
},
|
|
29
26
|
"dependencies": {
|
|
30
|
-
"@nuxt/kit": "^3.17.
|
|
27
|
+
"@nuxt/kit": "^3.17.7",
|
|
31
28
|
"@unovis/ts": "^1.5.2",
|
|
32
29
|
"@unovis/vue": "^1.5.2",
|
|
33
|
-
"vue-chrts": "0.
|
|
30
|
+
"vue-chrts": "0.1.12-beta.1"
|
|
34
31
|
},
|
|
35
32
|
"devDependencies": {
|
|
36
33
|
"@nuxt/eslint": "1.3.0",
|
|
37
34
|
"@nuxt/eslint-config": "^0.2.0",
|
|
38
|
-
"@nuxt/module-builder": "^0.
|
|
39
|
-
"@nuxt/schema": "^3.17.
|
|
40
|
-
"@types/node": "^20.
|
|
41
|
-
"changelogen": "^0.6.
|
|
35
|
+
"@nuxt/module-builder": "^1.0.1",
|
|
36
|
+
"@nuxt/schema": "^3.17.7",
|
|
37
|
+
"@types/node": "^20.19.9",
|
|
38
|
+
"changelogen": "^0.6.2",
|
|
42
39
|
"commit-and-tag-version": "^12.5.1",
|
|
43
40
|
"eslint": "^8.57.1",
|
|
44
|
-
"nuxt": "^
|
|
41
|
+
"nuxt": "^3.17.7",
|
|
45
42
|
"typescript": "^5.8.3",
|
|
46
|
-
"vitest": "^3.
|
|
43
|
+
"vitest": "^3.2.4"
|
|
47
44
|
}
|
|
48
45
|
}
|
package/dist/module.cjs
DELETED
package/dist/module.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
|
-
|
|
3
|
-
interface ModuleOptions {
|
|
4
|
-
/**
|
|
5
|
-
* Prefix for component names
|
|
6
|
-
* @default ''
|
|
7
|
-
*/
|
|
8
|
-
prefix?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Register global components
|
|
11
|
-
* @default true
|
|
12
|
-
*/
|
|
13
|
-
global?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Use auto-imports (recommended)
|
|
16
|
-
* @default true
|
|
17
|
-
*/
|
|
18
|
-
autoImports?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Components to include (empty array means all components)
|
|
21
|
-
* @default []
|
|
22
|
-
*/
|
|
23
|
-
include?: string[];
|
|
24
|
-
}
|
|
25
|
-
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
26
|
-
|
|
27
|
-
export { _default as default };
|
|
28
|
-
export type { ModuleOptions };
|
package/dist/types.d.ts
DELETED