Skip to content

Commit 2731023

Browse files
NewByVectorbubkoo
andauthored
chore: update package version (#2943)
* chore: update package version * chore: fix repository url * chore: enable publish to npm Co-authored-by: bubkoo <[email protected]>
1 parent 1dcab69 commit 2731023

File tree

21 files changed

+30
-26
lines changed

21 files changed

+30
-26
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
- name: 🚧 Install dependencies
4545
run: pnpm install --no-frozen-lockfile --ignore-scripts
4646

47-
# - name: 📦 build
48-
# run: pnpm run build
47+
- name: 📦 build
48+
run: pnpm run build
4949

5050
# - name: ✅ Test
5151
# run: pnpm run test

.releaserc

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
[
3232
"@semantic-release/npm",
3333
{
34-
"npmPublish": false
34+
"npmPublish": true
3535
}
3636
],
3737
[

packages/x6-common/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/x6-common",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Basic toolkit for X6",
55
"main": "lib/index.js",
66
"module": "es/index.js",
@@ -54,7 +54,7 @@
5454
},
5555
"repository": {
5656
"type": "git",
57-
"url": "ssh://git@github.com/antvis/x6.git",
57+
"url": "https://github.com/antvis/x6.git",
5858
"directory": "packages/x6-common"
5959
},
6060
"publishConfig": {

packages/x6-geometry/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
},
4848
"repository": {
4949
"type": "git",
50-
"url": "ssh://git@github.com/antvis/x6.git",
50+
"url": "https://github.com/antvis/x6.git",
5151
"directory": "packages/x6-geometry"
5252
},
5353
"publishConfig": {

packages/x6-plugin-clipboard/package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"name": "@antv/x6-plugin-clipboard",
3+
<<<<<<< HEAD
4+
"version": "2.1.1",
5+
=======
36
"version": "2.1.2",
7+
>>>>>>> master
48
"description": "clipboard plugin for X6",
59
"main": "lib/index.js",
610
"module": "es/index.js",
@@ -53,7 +57,7 @@
5357
},
5458
"repository": {
5559
"type": "git",
56-
"url": "ssh://git@github.com/antvis/x6.git",
60+
"url": "https://github.com/antvis/x6.git",
5761
"directory": "packages/x6-plugin-clipboard"
5862
},
5963
"publishConfig": {

packages/x6-plugin-dnd/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
},
5555
"repository": {
5656
"type": "git",
57-
"url": "ssh://git@github.com/antvis/x6.git",
57+
"url": "https://github.com/antvis/x6.git",
5858
"directory": "packages/x6-plugin-dnd"
5959
},
6060
"publishConfig": {

packages/x6-plugin-export/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
},
5353
"repository": {
5454
"type": "git",
55-
"url": "ssh://git@github.com/antvis/x6.git",
55+
"url": "https://github.com/antvis/x6.git",
5656
"directory": "packages/x6-plugin-export"
5757
},
5858
"publishConfig": {

packages/x6-plugin-history/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
},
5454
"repository": {
5555
"type": "git",
56-
"url": "ssh://git@github.com/antvis/x6.git",
56+
"url": "https://github.com/antvis/x6.git",
5757
"directory": "packages/x6-plugin-history"
5858
},
5959
"publishConfig": {

packages/x6-plugin-keyboard/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
},
5858
"repository": {
5959
"type": "git",
60-
"url": "ssh://git@github.com/antvis/x6.git",
60+
"url": "https://github.com/antvis/x6.git",
6161
"directory": "packages/x6-plugin-keyboard"
6262
},
6363
"publishConfig": {

packages/x6-plugin-minimap/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
},
5555
"repository": {
5656
"type": "git",
57-
"url": "ssh://git@github.com/antvis/x6.git",
57+
"url": "https://github.com/antvis/x6.git",
5858
"directory": "packages/x6-plugin-minimap"
5959
},
6060
"publishConfig": {

packages/x6-plugin-scroller/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
},
5555
"repository": {
5656
"type": "git",
57-
"url": "ssh://git@github.com/antvis/x6.git",
57+
"url": "https://github.com/antvis/x6.git",
5858
"directory": "packages/x6-plugin-scroller"
5959
},
6060
"publishConfig": {

packages/x6-plugin-selection/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
},
5555
"repository": {
5656
"type": "git",
57-
"url": "ssh://git@github.com/antvis/x6.git",
57+
"url": "https://github.com/antvis/x6.git",
5858
"directory": "packages/x6-plugin-selection"
5959
},
6060
"publishConfig": {

packages/x6-plugin-snapline/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
},
5555
"repository": {
5656
"type": "git",
57-
"url": "ssh://git@github.com/antvis/x6.git",
57+
"url": "https://github.com/antvis/x6.git",
5858
"directory": "packages/x6-plugin-snapline"
5959
},
6060
"publishConfig": {

packages/x6-plugin-stencil/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/x6-plugin-stencil",
3-
"version": "2.0.3",
3+
"version": "2.0.2",
44
"description": "stencil plugin for X6",
55
"main": "lib/index.js",
66
"module": "es/index.js",
@@ -56,7 +56,7 @@
5656
},
5757
"repository": {
5858
"type": "git",
59-
"url": "ssh://git@github.com/antvis/x6.git",
59+
"url": "https://github.com/antvis/x6.git",
6060
"directory": "packages/x6-plugin-stencil"
6161
},
6262
"publishConfig": {

packages/x6-plugin-transform/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/x6-plugin-transform",
3-
"version": "2.1.2",
3+
"version": "2.0.2",
44
"description": "transform plugin for X6",
55
"main": "lib/index.js",
66
"module": "es/index.js",
@@ -54,7 +54,7 @@
5454
},
5555
"repository": {
5656
"type": "git",
57-
"url": "ssh://git@github.com/antvis/x6.git",
57+
"url": "https://github.com/antvis/x6.git",
5858
"directory": "packages/x6-plugin-transform"
5959
},
6060
"publishConfig": {

packages/x6-react-components/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
},
8383
"repository": {
8484
"type": "git",
85-
"url": "ssh://git@github.com/antvis/x6.git",
85+
"url": "https://github.com/antvis/x6.git",
8686
"directory": "packages/x6-react-components"
8787
},
8888
"publishConfig": {

packages/x6-react-shape/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
},
6161
"repository": {
6262
"type": "git",
63-
"url": "ssh://git@github.com/antvis/x6.git",
63+
"url": "https://github.com/antvis/x6.git",
6464
"directory": "packages/x6-react-shape"
6565
},
6666
"publishConfig": {

packages/x6-vue-shape/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
},
6666
"repository": {
6767
"type": "git",
68-
"url": "ssh://git@github.com/antvis/x6.git",
68+
"url": "https://github.com/antvis/x6.git",
6969
"directory": "packages/x6-vue-shape"
7070
},
7171
"publishConfig": {

packages/x6/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/x6",
3-
"version": "2.0.4",
3+
"version": "2.0.3",
44
"description": "JavaScript diagramming library that uses SVG and HTML for rendering",
55
"main": "lib/index.js",
66
"module": "es/index.js",
@@ -59,7 +59,7 @@
5959
},
6060
"repository": {
6161
"type": "git",
62-
"url": "ssh://git@github.com/antvis/x6.git",
62+
"url": "https://github.com/antvis/x6.git",
6363
"directory": "packages/x6"
6464
},
6565
"publishConfig": {

packages/x6/src/model/edge.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ export class Edge<
298298

299299
const cell = this.getTerminalCell(type)
300300
if (cell) {
301-
return cell.getConnectionPoint(this, type)
301+
return cell.getConnectionPoint(this as any, type)
302302
}
303303

304304
return new Point()

packages/x6/src/renderer/queueJob.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class JobQueue {
9999
if (this.scheduleId) {
100100
this.cancelScheduleJob()
101101
}
102-
this.scheduleId = window.setTimeout(this.flushJobs.bind(this))
102+
this.scheduleId = (window as Window).setTimeout(this.flushJobs.bind(this))
103103
}
104104
}
105105

0 commit comments

Comments
 (0)