vite-plugin-lib 1.2.2 → 1.2.3
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/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +9 -8
package/dist/index.cjs
CHANGED
|
@@ -174,8 +174,8 @@ function library(options) {
|
|
|
174
174
|
dts__default({
|
|
175
175
|
cleanVueFileName: true,
|
|
176
176
|
copyDtsFiles: true,
|
|
177
|
-
include: `${path__default.resolve(options.entry, "..")}
|
|
178
|
-
|
|
177
|
+
include: `${path__default.resolve(options.entry, "..")}/**`,
|
|
178
|
+
outDir: "dist/types",
|
|
179
179
|
staticImport: true
|
|
180
180
|
})
|
|
181
181
|
];
|
package/dist/index.mjs
CHANGED
|
@@ -154,8 +154,8 @@ function library(options) {
|
|
|
154
154
|
dts__default({
|
|
155
155
|
cleanVueFileName: true,
|
|
156
156
|
copyDtsFiles: true,
|
|
157
|
-
include: `${path.resolve(options.entry, "..")}
|
|
158
|
-
|
|
157
|
+
include: `${path.resolve(options.entry, "..")}/**`,
|
|
158
|
+
outDir: "dist/types",
|
|
159
159
|
staticImport: true
|
|
160
160
|
})
|
|
161
161
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plugin-lib",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Vite plugin for build configuration, automatic aliases, and type declarations.",
|
|
5
5
|
"author": "Jan Müller <janmueller3698@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"picocolors": "1.0.0",
|
|
39
|
-
"vite-plugin-dts": "
|
|
39
|
+
"vite-plugin-dts": "3.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@types/node": "18.
|
|
43
|
-
"typescript": "5.
|
|
44
|
-
"unbuild": "1.2.
|
|
45
|
-
"vite": "4.
|
|
42
|
+
"@types/node": "18.16.18",
|
|
43
|
+
"typescript": "5.1.3",
|
|
44
|
+
"unbuild": "1.2.1",
|
|
45
|
+
"vite": "4.3.9",
|
|
46
46
|
"@yeger/tsconfig": "1.1.2"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
@@ -50,7 +50,8 @@
|
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "unbuild",
|
|
53
|
-
"
|
|
54
|
-
"check:tsc": "tsc --noEmit"
|
|
53
|
+
"check:publish": "publint run --strict",
|
|
54
|
+
"check:tsc": "tsc --noEmit",
|
|
55
|
+
"lint": "yeger-lint"
|
|
55
56
|
}
|
|
56
57
|
}
|