From e9df56d2719d417e26ab47141638a5a71c419a71 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 f5ffb34..8dbe120 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 2efc619..c5bfdf7 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 b94288f..95cc485 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 e0026fa..988577e 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 52eac78..07dd926 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 5bbfa99..2e5a503 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 07c87e8..3d9a370 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 efb8560..3940cc3 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": {