Compare commits
35 Commits
Author | SHA1 | Date | |
---|---|---|---|
210c2cfe32 | |||
04865bb914 | |||
a836dbdd8b | |||
684b40f999 | |||
16c757f743 | |||
74fd402255 | |||
4de5cb818c | |||
923551f0bd | |||
fe22321e94 | |||
9b36e34e58 | |||
9a3cd45616 | |||
7d5dd6c531 | |||
2d20f1c7ce | |||
83eb8cf308 | |||
9246e6f93b | |||
54451446fd | |||
99c7524239 | |||
d2ef1ddb58 | |||
ea6f17a9d6 | |||
0a7afacc55 | |||
1a77dcd9a8 | |||
8d1a218e49 | |||
38fec5b91f | |||
7f7b20a86d | |||
34c1fcead4 | |||
e91ab3e840 | |||
c4b782485f | |||
700a2f9503 | |||
db4e83462b | |||
92e21f70f9 | |||
52385828f7 | |||
be0a10061c | |||
2261e782df | |||
a8d9bd9ef4 | |||
9a00ec2480 |
24
.github/workflows/publish.yml
vendored
Normal file
24
.github/workflows/publish.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
name: Web Build
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
- name: Prepare NPM Stuff
|
||||
run: |
|
||||
npm install -g pnpm
|
||||
pnpm install --no-frozen-lockfile --ignore-scripts
|
||||
pnpm run build
|
||||
rm .npmrc
|
||||
npm set registry https://git.ahri.cloud/api/packages/ahri-cloud-projects/npm/:_authToken=${{ secrets.PAT_TOKEN }}
|
||||
echo "registry=https://git.ahri.cloud/api/packages/ahri-cloud-projects/npm/" > .npmrc
|
||||
echo "//git.ahri.cloud/api/packages/ahri-cloud-projects/npm/:_authToken=${{ secrets.PAT_TOKEN }}" >> .npmrc
|
||||
for i in $(find packages/ -path '*/package.json' -type f); do jq -r '.publishConfig.registry="https://git.ahri.cloud/api/packages/ahri-cloud-projects/npm/"' $i > $i.tmp && rm $i && mv $i.tmp $i; done
|
||||
- run: pnpm publish --no-git-checks -r --tag latest
|
||||
name: Publish NPM Packages
|
||||
|
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal file
@ -0,0 +1,17 @@
|
||||
stages:
|
||||
- deploy
|
||||
|
||||
deploy:
|
||||
image: node:18
|
||||
stage: deploy
|
||||
script:
|
||||
- apt update && apt install jq -y
|
||||
- npm install -g pnpm
|
||||
- pnpm install --no-frozen-lockfile --ignore-scripts
|
||||
- pnpm run build
|
||||
- rm .npmrc
|
||||
- npm set registry https://gitlab.cloud.ln-c.net/api/v4/projects/504/packages/npm/:_authToken=${CI_JOB_TOKEN}
|
||||
- echo "registry=https://gitlab.cloud.ln-c.net/api/v4/projects/504/packages/npm/" > .npmrc
|
||||
- echo "//gitlab.cloud.ln-c.net/api/v4/projects/504/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc
|
||||
- for i in $(find packages/ -path '*/package.json' -type f); do jq -r '.publishConfig.registry="https://gitlab.cloud.ln-c.net/api/v4/projects/504/packages/npm/"' $i > $i.tmp && rm $i && mv $i.tmp $i; done
|
||||
- pnpm publish --no-git-checks -r --tag latest
|
3
.npmrc
3
.npmrc
@ -1,2 +1 @@
|
||||
registry=https://registry.npmmirror.com
|
||||
strict-peer-dependencies=false
|
||||
strict-peer-dependencies=false
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 23 MiB After Width: | Height: | Size: 23 MiB |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-angular-shape",
|
||||
"version": "2.0.2",
|
||||
"version": "2.1.2",
|
||||
"description": "X6 shape for rendering angular components.",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -40,11 +40,11 @@
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@antv/x6": "^2.x",
|
||||
"@angular/core": ">= 14"
|
||||
"@angular/core": ">= 17"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antv/x6": "^2.x",
|
||||
"@angular/core": ">= 14"
|
||||
"@angular/core": ">= 17"
|
||||
},
|
||||
"author": {
|
||||
"name": "Eve-Sama",
|
||||
|
@ -76,10 +76,11 @@ export class AngularShapeView extends NodeView<AngularShape> {
|
||||
}
|
||||
}
|
||||
|
||||
protected unmountAngularContent(): HTMLDivElement {
|
||||
protected unmountAngularContent() {
|
||||
const container = this.getNodeContainer()
|
||||
container.innerHTML = ''
|
||||
return container
|
||||
if (container != null){
|
||||
container.innerHTML = ''
|
||||
}
|
||||
}
|
||||
|
||||
override onMouseDown(e: Dom.MouseDownEvent, x: number, y: number) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-common",
|
||||
"version": "2.0.17",
|
||||
"version": "2.0.19",
|
||||
"description": "Basic toolkit for X6",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-devtool",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"private": true,
|
||||
"description": "devtool for x6 in browser",
|
||||
"license": "MIT",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "2.0.5",
|
||||
"version": "2.0.8",
|
||||
"name": "@antv/x6-geometry",
|
||||
"description": "Geometry operations for X6",
|
||||
"main": "lib/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-plugin-clipboard",
|
||||
"version": "2.1.6",
|
||||
"version": "2.1.9",
|
||||
"description": "clipboard plugin for X6",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-plugin-dnd",
|
||||
"version": "2.1.1",
|
||||
"version": "2.1.4",
|
||||
"description": "dnd plugin for X6",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-plugin-export",
|
||||
"version": "2.1.6",
|
||||
"version": "2.1.9",
|
||||
"description": "export plugin for X6.",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-plugin-history",
|
||||
"version": "2.2.4",
|
||||
"version": "2.2.7",
|
||||
"description": "history plugin for X6",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-plugin-keyboard",
|
||||
"version": "2.2.3",
|
||||
"version": "2.2.6",
|
||||
"description": "keyboard plugin for X6",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-plugin-minimap",
|
||||
"version": "2.0.7",
|
||||
"version": "2.0.10",
|
||||
"description": "minimap plugin for X6",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-plugin-scroller",
|
||||
"version": "2.0.10",
|
||||
"version": "2.0.13",
|
||||
"description": "scroller plugin for X6",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-plugin-selection",
|
||||
"version": "2.2.2",
|
||||
"version": "2.2.5",
|
||||
"description": "selection plugin for X6",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-plugin-snapline",
|
||||
"version": "2.1.7",
|
||||
"version": "2.1.9",
|
||||
"description": "snapline plugin for X6",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-plugin-stencil",
|
||||
"version": "2.1.5",
|
||||
"version": "2.1.8",
|
||||
"description": "stencil plugin for X6",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-plugin-transform",
|
||||
"version": "2.1.8",
|
||||
"version": "2.1.10",
|
||||
"description": "transform plugin for X6",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-react-components",
|
||||
"version": "2.0.8",
|
||||
"version": "2.0.10",
|
||||
"description": "React components for building x6 editors",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-react-shape",
|
||||
"version": "2.2.3",
|
||||
"version": "2.2.5",
|
||||
"description": "X6 shape for rendering react components.",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6-vue-shape",
|
||||
"version": "2.1.2",
|
||||
"version": "2.1.4",
|
||||
"description": "X6 shape for rendering vue components.",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/x6",
|
||||
"version": "2.18.1",
|
||||
"version": "2.18.4",
|
||||
"description": "JavaScript diagramming library that uses SVG and HTML for rendering",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
Reference in New Issue
Block a user