vite-plugin-lib 3.0.2 → 3.0.4

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.d.mts CHANGED
@@ -4,8 +4,8 @@ export { vitePluginDts as dts };
4
4
 
5
5
  declare const coverage: {
6
6
  enabled: boolean;
7
- all: boolean;
8
7
  include: string[];
8
+ exclude: string[];
9
9
  provider: "v8";
10
10
  };
11
11
  interface CommonOptions {
package/dist/index.d.ts CHANGED
@@ -4,8 +4,8 @@ export { vitePluginDts as dts };
4
4
 
5
5
  declare const coverage: {
6
6
  enabled: boolean;
7
- all: boolean;
8
7
  include: string[];
8
+ exclude: string[];
9
9
  provider: "v8";
10
10
  };
11
11
  interface CommonOptions {
package/dist/index.mjs CHANGED
@@ -100,8 +100,8 @@ function transformExport(file, line, quote, verbose) {
100
100
  const typesDir = "dist/types";
101
101
  const coverage = {
102
102
  enabled: !!process.env.COVERAGE,
103
- all: true,
104
103
  include: ["src/**/*.*"],
104
+ exclude: ["*.d.ts", "*.ohm", ".gitignore"],
105
105
  provider: "v8"
106
106
  };
107
107
  const COMMON_DEFAULTS = {
@@ -186,6 +186,7 @@ function buildConfig({
186
186
  return {
187
187
  name: "vite-plugin-lib:build",
188
188
  enforce: "pre",
189
+ apply: "build",
189
190
  config: async (config) => {
190
191
  return {
191
192
  ...config,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vite-plugin-lib",
3
3
  "type": "module",
4
- "version": "3.0.2",
4
+ "version": "3.0.4",
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",
@@ -43,10 +43,10 @@
43
43
  "vite-plugin-dts": "4.5.4"
44
44
  },
45
45
  "devDependencies": {
46
- "@types/node": "24.0.6",
47
- "typescript": "5.8.3",
48
- "unbuild": "3.5.0",
49
- "vite": "7.0.0",
46
+ "@types/node": "24.9.1",
47
+ "typescript": "5.9.3",
48
+ "unbuild": "3.6.1",
49
+ "vite": "7.1.12",
50
50
  "@yeger/tsconfig": "2.1.1"
51
51
  },
52
52
  "publishConfig": {