@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.
- package/README.md +20 -19
- package/client/dist/inspector.css +8 -0
- package/client/dist/inspector.js +88 -74
- package/dist/config-updater.cjs +2 -1
- package/dist/config-updater.js +2 -1
- package/dist/index.d.cts +4 -4
- package/package.json +1 -1
package/dist/config-updater.cjs
CHANGED
|
@@ -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
|
-
|
|
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;
|
package/dist/config-updater.js
CHANGED
|
@@ -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
|
-
|
|
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
|
|
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:
|
|
186
|
+
declare const unplugin: unplugin1.UnpluginInstance<DevInspectorOptions | undefined, boolean>;
|
|
187
187
|
//#endregion
|
|
188
188
|
//#region src/core-external.d.ts
|
|
189
|
-
declare const unpluginExternal:
|
|
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:
|
|
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