directix 1.4.1 → 1.6.0

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "directix",
3
3
  "description": "A comprehensive, easy-to-use, and high-performance Vue custom directives library supporting both Vue 2 and Vue 3",
4
4
  "type": "module",
5
- "version": "1.4.1",
5
+ "version": "1.6.0",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.mjs",
8
8
  "unpkg": "dist/index.iife.min.js",
@@ -14,6 +14,11 @@
14
14
  "require": "./dist/index.cjs",
15
15
  "import": "./dist/index.mjs"
16
16
  },
17
+ "./nuxt": {
18
+ "types": "./dist/nuxt/index.d.ts",
19
+ "require": "./dist/nuxt/index.cjs",
20
+ "import": "./dist/nuxt/index.mjs"
21
+ },
17
22
  "./style.css": "./dist/style.css"
18
23
  },
19
24
  "files": [
@@ -21,26 +26,48 @@
21
26
  ],
22
27
  "devDependencies": {
23
28
  "@eslint-sets/eslint-config": "^6.3.1",
24
- "@types/node": "^22.19.15",
29
+ "@nuxt/kit": "^3.16.1",
30
+ "@nuxt/schema": "^3.16.1",
31
+ "@types/node": "^22.19.17",
25
32
  "@vitejs/plugin-vue": "^5.2.4",
26
33
  "@vitest/coverage-v8": "^3.2.4",
27
34
  "@vue/test-utils": "^2.4.6",
35
+ "esbuild": "^0.28.0",
28
36
  "eslint": "^9.39.4",
29
37
  "jsdom": "^26.1.0",
38
+ "nuxt": "^4.4.2",
30
39
  "terser": "^5.46.1",
31
40
  "tsx": "^4.21.0",
32
41
  "typescript": "^5.9.3",
33
- "vite": "^6.4.1",
42
+ "vite": "^6.4.2",
34
43
  "vite-plugin-dts": "^4.5.4",
35
44
  "vitepress": "^1.6.4",
36
45
  "vitest": "^3.2.4",
37
- "vue": "^3.5.31",
46
+ "vue": "^3.5.32",
38
47
  "vue-tsc": "^2.2.12",
39
48
  "vue2": "npm:vue@^2.7.16"
40
49
  },
41
50
  "peerDependencies": {
51
+ "@nuxt/kit": ">=3.0.0",
52
+ "@nuxt/schema": ">=3.0.0",
53
+ "@vue/composition-api": ">=1.0.0",
54
+ "lottie-web": ">=5.0.0",
42
55
  "vue": "^2.0.0 || >=3.0.0"
43
56
  },
57
+ "peerDependenciesMeta": {
58
+ "@nuxt/kit": {
59
+ "optional": true
60
+ },
61
+ "@nuxt/schema": {
62
+ "optional": true
63
+ },
64
+ "@vue/composition-api": {
65
+ "optional": true
66
+ },
67
+ "lottie-web": {
68
+ "optional": true
69
+ }
70
+ },
44
71
  "engines": {
45
72
  "node": ">=12.20"
46
73
  },
@@ -51,7 +78,6 @@
51
78
  "vue",
52
79
  "vue2",
53
80
  "vue3",
54
- "directive",
55
81
  "directives",
56
82
  "v-click-outside",
57
83
  "v-lazy",
@@ -59,6 +85,57 @@
59
85
  "v-debounce",
60
86
  "v-throttle",
61
87
  "v-permission",
88
+ "v-long-press",
89
+ "v-infinite-scroll",
90
+ "v-loading",
91
+ "v-ripple",
92
+ "v-watermark",
93
+ "v-tooltip",
94
+ "v-hotkey",
95
+ "v-intersect",
96
+ "v-resize",
97
+ "v-focus",
98
+ "v-visible",
99
+ "v-draggable",
100
+ "v-skeleton",
101
+ "v-ellipsis",
102
+ "v-truncate",
103
+ "v-highlight",
104
+ "v-sanitize",
105
+ "v-fullscreen",
106
+ "v-context-menu",
107
+ "v-image-preview",
108
+ "v-lottie",
109
+ "v-touch",
110
+ "v-swipe",
111
+ "v-pan",
112
+ "v-pinch",
113
+ "v-rotate-gesture",
114
+ "v-parallax",
115
+ "v-typewriter",
116
+ "v-countdown",
117
+ "v-counter",
118
+ "v-progress",
119
+ "v-emoji",
120
+ "v-money",
121
+ "v-number",
122
+ "v-mask",
123
+ "v-trim",
124
+ "v-uppercase",
125
+ "v-lowercase",
126
+ "v-capitalcase",
127
+ "v-blur",
128
+ "v-hover",
129
+ "v-fade",
130
+ "v-click-wave",
131
+ "v-click-delay",
132
+ "v-mutation",
133
+ "v-scroll",
134
+ "v-sticky",
135
+ "v-print",
136
+ "v-export",
137
+ "v-virtual-list",
138
+ "v-pull-refresh",
62
139
  "typescript"
63
140
  ],
64
141
  "license": "MIT",
@@ -75,7 +152,7 @@
75
152
  "dev": "vite",
76
153
  "gen:version": "tsx scripts/version",
77
154
  "tag:version": "tsx scripts/tag",
78
- "build": "vite build && tsx scripts/minify",
155
+ "build": "vite build && tsx scripts/minify && tsx scripts/build-nuxt",
79
156
  "build:types": "vue-tsc --emitDeclarationOnly --outDir dist",
80
157
  "docs:dev": "vitepress dev docs",
81
158
  "docs:build": "vitepress build docs",