From d1e3d5aa3586677d170fbb843090140f2c72f89a Mon Sep 17 00:00:00 2001 From: zthxxx Date: Sun, 21 Apr 2024 08:32:00 +0800 Subject: [PATCH] release: update version to 2.1.0-beta.7 --- docs/CHANGELOG.v2.md | 16 +++++++++++----- packages/babel-plugin/package.json | 2 +- packages/inspector/package.json | 2 +- packages/launch-editor-endpoint/package.json | 2 +- packages/middleware/package.json | 2 +- packages/umi3-plugin/package.json | 2 +- packages/umi4-plugin/package.json | 2 +- packages/vite-plugin/package.json | 2 +- packages/web-components/package.json | 2 +- 9 files changed, 19 insertions(+), 13 deletions(-) diff --git a/docs/CHANGELOG.v2.md b/docs/CHANGELOG.v2.md index 1cc8c2d..a4e03f4 100644 --- a/docs/CHANGELOG.v2.md +++ b/docs/CHANGELOG.v2.md @@ -1,18 +1,24 @@ # Changelog -## [2.1.0-beta.6](https://github.com/zthxxx/react-dev-inspector/compare/v2.0.1...v2.1.0-beta.6) +## [2.1.0-beta.7](https://github.com/zthxxx/react-dev-inspector/compare/v2.0.1...v2.1.0-beta.7) ### Features -- add export `Overlay` (inspector indicating UI), support custom to get boxSizing and bounding -- add export fiber access utils +- integrate an `InspectContextPanel` trigger by right-click inspect +- add `@react-dev-inspector/components` package + - export the `Overlay` (inspector indicating UI), support custom to get boxSizing and bounding + - export the `InspectContextPanel` component, which is a context-menu as a draggable and resizable floating panel +- add export of some utils for access react fiber ### Refactor -- refactor Inspector implementation to `DOMInspectAgent`, support setting custom `InspectAgent` -- rewrite Overlay to WebComponent with [LitElement](https://lit.dev) +- refactor `Inspector` implementation to `DOMInspectAgent`, support setting custom `InspectAgent` +- rewrite `Overlay` to WebComponents via [solidjs](https://www.solidjs.com) - using `@floating-ui/core` for OverlayTip +- add `@react-dev-inspector/launch-editor-endpoint`, split endpoint and types from middleware + - replace `react-dev-utils` with `launch-editor` for middleware + - replace middleware endpoint from `/__open-stack-frame-in-editor` to `/__inspect-open-in-editor` - move `package.json` v1 compatible plugins from `dependencies` to `peerDependencies` with mark as optional - add `exports` field into `package.json` diff --git a/packages/babel-plugin/package.json b/packages/babel-plugin/package.json index e7b33b4..7d2d3ec 100644 --- a/packages/babel-plugin/package.json +++ b/packages/babel-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@react-dev-inspector/babel-plugin", - "version": "2.1.0-beta.6", + "version": "2.1.0-beta.7", "sideEffects": false, "description": "babel plugin for react-dev-inspector to generate source code position info into jsx properties", "main": "dist/cjs", diff --git a/packages/inspector/package.json b/packages/inspector/package.json index 9243a68..cf3528b 100644 --- a/packages/inspector/package.json +++ b/packages/inspector/package.json @@ -1,6 +1,6 @@ { "name": "react-dev-inspector", - "version": "2.1.0-beta.6", + "version": "2.1.0-beta.7", "sideEffects": false, "description": "dev-tool for inspect react components and jump to local IDE for component code.", "main": "dist/cjs", diff --git a/packages/launch-editor-endpoint/package.json b/packages/launch-editor-endpoint/package.json index 10ca818..5a3cfba 100644 --- a/packages/launch-editor-endpoint/package.json +++ b/packages/launch-editor-endpoint/package.json @@ -1,6 +1,6 @@ { "name": "@react-dev-inspector/launch-editor-endpoint", - "version": "2.1.0-beta.6", + "version": "2.1.0-beta.7", "sideEffects": false, "description": "middleware's endpoint and types for react-dev-inspector", "main": "dist/cjs", diff --git a/packages/middleware/package.json b/packages/middleware/package.json index 4348c1f..6cd713e 100644 --- a/packages/middleware/package.json +++ b/packages/middleware/package.json @@ -1,6 +1,6 @@ { "name": "@react-dev-inspector/middleware", - "version": "2.1.0-beta.6", + "version": "2.1.0-beta.7", "sideEffects": false, "description": "express middleware for react-dev-inspector to launch local IDE", "main": "dist/cjs", diff --git a/packages/umi3-plugin/package.json b/packages/umi3-plugin/package.json index 89b6471..8fb0966 100644 --- a/packages/umi3-plugin/package.json +++ b/packages/umi3-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@react-dev-inspector/umi3-plugin", - "version": "2.1.0-beta.6", + "version": "2.1.0-beta.7", "sideEffects": false, "description": "umi3 plugin for react-dev-inspector to add babel plugin and server middleware", "main": "dist/cjs", diff --git a/packages/umi4-plugin/package.json b/packages/umi4-plugin/package.json index da7f63b..842b4ba 100644 --- a/packages/umi4-plugin/package.json +++ b/packages/umi4-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@react-dev-inspector/umi4-plugin", - "version": "2.1.0-beta.6", + "version": "2.1.0-beta.7", "sideEffects": false, "description": "umi4 plugin for react-dev-inspector to add babel plugin and server middleware", "main": "dist/cjs", diff --git a/packages/vite-plugin/package.json b/packages/vite-plugin/package.json index 683d208..cbde8eb 100644 --- a/packages/vite-plugin/package.json +++ b/packages/vite-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@react-dev-inspector/vite-plugin", - "version": "2.1.0-beta.6", + "version": "2.1.0-beta.7", "sideEffects": false, "description": "vite plugin for react-dev-inspector to add server middleware. support vite2/vite3/vite4", "main": "dist/cjs", diff --git a/packages/web-components/package.json b/packages/web-components/package.json index b6b1014..4c9045e 100644 --- a/packages/web-components/package.json +++ b/packages/web-components/package.json @@ -1,6 +1,6 @@ { "name": "@react-dev-inspector/web-components", - "version": "2.1.0-beta.6", + "version": "2.1.0-beta.7", "sideEffects": false, "description": "Web UI components for react-dev-inspector, build as Web Components via solid-js.", "repository": {