directix 1.7.0 → 1.9.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/README.md +141 -1
- package/dist/index.cjs +5089 -1989
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +965 -0
- package/dist/index.iife.js +5089 -1989
- package/dist/index.iife.js.map +1 -1
- package/dist/index.iife.min.js +2 -2
- package/dist/index.mjs +5090 -1990
- package/dist/index.mjs.map +1 -1
- package/dist/nuxt/index.cjs +23 -10
- package/dist/nuxt/index.cjs.map +2 -2
- package/dist/nuxt/index.d.ts +1 -1
- package/dist/nuxt/index.mjs +23 -10
- package/dist/nuxt/index.mjs.map +3 -3
- package/dist/nuxt/runtime/plugin.mjs +23 -10
- package/dist/nuxt/runtime/plugin.mjs.map +3 -3
- package/package.json +19 -9
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.
|
|
5
|
+
"version": "1.9.0",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
8
8
|
"unpkg": "dist/index.iife.min.js",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
13
|
"types": "./dist/index.d.ts",
|
|
14
|
+
"browser": "./dist/index.mjs",
|
|
14
15
|
"require": "./dist/index.cjs",
|
|
15
16
|
"import": "./dist/index.mjs"
|
|
16
17
|
},
|
|
@@ -26,8 +27,9 @@
|
|
|
26
27
|
],
|
|
27
28
|
"devDependencies": {
|
|
28
29
|
"@eslint-sets/eslint-config": "^6.3.1",
|
|
29
|
-
"@nuxt/kit": "^3.
|
|
30
|
-
"@nuxt/schema": "^3.
|
|
30
|
+
"@nuxt/kit": "^3.21.2",
|
|
31
|
+
"@nuxt/schema": "^3.21.2",
|
|
32
|
+
"@playwright/test": "^1.59.1",
|
|
31
33
|
"@types/node": "^22.19.17",
|
|
32
34
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
33
35
|
"@vitest/coverage-v8": "^3.2.4",
|
|
@@ -37,6 +39,7 @@
|
|
|
37
39
|
"jsdom": "^26.1.0",
|
|
38
40
|
"nuxt": "^4.4.2",
|
|
39
41
|
"terser": "^5.46.1",
|
|
42
|
+
"tinybench": "^6.0.0",
|
|
40
43
|
"tsx": "^4.21.0",
|
|
41
44
|
"typescript": "^5.9.3",
|
|
42
45
|
"vite": "^6.4.2",
|
|
@@ -69,7 +72,7 @@
|
|
|
69
72
|
}
|
|
70
73
|
},
|
|
71
74
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
75
|
+
"node": ">=16.14"
|
|
73
76
|
},
|
|
74
77
|
"sideEffects": [
|
|
75
78
|
"**/*.css"
|
|
@@ -148,28 +151,35 @@
|
|
|
148
151
|
"type": "git",
|
|
149
152
|
"url": "https://github.com/saqqdy/directix.git"
|
|
150
153
|
},
|
|
154
|
+
"funding": "https://github.com/sponsors/saqqdy",
|
|
155
|
+
"publishConfig": {
|
|
156
|
+
"access": "public"
|
|
157
|
+
},
|
|
151
158
|
"scripts": {
|
|
152
159
|
"dev": "vite",
|
|
153
160
|
"dev:playground": "pnpm --dir playground dev",
|
|
154
|
-
"gen:version": "tsx scripts/version",
|
|
155
|
-
"tag:version": "tsx scripts/tag",
|
|
156
161
|
"build": "vite build && tsx scripts/minify && tsx scripts/build-nuxt",
|
|
157
162
|
"build:types": "vue-tsc --emitDeclarationOnly --outDir dist",
|
|
158
163
|
"build:playground": "pnpm --dir playground build",
|
|
164
|
+
"watch": "vite build --watch",
|
|
165
|
+
"clean": "rm -rf dist es lib temp coverage playwright-report",
|
|
159
166
|
"docs:dev": "vitepress dev docs",
|
|
160
167
|
"docs:build": "vitepress build docs",
|
|
161
168
|
"docs:preview": "vitepress preview docs",
|
|
162
169
|
"deploy": "sh scripts/deploy.sh",
|
|
163
170
|
"deploy:playground": "pnpm --dir playground deploy local",
|
|
164
|
-
"
|
|
171
|
+
"gen:version": "tsx scripts/version",
|
|
172
|
+
"tag:version": "tsx scripts/tag",
|
|
165
173
|
"pub": "tsx scripts/publish",
|
|
166
174
|
"unpub": "tsx scripts/unpublish",
|
|
167
175
|
"sync": "tsx scripts/sync",
|
|
168
|
-
"clean": "rm -rf dist es lib temp coverage",
|
|
169
|
-
"dist": "pnpm lint && pnpm build",
|
|
170
176
|
"test": "vitest run",
|
|
171
177
|
"test:watch": "vitest",
|
|
172
178
|
"test:coverage": "vitest run --coverage",
|
|
179
|
+
"test:e2e": "playwright test",
|
|
180
|
+
"test:e2e:ui": "playwright test --ui",
|
|
181
|
+
"test:e2e:debug": "playwright test --debug",
|
|
182
|
+
"test:all": "pnpm test && pnpm test:e2e",
|
|
173
183
|
"lint": "eslint --fix .",
|
|
174
184
|
"typecheck": "vue-tsc --noEmit",
|
|
175
185
|
"example:dev": "pnpm --dir examples/vue3 dev",
|