@logicflow/core 2.2.0-alpha.0 → 2.2.0-alpha.1

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,10 +1,65 @@
1
1
 
2
- > @logicflow/core@2.1.4 build:dev /Users/didi/Desktop/github/LogicFlow/packages/core
2
+ > @logicflow/core@2.2.0-alpha.0 build:dev /Users/didi/Desktop/github/LogicFlow/packages/core
3
3
  > rss
4
4
 
5
5
  > [build:dev] pnpm run --if-present build:less && run-p -s build:cjs build:esm
6
6
 
7
- > @logicflow/core@2.1.4 build:less /Users/didi/Desktop/github/LogicFlow/packages/core
7
+ > @logicflow/core@2.2.0-alpha.0 build:less /Users/didi/Desktop/github/LogicFlow/packages/core
8
8
  > rss
9
9
 
10
10
  > [build:less] ./scripts/build-less
11
+ lessc: failed to create file /Users/didi/Desktop/github/LogicFlow/packages/core/dist/index.css
12
+ Error: EINVAL EINVAL: invalid argument, open '/Users/didi/Desktop/github/LogicFlow/packages/core/dist/index.css'
13
+ node:child_process:921
14
+ throw err;
15
+ ^
16
+
17
+ Error: Command failed: ../../node_modules/.bin/lessc /Users/didi/Desktop/github/LogicFlow/packages/core/src/index.less /Users/didi/Desktop/github/LogicFlow/packages/core/dist/index.css
18
+ lessc: failed to create file /Users/didi/Desktop/github/LogicFlow/packages/core/dist/index.css
19
+ Error: EINVAL EINVAL: invalid argument, open '/Users/didi/Desktop/github/LogicFlow/packages/core/dist/index.css'
20
+
21
+ at genericNodeError (node:internal/errors:983:15)
22
+ at wrappedFn (node:internal/errors:537:14)
23
+ at checkExecSyncError (node:child_process:882:11)
24
+ at Object.execFileSync (node:child_process:918:15)
25
+ at compile (/Users/didi/Desktop/github/LogicFlow/scripts/build-less:22:6)
26
+ at Object.<anonymous> (/Users/didi/Desktop/github/LogicFlow/scripts/build-less:89:3)
27
+ at Module._compile (node:internal/modules/cjs/loader:1734:14)
28
+ at Object..js (node:internal/modules/cjs/loader:1899:10)
29
+ at Module.load (node:internal/modules/cjs/loader:1469:32)
30
+ at Function._load (node:internal/modules/cjs/loader:1286:12) {
31
+ status: 1,
32
+ signal: null,
33
+ output: [
34
+ null,
35
+ Buffer(0) [Uint8Array] [],
36
+ Buffer(208) [Uint8Array] [
37
+ 108, 101, 115, 115, 99, 58, 32, 102, 97, 105, 108, 101,
38
+ 100, 32, 116, 111, 32, 99, 114, 101, 97, 116, 101, 32,
39
+ 102, 105, 108, 101, 32, 47, 85, 115, 101, 114, 115, 47,
40
+ 100, 105, 100, 105, 47, 68, 101, 115, 107, 116, 111, 112,
41
+ 47, 103, 105, 116, 104, 117, 98, 47, 76, 111, 103, 105,
42
+ 99, 70, 108, 111, 119, 47, 112, 97, 99, 107, 97, 103,
43
+ 101, 115, 47, 99, 111, 114, 101, 47, 100, 105, 115, 116,
44
+ 47, 105, 110, 100, 101, 120, 46, 99, 115, 115, 10, 69,
45
+ 114, 114, 111, 114,
46
+ ... 108 more items
47
+ ]
48
+ ],
49
+ pid: 28390,
50
+ stdout: Buffer(0) [Uint8Array] [],
51
+ stderr: Buffer(208) [Uint8Array] [
52
+ 108, 101, 115, 115, 99, 58, 32, 102, 97, 105, 108, 101,
53
+ 100, 32, 116, 111, 32, 99, 114, 101, 97, 116, 101, 32,
54
+ 102, 105, 108, 101, 32, 47, 85, 115, 101, 114, 115, 47,
55
+ 100, 105, 100, 105, 47, 68, 101, 115, 107, 116, 111, 112,
56
+ 47, 103, 105, 116, 104, 117, 98, 47, 76, 111, 103, 105,
57
+ 99, 70, 108, 111, 119, 47, 112, 97, 99, 107, 97, 103,
58
+ 101, 115, 47, 99, 111, 114, 101, 47, 100, 105, 115, 116,
59
+ 47, 105, 110, 100, 101, 120, 46, 99, 115, 115, 10, 69,
60
+ 114, 114, 111, 114,
61
+ ... 108 more items
62
+ ]
63
+ }
64
+
65
+ Node.js v23.11.1
@@ -1,16 +1,16 @@
1
1
 
2
- > @logicflow/core@2.1.4 prebuild /Users/didi/Desktop/github/LogicFlow/packages/core
2
+ > @logicflow/core@2.2.0-alpha.0 prebuild /Users/didi/Desktop/github/LogicFlow/packages/core
3
3
  > rss
4
4
 
5
5
  > [prebuild] run-s -s clean:build
6
6
  > [clean:build] rimraf dist es lib
7
7
 
8
- > @logicflow/core@2.1.4 build /Users/didi/Desktop/github/LogicFlow/packages/core
8
+ > @logicflow/core@2.2.0-alpha.0 build /Users/didi/Desktop/github/LogicFlow/packages/core
9
9
  > rss
10
10
 
11
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
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
14
  > [build:less] ./scripts/build-less
15
15
  > [build:less] ./scripts/build-less
16
16
  
@@ -20,9 +20,9 @@
20
20
  | Bundle Format: umd |
21
21
  | Bundle Name: Core |
22
22
  | Destination: dist/index.min.js |
23
- | Bundle Size: 396.66 KB |
24
- | Minified Size: 395.43 KB |
25
- | GZipped Size: 114.28 KB |
23
+ | Bundle Size: 397.06 KB |
24
+ | Minified Size: 395.83 KB |
25
+ | GZipped Size: 114.41 KB |
26
26
  | |
27
27
  +------------------------------------+
28
28
  (!) Circular dependencies
@@ -30,4 +30,4 @@ src/index.ts -> src/LogicFlow.tsx -> src/index.ts
30
30
  src/util/index.ts -> src/util/edge.ts -> src/util/index.ts
31
31
  src/util/index.ts -> src/util/edge.ts -> src/algorithm/index.ts -> src/algorithm/outline.ts -> src/util/index.ts
32
32
  ...and 19 more
33
- created dist/index.min.js in 21s
33
+ created dist/index.min.js in 28.9s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.2.0-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - feat: 锚点功能优化
8
+ - 支持用户指定连接锚点
9
+ - 支持配置是否必须连到锚点上才能触发连线
10
+ - fix:修复快捷键需要点右键后才能正常触发快捷键问题
11
+
3
12
  ## 2.2.0-alpha.0
4
13
 
5
14
  ### Minor Changes