@logicflow/react-node-registry 0.0.1-beta.3 → 1.0.0

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.
@@ -1,37 +1,37 @@
1
-
2
- > @logicflow/react-node-registry@0.0.1-beta.3 prebuild /Users/r0ger1tlearn/WorkSpace/Github/DiDi/logicflow/packages/react-node-registry
3
- > rss
4
-
5
- > [prebuild] run-s -s clean:build
6
- > [clean:build] rimraf dist es lib
7
-
8
- > @logicflow/react-node-registry@0.0.1-beta.3 build /Users/r0ger1tlearn/WorkSpace/Github/DiDi/logicflow/packages/react-node-registry
9
- > rss
10
-
11
- > [build] run-p -s build:dev build:umd
12
- > [build:umd] pnpm run --if-present build:less && rollup -c ../../rollup.config.js --bundleConfigAsCjs
13
- > [build:dev] pnpm run --if-present build:less && run-p -s build:cjs build:esm
14
- > [build:less] ./scripts/build-less
15
- > [build:less] ./scripts/build-less
16
- 
17
- ./src/index.ts → dist/index.min.js...
18
- +------------------------------------+
19
- | |
20
- | Bundle Format: umd |
21
- | Bundle Name: ReactNodeRegistry |
22
- | External Globals: |
23
- |  @logicflow/core: Core |
24
- |  react: React |
25
- |  react-dom: ReactDom |
26
- | |
27
- | Destination: dist/index.min.js |
28
- | Bundle Size: 433 B |
29
- | Minified Size: 394 B |
30
- | GZipped Size: 208 B |
31
- | |
32
- +------------------------------------+
33
- (!) Plugin typescript: @rollup/plugin-typescript: Rollup requires that TypeScript produces ES Modules. Unfortunately your configuration specifies a "module" other than "esnext". Unless you know what you're doing, please change "module" to "esnext" in the target tsconfig.json file or plugin options.
34
- (!) Broken sourcemap
35
- https://rollupjs.org/troubleshooting/#warning-sourcemap-is-likely-to-be-incorrect
36
- Plugins that transform code (such as "terser") should generate accompanying sourcemaps.
37
- created dist/index.min.js in 6.1s
1
+
2
+ > @logicflow/react-node-registry@1.0.0 prebuild /Users/r0ger1tlearn/WorkSpace/Github/DiDi/logicflow/packages/react-node-registry
3
+ > rss
4
+
5
+ > [prebuild] run-s -s clean:build
6
+ > [clean:build] rimraf dist es lib
7
+
8
+ > @logicflow/react-node-registry@1.0.0 build /Users/r0ger1tlearn/WorkSpace/Github/DiDi/logicflow/packages/react-node-registry
9
+ > rss
10
+
11
+ > [build] run-p -s build:dev build:umd
12
+ > [build:dev] pnpm run --if-present build:less && run-p -s build:cjs build:esm
13
+ > [build:umd] pnpm run --if-present build:less && rollup -c ../../rollup.config.js --bundleConfigAsCjs
14
+ > [build:less] ./scripts/build-less
15
+ > [build:less] ./scripts/build-less
16
+ 
17
+ ./src/index.ts → dist/index.min.js...
18
+ +------------------------------------+
19
+ | |
20
+ | Bundle Format: umd |
21
+ | Bundle Name: ReactNodeRegistry |
22
+ | External Globals: |
23
+ |  @logicflow/core: Core |
24
+ |  react: React |
25
+ |  react-dom: ReactDom |
26
+ | |
27
+ | Destination: dist/index.min.js |
28
+ | Bundle Size: 433 B |
29
+ | Minified Size: 394 B |
30
+ | GZipped Size: 208 B |
31
+ | |
32
+ +------------------------------------+
33
+ (!) Plugin typescript: @rollup/plugin-typescript: Rollup requires that TypeScript produces ES Modules. Unfortunately your configuration specifies a "module" other than "esnext". Unless you know what you're doing, please change "module" to "esnext" in the target tsconfig.json file or plugin options.
34
+ (!) Broken sourcemap
35
+ https://rollupjs.org/troubleshooting/#warning-sourcemap-is-likely-to-be-incorrect
36
+ Plugins that transform code (such as "terser") should generate accompanying sourcemaps.
37
+ created dist/index.min.js in 4.1s
package/CHANGELOG.md ADDED
@@ -0,0 +1,14 @@
1
+ # @logicflow/react-node-registry
2
+
3
+ ## 1.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Release 2.0 New Version 🎉🎉🎉🎉
8
+ - Updated dependencies
9
+ - @logicflow/core@2.0.0
10
+
11
+ - feat: 开发 react-node-registry 包用于用户自定义 react 节点
12
+ - 通过监听 properties 变化的事件,触发节点的更新
13
+ - 通过 Portal 的方式,可以获取到宿主系统的数据(比如状态),保持组件渲染和系统同步
14
+ - react-node-registry 包增加 LICENSE 文件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logicflow/react-node-registry",
3
- "version": "0.0.1-beta.3",
3
+ "version": "1.0.0",
4
4
  "description": "LogicFlow React Shape",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -18,7 +18,7 @@
18
18
  "peerDependencies": {
19
19
  "react": ">= 18.0.0",
20
20
  "react-dom": ">= 18.0.0",
21
- "@logicflow/core": "2.0.0-beta.6"
21
+ "@logicflow/core": "2.0.0"
22
22
  },
23
23
  "dependencies": {
24
24
  "@types/react": "^18.0.25",
@@ -26,7 +26,7 @@
26
26
  "react": "^18.0.0",
27
27
  "react-dom": "^18.0.0",
28
28
  "lodash-es": "^4.17.21",
29
- "@logicflow/core": "2.0.0-beta.6"
29
+ "@logicflow/core": "2.0.0"
30
30
  },
31
31
  "scripts": {
32
32
  "clean:turbo": "rss",