Compare commits

..

35 Commits

Author SHA1 Message Date
210c2cfe32 .github/workflows/publish.yml aktualisiert
Some checks failed
/ Web Build (push) Successful in 5m46s
⛔️ Lock Threads / lock (push) Failing after 1m12s
🤝 Update Contributors / contributors (push) Failing after 8s
2025-03-04 16:11:10 +00:00
04865bb914 .github/workflows/publish.yml aktualisiert
Some checks failed
/ Web Build (push) Failing after 5m22s
2025-03-04 15:20:48 +00:00
a836dbdd8b .npmrc aktualisiert
Some checks failed
/ Web Build (push) Failing after 5m25s
2025-03-04 15:10:10 +00:00
684b40f999 .github/workflows/publish.yml aktualisiert
Some checks failed
/ Web Build (push) Has been cancelled
2025-03-04 15:02:47 +00:00
16c757f743 .github/workflow/publish.yml hinzugefügt 2025-03-04 15:02:12 +00:00
74fd402255 update versions 2025-02-04 09:05:13 +00:00
4de5cb818c Merge branch 'master' into 'ln-build'
Master

See merge request synced/X6!2
2025-02-04 08:53:48 +00:00
923551f0bd Edit package.json 2025-02-04 08:53:11 +00:00
fe22321e94 Merge branch 'master' into 'ln-build'
Holder for upcoming Master Changes

See merge request synced/X6!1
2024-11-18 10:50:05 +00:00
9b36e34e58 update versions 2024-11-18 10:49:18 +00:00
9a3cd45616 more fixex for the angular library 2024-05-15 15:52:50 +00:00
7d5dd6c531 Update .gitlab-ci.yml file 2024-05-15 15:41:33 +00:00
2d20f1c7ce update all versions 2024-05-15 15:36:27 +00:00
83eb8cf308 Update .gitlab-ci.yml 2024-05-15 14:51:10 +00:00
9246e6f93b Update .gitlab-ci.yml 2024-05-15 14:44:35 +00:00
54451446fd Update .gitlab-ci.yml 2024-05-15 14:35:01 +00:00
99c7524239 Update .gitlab-ci.yml 2024-05-15 14:27:36 +00:00
d2ef1ddb58 Update .gitlab-ci.yml 2024-05-15 14:27:03 +00:00
ea6f17a9d6 Update .gitlab-ci.yml 2024-05-15 14:07:10 +00:00
0a7afacc55 Update .gitlab-ci.yml 2024-05-15 14:03:04 +00:00
1a77dcd9a8 Update .gitlab-ci.yml 2024-05-15 14:00:37 +00:00
8d1a218e49 Update .gitlab-ci.yml 2024-05-15 13:50:10 +00:00
38fec5b91f Update .gitlab-ci.yml file 2024-05-15 09:40:29 +00:00
7f7b20a86d Update .gitlab-ci.yml file 2024-05-15 08:47:39 +00:00
34c1fcead4 Update .gitlab-ci.yml file 2024-05-15 08:42:53 +00:00
e91ab3e840 Update .gitlab-ci.yml file 2024-05-15 08:39:01 +00:00
c4b782485f Update .gitlab-ci.yml file 2024-05-15 08:33:18 +00:00
700a2f9503 Update .gitlab-ci.yml file 2024-05-15 08:30:52 +00:00
db4e83462b Update .gitlab-ci.yml 2024-05-15 08:22:11 +00:00
92e21f70f9 Update .gitlab-ci.yml 2024-05-15 08:09:19 +00:00
52385828f7 Update .gitlab-ci.yml 2024-05-14 16:05:10 +00:00
be0a10061c add build 2024-05-14 15:59:28 +00:00
2261e782df like this 2024-05-14 15:53:55 +00:00
a8d9bd9ef4 install 2024-05-14 15:50:56 +00:00
9a00ec2480 add build 2024-05-14 15:49:47 +00:00
24 changed files with 68 additions and 27 deletions

24
.github/workflows/publish.yml vendored Normal file
View 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
View 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
View File

@ -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

View File

@ -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",

View File

@ -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) {

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",