vite-plugin-lib 3.0.0 → 3.0.1
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 +2 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -24,6 +24,7 @@ This highly opinionated all-in one Vite plugin enables automatic alias configura
|
|
|
24
24
|
|
|
25
25
|
```ts
|
|
26
26
|
import { defineConfig } from 'vite'
|
|
27
|
+
|
|
27
28
|
import { tsconfigPaths } from 'vite-plugin-lib'
|
|
28
29
|
|
|
29
30
|
export default defineConfig({
|
|
@@ -37,6 +38,7 @@ The `library` plugin includes the `alias` plugin, configures build settings, and
|
|
|
37
38
|
|
|
38
39
|
```ts
|
|
39
40
|
import { defineConfig } from 'vite'
|
|
41
|
+
|
|
40
42
|
import { library } from 'vite-plugin-lib'
|
|
41
43
|
|
|
42
44
|
export default defineConfig({
|
package/dist/index.d.mts
CHANGED
|
@@ -51,4 +51,5 @@ declare function library(options?: Partial<LibraryOptions>): Plugin[];
|
|
|
51
51
|
*/
|
|
52
52
|
declare function cleanup(options?: Partial<CommonOptions>): Plugin;
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { cleanup, coverage, library, tsconfigPaths };
|
|
55
|
+
export type { BundleOptions, CommonOptions, LibraryOptions, TSConfigPathsOptions };
|
package/dist/index.d.ts
CHANGED
|
@@ -51,4 +51,5 @@ declare function library(options?: Partial<LibraryOptions>): Plugin[];
|
|
|
51
51
|
*/
|
|
52
52
|
declare function cleanup(options?: Partial<CommonOptions>): Plugin;
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { cleanup, coverage, library, tsconfigPaths };
|
|
55
|
+
export type { BundleOptions, CommonOptions, LibraryOptions, TSConfigPathsOptions };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plugin-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.1",
|
|
5
5
|
"description": "Vite plugin for build configuration, automatic aliases, and type declarations.",
|
|
6
6
|
"author": "Jan Müller <janmueller3698@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
],
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"typescript": "*",
|
|
39
|
-
"vite": "
|
|
39
|
+
"vite": "2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"picocolors": "1.1.1",
|
|
43
|
-
"vite-plugin-dts": "4.5.
|
|
43
|
+
"vite-plugin-dts": "4.5.4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@types/node": "22.
|
|
46
|
+
"@types/node": "22.15.29",
|
|
47
47
|
"typescript": "5.8.3",
|
|
48
48
|
"unbuild": "3.5.0",
|
|
49
|
-
"vite": "6.3.
|
|
50
|
-
"@yeger/tsconfig": "2.1.
|
|
49
|
+
"vite": "6.3.5",
|
|
50
|
+
"@yeger/tsconfig": "2.1.1"
|
|
51
51
|
},
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|