vite-plugin-lib 2.0.1 → 2.0.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.mjs +2 -2
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -176,8 +176,8 @@ function buildConfig({
|
|
|
176
176
|
function getDependencies(manifest) {
|
|
177
177
|
try {
|
|
178
178
|
const content = readFileSync(manifest, { encoding: "utf-8" });
|
|
179
|
-
const { dependencies = {} } = JSON.parse(content);
|
|
180
|
-
return Object.keys(dependencies);
|
|
179
|
+
const { dependencies = {}, peerDependencies = {} } = JSON.parse(content);
|
|
180
|
+
return Object.keys({ ...dependencies, ...peerDependencies });
|
|
181
181
|
} catch (error) {
|
|
182
182
|
const message = getErrorMessage(error);
|
|
183
183
|
logError(`Could not read ${c.green(manifest)}: ${message}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plugin-lib",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.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",
|
|
@@ -31,18 +31,18 @@
|
|
|
31
31
|
],
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"typescript": "*",
|
|
34
|
-
"vite": "^2.0.0 || ^3.0.0 || ^4.0.0"
|
|
34
|
+
"vite": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"picocolors": "1.0.0",
|
|
38
|
-
"vite-plugin-dts": "3.
|
|
38
|
+
"vite-plugin-dts": "3.6.4"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@types/node": "
|
|
42
|
-
"typescript": "5.
|
|
41
|
+
"@types/node": "20.10.2",
|
|
42
|
+
"typescript": "5.3.2",
|
|
43
43
|
"unbuild": "2.0.0",
|
|
44
|
-
"vite": "
|
|
45
|
-
"@yeger/tsconfig": "2.0.
|
|
44
|
+
"vite": "5.0.5",
|
|
45
|
+
"@yeger/tsconfig": "2.0.1"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|