vite-userscript-plugin 1.11.0 → 2.0.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 +152 -98
- package/dist/index.d.ts +254 -180
- package/dist/index.js +890 -282
- package/package.json +51 -44
- package/types/greasemonkey.d.ts +267 -270
- package/types/tampermonkey.d.ts +1096 -954
- package/types/violentmonkey-ambient.d.ts +149 -0
- package/types/violentmonkey.d.ts +319 -186
- package/virtual.d.ts +7 -0
- package/dist/ws.js +0 -14
- package/types/README.md +0 -21
package/package.json
CHANGED
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-userscript-plugin",
|
|
3
|
-
"version": "1.11.0",
|
|
4
3
|
"type": "module",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
"files": [
|
|
10
|
-
"dist",
|
|
11
|
-
"types"
|
|
12
|
-
],
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=20"
|
|
4
|
+
"version": "2.0.0",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Vitalij Ryndin",
|
|
7
|
+
"url": "https://github.com/crashmax-dev"
|
|
15
8
|
},
|
|
9
|
+
"license": "MIT",
|
|
16
10
|
"repository": {
|
|
17
11
|
"type": "git",
|
|
18
|
-
"url": "git+https://github.com/
|
|
12
|
+
"url": "git+https://github.com/greasify/vite-userscript-plugin.git"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/greasify/vite-userscript-plugin/issues"
|
|
19
16
|
},
|
|
20
17
|
"keywords": [
|
|
21
18
|
"vite",
|
|
@@ -25,46 +22,56 @@
|
|
|
25
22
|
"greasemonkey",
|
|
26
23
|
"violentmonkey"
|
|
27
24
|
],
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
25
|
+
"exports": {
|
|
26
|
+
".": "./dist/index.js",
|
|
27
|
+
"./virtual": "./virtual.d.ts",
|
|
28
|
+
"./types/tampermonkey": "./types/tampermonkey.d.ts",
|
|
29
|
+
"./types/greasemonkey": "./types/greasemonkey.d.ts",
|
|
30
|
+
"./types/violentmonkey": "./types/violentmonkey.d.ts"
|
|
32
31
|
},
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"files": [
|
|
34
|
+
"dist",
|
|
35
|
+
"types/*.d.ts",
|
|
36
|
+
"virtual.d.ts"
|
|
37
|
+
],
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=22"
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"vite": "^8.0.0"
|
|
36
43
|
},
|
|
37
44
|
"dependencies": {
|
|
38
|
-
"
|
|
39
|
-
"open": "10.1.0",
|
|
40
|
-
"picocolors": "1.1.0",
|
|
41
|
-
"serve-handler": "6.1.5",
|
|
42
|
-
"websocket": "1.0.35"
|
|
45
|
+
"open": "11.0.1"
|
|
43
46
|
},
|
|
44
47
|
"devDependencies": {
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
47
|
-
"@types/node": "22.
|
|
48
|
-
"@
|
|
49
|
-
"@
|
|
50
|
-
"@vitest/ui": "
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"
|
|
48
|
+
"@antfu/eslint-config": "7.2.0",
|
|
49
|
+
"@sveltejs/vite-plugin-svelte": "7.3.0",
|
|
50
|
+
"@types/node": "22.20.1",
|
|
51
|
+
"@typescript/native": "npm:typescript@7.0.2",
|
|
52
|
+
"@vitejs/plugin-vue": "6.0.8",
|
|
53
|
+
"@vitest/ui": "4.1.11",
|
|
54
|
+
"eslint": "9.39.2",
|
|
55
|
+
"eslint-plugin-format": "2.0.1",
|
|
56
|
+
"prettier-plugin-css-order": "2.2.0",
|
|
57
|
+
"svelte": "5.56.10",
|
|
58
|
+
"tsdown": "0.22.14",
|
|
59
|
+
"turbo": "2.10.11",
|
|
60
|
+
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
61
|
+
"vite": "8.2.2",
|
|
62
|
+
"vitest": "4.1.11",
|
|
63
|
+
"vue": "3.5.41"
|
|
60
64
|
},
|
|
61
65
|
"scripts": {
|
|
62
|
-
"dev": "
|
|
63
|
-
"build": "tsup",
|
|
64
|
-
"test": "vitest",
|
|
65
|
-
"test:ui": "vitest --ui --watch",
|
|
66
|
+
"dev": "tsdown --watch",
|
|
66
67
|
"dev:examples": "turbo run dev --filter=./examples/*",
|
|
68
|
+
"build": "tsdown",
|
|
67
69
|
"build:examples": "turbo run build --filter=./examples/*",
|
|
68
|
-
"
|
|
70
|
+
"test": "vitest",
|
|
71
|
+
"test:ui": "vitest --ui --watch",
|
|
72
|
+
"type-check": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p scripts/tsconfig.json && turbo run type-check --filter=./examples/*",
|
|
73
|
+
"sync-types": "node scripts/sync-types.ts",
|
|
74
|
+
"lint": "eslint . --cache",
|
|
75
|
+
"lint:fix": "eslint . --fix --cache"
|
|
69
76
|
}
|
|
70
77
|
}
|