unplugin-isolated-decl 0.15.6 → 0.15.7
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/core/options.d.mts +1 -1
- package/dist/esbuild.mjs +1 -2
- package/dist/farm.mjs +1 -2
- package/dist/index.mjs +1 -2
- package/dist/rolldown.mjs +1 -2
- package/dist/rollup.mjs +1 -2
- package/dist/{src-CxymJW35.mjs → src-BYD-yWlY.mjs} +8 -3
- package/dist/vite.mjs +1 -2
- package/package.json +45 -44
package/dist/core/options.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IsolatedDeclarationsOptions } from "oxc-transform";
|
|
2
2
|
import type { TranspileOptions } from "typescript";
|
|
3
|
-
import type { FilterPattern } from "unplugin
|
|
3
|
+
import type { FilterPattern } from "unplugin";
|
|
4
4
|
/**
|
|
5
5
|
* Represents the options for the plugin.
|
|
6
6
|
*/
|
package/dist/esbuild.mjs
CHANGED
package/dist/farm.mjs
CHANGED
package/dist/index.mjs
CHANGED
package/dist/rolldown.mjs
CHANGED
package/dist/rollup.mjs
CHANGED
|
@@ -136,9 +136,14 @@ const IsolatedDecl = createUnplugin((rawOptions = {}) => {
|
|
|
136
136
|
farmPluginContext = this;
|
|
137
137
|
outputFiles = Object.create(null);
|
|
138
138
|
},
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
139
|
+
transform: {
|
|
140
|
+
filter: { id: {
|
|
141
|
+
include: options.include,
|
|
142
|
+
exclude: options.exclude
|
|
143
|
+
} },
|
|
144
|
+
handler(code, id) {
|
|
145
|
+
return transform(this, code, id);
|
|
146
|
+
}
|
|
142
147
|
},
|
|
143
148
|
esbuild: { setup: esbuildSetup },
|
|
144
149
|
rollup,
|
package/dist/vite.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,32 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unplugin-isolated-decl",
|
|
3
|
-
"version": "0.15.6",
|
|
4
|
-
"description": "A blazing-fast tool for generating isolated declarations.",
|
|
5
3
|
"type": "module",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"vite",
|
|
10
|
-
"esbuild",
|
|
11
|
-
"webpack"
|
|
12
|
-
],
|
|
4
|
+
"version": "0.15.7",
|
|
5
|
+
"description": "A blazing-fast tool for generating isolated declarations.",
|
|
6
|
+
"author": "Kevin Deng <sxzz@sxzz.moe>",
|
|
13
7
|
"license": "MIT",
|
|
8
|
+
"funding": "https://github.com/sponsors/sxzz",
|
|
14
9
|
"homepage": "https://github.com/unplugin/unplugin-isolated-decl#readme",
|
|
15
|
-
"bugs": {
|
|
16
|
-
"url": "https://github.com/unplugin/unplugin-isolated-decl/issues"
|
|
17
|
-
},
|
|
18
10
|
"repository": {
|
|
19
11
|
"type": "git",
|
|
20
12
|
"url": "git+https://github.com/unplugin/unplugin-isolated-decl.git"
|
|
21
13
|
},
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/unplugin/unplugin-isolated-decl/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"unplugin",
|
|
19
|
+
"rollup",
|
|
20
|
+
"vite",
|
|
21
|
+
"esbuild",
|
|
22
|
+
"webpack"
|
|
26
23
|
],
|
|
27
|
-
"main": "./dist/index.mjs",
|
|
28
|
-
"module": "./dist/index.mjs",
|
|
29
|
-
"types": "./dist/index.d.mts",
|
|
30
24
|
"exports": {
|
|
31
25
|
".": "./dist/index.mjs",
|
|
32
26
|
"./api": "./dist/api.mjs",
|
|
@@ -37,6 +31,9 @@
|
|
|
37
31
|
"./vite": "./dist/vite.mjs",
|
|
38
32
|
"./package.json": "./package.json"
|
|
39
33
|
},
|
|
34
|
+
"main": "./dist/index.mjs",
|
|
35
|
+
"module": "./dist/index.mjs",
|
|
36
|
+
"types": "./dist/index.d.mts",
|
|
40
37
|
"typesVersions": {
|
|
41
38
|
"*": {
|
|
42
39
|
"*": [
|
|
@@ -45,9 +42,15 @@
|
|
|
45
42
|
]
|
|
46
43
|
}
|
|
47
44
|
},
|
|
45
|
+
"files": [
|
|
46
|
+
"dist"
|
|
47
|
+
],
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
+
"engines": {
|
|
52
|
+
"node": ">=20.19.0"
|
|
53
|
+
},
|
|
51
54
|
"peerDependencies": {
|
|
52
55
|
"@swc/core": "^1.6.6",
|
|
53
56
|
"typescript": "^5.5.2"
|
|
@@ -62,38 +65,36 @@
|
|
|
62
65
|
},
|
|
63
66
|
"dependencies": {
|
|
64
67
|
"magic-string": "^0.30.21",
|
|
65
|
-
"obug": "^2.
|
|
66
|
-
"oxc-parser": ">=0.
|
|
67
|
-
"oxc-transform": ">=0.
|
|
68
|
-
"unplugin": "^2.3.
|
|
68
|
+
"obug": "^2.1.1",
|
|
69
|
+
"oxc-parser": ">=0.103.0",
|
|
70
|
+
"oxc-transform": ">=0.103.0",
|
|
71
|
+
"unplugin": "^2.3.11",
|
|
69
72
|
"unplugin-utils": "^0.3.1"
|
|
70
73
|
},
|
|
71
74
|
"devDependencies": {
|
|
72
75
|
"@farmfe/core": "^1.7.11",
|
|
73
|
-
"@oxc-project/types": "^0.
|
|
76
|
+
"@oxc-project/types": "^0.103.0",
|
|
74
77
|
"@rollup/plugin-alias": "^6.0.0",
|
|
75
|
-
"@swc/core": "^1.15.
|
|
76
|
-
"@sxzz/eslint-config": "^7.
|
|
77
|
-
"@sxzz/prettier-config": "^2.2.
|
|
78
|
-
"@sxzz/test-utils": "^0.5.
|
|
79
|
-
"@types/node": "^
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
78
|
+
"@swc/core": "^1.15.5",
|
|
79
|
+
"@sxzz/eslint-config": "^7.4.3",
|
|
80
|
+
"@sxzz/prettier-config": "^2.2.6",
|
|
81
|
+
"@sxzz/test-utils": "^0.5.14",
|
|
82
|
+
"@types/node": "^25.0.2",
|
|
83
|
+
"@typescript/native-preview": "7.0.0-dev.20251215.1",
|
|
84
|
+
"bumpp": "^10.3.2",
|
|
85
|
+
"esbuild": "^0.27.1",
|
|
86
|
+
"eslint": "^9.39.2",
|
|
83
87
|
"fast-glob": "^3.3.3",
|
|
84
|
-
"prettier": "^3.
|
|
85
|
-
"publint": "^0.3.
|
|
86
|
-
"rolldown": "^1.0.0-beta.
|
|
87
|
-
"rollup": "^4.53.
|
|
88
|
+
"prettier": "^3.7.4",
|
|
89
|
+
"publint": "^0.3.16",
|
|
90
|
+
"rolldown": "^1.0.0-beta.54",
|
|
91
|
+
"rollup": "^4.53.4",
|
|
88
92
|
"tinyglobby": "^0.2.15",
|
|
89
|
-
"tsdown": "^0.
|
|
93
|
+
"tsdown": "^0.18.0",
|
|
90
94
|
"typescript": "^5.9.3",
|
|
91
|
-
"unplugin-oxc": "^0.5.
|
|
92
|
-
"vite": "^7.
|
|
93
|
-
"vitest": "^4.0.
|
|
94
|
-
},
|
|
95
|
-
"engines": {
|
|
96
|
-
"node": ">=20.18.0"
|
|
95
|
+
"unplugin-oxc": "^0.5.6",
|
|
96
|
+
"vite": "^7.3.0",
|
|
97
|
+
"vitest": "^4.0.15"
|
|
97
98
|
},
|
|
98
99
|
"resolutions": {
|
|
99
100
|
"@changesets/cli": "-",
|
|
@@ -106,7 +107,7 @@
|
|
|
106
107
|
"build": "tsdown",
|
|
107
108
|
"dev": "tsdown --watch",
|
|
108
109
|
"test": "vitest",
|
|
109
|
-
"typecheck": "
|
|
110
|
+
"typecheck": "tsgo --noEmit",
|
|
110
111
|
"release": "bumpp"
|
|
111
112
|
}
|
|
112
113
|
}
|