@mcpc-tech/unplugin-dev-inspector-mcp 0.1.3 → 0.1.5

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.
@@ -86553,7 +86553,8 @@ function isEnvTruthy(value) {
86553
86553
  return normalized === "1" || normalized === "true" || normalized === "yes" || normalized === "on";
86554
86554
  }
86555
86555
  function isChromeDisabled(disableOption) {
86556
- return Boolean(disableOption) || isEnvTruthy(process.env.DEV_INSPECTOR_DISABLE_CHROME);
86556
+ if (isEnvTruthy(process.env.DEV_INSPECTOR_DISABLE_CHROME)) return true;
86557
+ return disableOption ?? true;
86557
86558
  }
86558
86559
  function getPublicBaseUrl(options) {
86559
86560
  const fromEnv = process.env.DEV_INSPECTOR_PUBLIC_BASE_URL;
@@ -86588,7 +86588,8 @@ function isEnvTruthy(value) {
86588
86588
  return normalized === "1" || normalized === "true" || normalized === "yes" || normalized === "on";
86589
86589
  }
86590
86590
  function isChromeDisabled(disableOption) {
86591
- return Boolean(disableOption) || isEnvTruthy(process.env.DEV_INSPECTOR_DISABLE_CHROME);
86591
+ if (isEnvTruthy(process.env.DEV_INSPECTOR_DISABLE_CHROME)) return true;
86592
+ return disableOption ?? true;
86592
86593
  }
86593
86594
  function getPublicBaseUrl(options) {
86594
86595
  const fromEnv = process.env.DEV_INSPECTOR_PUBLIC_BASE_URL;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import * as unplugin0 from "unplugin";
1
+ import * as unplugin1 from "unplugin";
2
2
 
3
3
  //#region src/utils/config-updater.d.ts
4
4
  type EditorId = "cursor" | "vscode" | "windsurf" | "claude-code" | "antigravity";
@@ -183,10 +183,10 @@ interface DevInspectorOptions extends McpConfigOptions, AcpOptions {
183
183
  }
184
184
  //#endregion
185
185
  //#region src/core.d.ts
186
- declare const unplugin: unplugin0.UnpluginInstance<DevInspectorOptions | undefined, boolean>;
186
+ declare const unplugin: unplugin1.UnpluginInstance<DevInspectorOptions | undefined, boolean>;
187
187
  //#endregion
188
188
  //#region src/core-external.d.ts
189
- declare const unpluginExternal: unplugin0.UnpluginInstance<DevInspectorOptions | undefined, boolean>;
189
+ declare const unpluginExternal: unplugin1.UnpluginInstance<DevInspectorOptions | undefined, boolean>;
190
190
  //#endregion
191
191
  //#region src/turbopack.d.ts
192
192
  interface TurbopackDevInspectorOptions extends DevInspectorOptions {
@@ -211,7 +211,7 @@ interface TurbopackDevInspectorOptions extends DevInspectorOptions {
211
211
  declare function turbopackDevInspector(options?: TurbopackDevInspectorOptions): any;
212
212
  //#endregion
213
213
  //#region src/index.d.ts
214
- declare const external: unplugin0.UnpluginInstance<DevInspectorOptions | undefined, boolean>;
214
+ declare const external: unplugin1.UnpluginInstance<DevInspectorOptions | undefined, boolean>;
215
215
  declare module "virtual:dev-inspector-mcp" {}
216
216
  //#endregion
217
217
  export { type CustomEditorConfig, type DevInspectorOptions, type EditorId, type McpConfigOptions, type TurbopackDevInspectorOptions, unplugin as default, unplugin, external, turbopackDevInspector, unpluginExternal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcpc-tech/unplugin-dev-inspector-mcp",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Universal dev inspector plugin for React/Vue - inspect component sources and API calls in any bundler",
5
5
  "type": "module",
6
6
  "license": "MIT",