From b56e3637edd60928caa4b96e9ee7895214134450 Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Sat, 13 Jul 2024 10:30:08 +0800 Subject: [PATCH 1/3] feat: add Bundlephobia and pkg-size to website --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b1a84ed..7a7f53f 100644 --- a/package.json +++ b/package.json @@ -240,7 +240,9 @@ "builtin:repository", "[Npm View](https://npmview.vercel.app/${packageNameAtVersion})", "[Npm Trends](https://npmtrends.com/${packageName})", - "[Npm Graph](https://npmgraph.js.org/?q=${packageNameAtVersion})" + "[Npm Graph](https://npmgraph.js.org/?q=${packageNameAtVersion})", + "[Bundlephobia](https://bundlephobia.com/package/${packageNameAtVersion}))", + "[pkg-size](https://pkg-size.dev/${packageNameAtVersion})" ] }, "package-manager-enhancer.packageHoverTooltip.badges": { From 1d7f4b805ace52031bd9f0e0a76ca1ee33ab9abf Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Sat, 13 Jul 2024 10:34:33 +0800 Subject: [PATCH 2/3] fix: update --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7a7f53f..709f7ea 100644 --- a/package.json +++ b/package.json @@ -241,7 +241,7 @@ "[Npm View](https://npmview.vercel.app/${packageNameAtVersion})", "[Npm Trends](https://npmtrends.com/${packageName})", "[Npm Graph](https://npmgraph.js.org/?q=${packageNameAtVersion})", - "[Bundlephobia](https://bundlephobia.com/package/${packageNameAtVersion}))", + "[Bundlephobia](https://bundlephobia.com/package/${packageNameAtVersion})", "[pkg-size](https://pkg-size.dev/${packageNameAtVersion})" ] }, From a3d06bc6975bb288655d79952b59d95ab09d0753 Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Sat, 13 Jul 2024 13:33:44 +0800 Subject: [PATCH 3/3] fix: update default options --- package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 709f7ea..e27d50f 100644 --- a/package.json +++ b/package.json @@ -162,7 +162,7 @@ }, "package-manager-enhancer.enablePackageJsonDependenciesCodeLens": { "type": "boolean", - "default": true + "default": false }, "package-manager-enhancer.packageJsonDependenciesCodeLens.dependenciesNodePaths": { "markdownDescription": "display dependencies codeLens more than the default key `dependencies`, for example: `devDependencies`, `pnpm.overrides`", @@ -171,7 +171,11 @@ "type": "string" }, "default": [ - "dependencies" + "dependencies", + "peerDependencies", + "devDependencies", + "resolutions", + "pnpm.overrides" ] }, "package-manager-enhancer.packageJsonDependenciesCodeLens.searchDependenciesFileExtensions": { @@ -241,7 +245,6 @@ "[Npm View](https://npmview.vercel.app/${packageNameAtVersion})", "[Npm Trends](https://npmtrends.com/${packageName})", "[Npm Graph](https://npmgraph.js.org/?q=${packageNameAtVersion})", - "[Bundlephobia](https://bundlephobia.com/package/${packageNameAtVersion})", "[pkg-size](https://pkg-size.dev/${packageNameAtVersion})" ] },