Skip to content

Commit

Permalink
chore: update package version (#2943)
Browse files Browse the repository at this point in the history
* chore: update package version

* chore: fix repository url

* chore: enable publish to npm

Co-authored-by: bubkoo <[email protected]>
  • Loading branch information
NewByVector and bubkoo authored Nov 25, 2022
1 parent 1dcab69 commit 2731023
Show file tree
Hide file tree
Showing 21 changed files with 30 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
- name: 🚧 Install dependencies
run: pnpm install --no-frozen-lockfile --ignore-scripts

# - name: 📦 build
# run: pnpm run build
- name: 📦 build
run: pnpm run build

# - name: ✅ Test
# run: pnpm run test
Expand Down
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
[
"@semantic-release/npm",
{
"npmPublish": false
"npmPublish": true
}
],
[
Expand Down
4 changes: 2 additions & 2 deletions packages/x6-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/x6-common",
"version": "2.0.1",
"version": "2.0.2",
"description": "Basic toolkit for X6",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -54,7 +54,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-common"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x6-geometry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-geometry"
},
"publishConfig": {
Expand Down
6 changes: 5 additions & 1 deletion packages/x6-plugin-clipboard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"name": "@antv/x6-plugin-clipboard",
<<<<<<< HEAD
"version": "2.1.1",
=======
"version": "2.1.2",
>>>>>>> master
"description": "clipboard plugin for X6",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -53,7 +57,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-plugin-clipboard"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x6-plugin-dnd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-plugin-dnd"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x6-plugin-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-plugin-export"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x6-plugin-history/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-plugin-history"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x6-plugin-keyboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-plugin-keyboard"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x6-plugin-minimap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-plugin-minimap"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x6-plugin-scroller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-plugin-scroller"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x6-plugin-selection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-plugin-selection"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x6-plugin-snapline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-plugin-snapline"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/x6-plugin-stencil/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/x6-plugin-stencil",
"version": "2.0.3",
"version": "2.0.2",
"description": "stencil plugin for X6",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -56,7 +56,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-plugin-stencil"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/x6-plugin-transform/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/x6-plugin-transform",
"version": "2.1.2",
"version": "2.0.2",
"description": "transform plugin for X6",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -54,7 +54,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-plugin-transform"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x6-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-react-components"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x6-react-shape/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-react-shape"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x6-vue-shape/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6-vue-shape"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/x6/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/x6",
"version": "2.0.4",
"version": "2.0.3",
"description": "JavaScript diagramming library that uses SVG and HTML for rendering",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -59,7 +59,7 @@
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/antvis/x6.git",
"url": "https://github.com/antvis/x6.git",
"directory": "packages/x6"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x6/src/model/edge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export class Edge<

const cell = this.getTerminalCell(type)
if (cell) {
return cell.getConnectionPoint(this, type)
return cell.getConnectionPoint(this as any, type)
}

return new Point()
Expand Down
2 changes: 1 addition & 1 deletion packages/x6/src/renderer/queueJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class JobQueue {
if (this.scheduleId) {
this.cancelScheduleJob()
}
this.scheduleId = window.setTimeout(this.flushJobs.bind(this))
this.scheduleId = (window as Window).setTimeout(this.flushJobs.bind(this))
}
}

Expand Down

0 comments on commit 2731023

Please sign in to comment.