You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apollon is an open-source UML modeling editor for the web. Draw 13 UML and modeling diagram types — including class, component, activity, BPMN, and SFC — in the browser, collaborate in real time, and export to SVG, PNG, PDF, or JSON.
6
+
Apollon is an open-source UML modeling editor for the web. Draw 13 UML and modeling diagram types (class, component, activity, BPMN, SFC, and more) in the browser, collaborate in real time, and export to SVG, PNG, PDF, or JSON.
7
7
8
8
This monorepo contains every piece of the Apollon platform:
9
9
10
-
-**[`library/`](./library)** — the embeddable `@tumaet/apollon`React component ([npm](https://www.npmjs.com/package/@tumaet/apollon)).
11
-
-**[`standalone/`](./standalone)** — standalone web app (server + webapp) built on the library.
12
-
-**[`vscode-extension/`](./vscode-extension)** — the Apollon VS Code extension.
13
-
-**[`docs/`](./docs)** — Docusaurus documentation site, published at <https://ls1intum.github.io/Apollon/>.
10
+
-**[`library/`](./library)**: the embeddable `@tumaet/apollon`editor ([npm](https://www.npmjs.com/package/@tumaet/apollon)).
11
+
-**[`standalone/`](./standalone)**: the standalone web app (server and webapp) built on the library.
12
+
-**[`vscode-extension/`](./vscode-extension)**: the Apollon VS Code extension.
13
+
-**[`docs/`](./docs)**: the Docusaurus documentation site, published at <https://ls1intum.github.io/Apollon/>.
14
14
15
15
## Use the library
16
16
@@ -36,15 +36,15 @@ pnpm dev
36
36
- Server (`tsx watch`) on a printed local HTTP port with a matching WebSocket relay port.
37
37
- Webapp (Vite HMR) on a printed local dev URL.
38
38
39
-
The launcher handles the boring parts:
39
+
The launcher handles the setup:
40
40
41
41
- Resolves port collisions for the webapp, server, WebSocket relay, and Redis.
42
-
- Reuses an existing local Redis if one is running; otherwise starts a Redis container on a free host port (Docker required only in that case).
43
-
- Needs no `.env` files — defaults match the local setup.
42
+
- Reuses an existing local Redis if one is running; otherwise it starts a Redis container on a free host port (Docker is only required in that case).
43
+
- Needs no `.env` files. The defaults match the local setup.
44
44
45
45
Override ports via `APOLLON_WEBAPP_PORT`, `APOLLON_SERVER_PORT`, `APOLLON_WS_PORT`, or `APOLLON_REDIS_PORT`.
46
46
47
-
To preview the documentation site instead, run `pnpm dev:docs` from the repo root — it builds the library and starts the Docusaurus dev server.
47
+
To preview the documentation site instead, run `pnpm dev:docs` from the repo root. It builds the library and starts the Docusaurus dev server.
48
48
49
49
## Tech stack
50
50
@@ -58,24 +58,24 @@ To preview the documentation site instead, run `pnpm dev:docs` from the repo roo
58
58
59
59
## Requirements
60
60
61
-
-**Node.js** — version pinned in [`.nvmrc`](./.nvmrc) (Node 24 LTS).
62
-
-**pnpm 11+** — the package manager. The exact version is pinned in `package.json` (`packageManager` field). Install with `npm install -g pnpm@11`.
63
-
-**Docker** — only when `pnpm dev` needs to start a local Redis.
61
+
-**Node.js**: version pinned in [`.nvmrc`](./.nvmrc) (Node 24 LTS).
62
+
-**pnpm 11+**: the package manager. The exact version is pinned in the `packageManager` field of `package.json`. Install it with `npm install -g pnpm@11`.
63
+
-**Docker**: only when `pnpm dev` needs to start a local Redis.
64
64
65
65
## Documentation
66
66
67
-
The docs are a [Docusaurus](https://docusaurus.io/) site published at <https://ls1intum.github.io/Apollon/>. Sources live in [`docs/`](./docs); preview locally with `pnpm dev:docs`.
67
+
The docs are a [Docusaurus](https://docusaurus.io/) site published at <https://ls1intum.github.io/Apollon/>. Sources live in [`docs/`](./docs); preview them locally with `pnpm dev:docs`.
68
68
69
-
-[Library](https://ls1intum.github.io/Apollon/library/) — embedding the `@tumaet/apollon`React component.
70
-
-[User Guide](https://ls1intum.github.io/Apollon/user/) — getting started, requirements, and self-hosting.
71
-
-[Contributor](https://ls1intum.github.io/Apollon/contributor/) — project structure, scripts, deployment, and troubleshooting.
69
+
-[Library](https://ls1intum.github.io/Apollon/library/): embedding the `@tumaet/apollon`editor.
70
+
-[User Guide](https://ls1intum.github.io/Apollon/user/): getting started, requirements, and self-hosting.
71
+
-[Contributor](https://ls1intum.github.io/Apollon/contributor/): project structure, scripts, deployment, and troubleshooting.
72
72
73
-
Operations, legal-pages, and TUM DSMS material lives in [`ops/`](./ops) in this repo.
73
+
Operations, legalpages, and TUM DSMS material live in [`ops/`](./ops) in this repo.
74
74
75
75
## Contributing
76
76
77
77
Open an issue or a pull request at <https://github.com/ls1intum/Apollon>. Guidelines live in [`CONTRIBUTING.md`](./CONTRIBUTING.md); see also the [`CODE_OF_CONDUCT.md`](./CODE_OF_CONDUCT.md).
Copy file name to clipboardExpand all lines: docs/contributor/deployment/npm-publishing.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,8 @@ Standalone starts at `4.2.18` (the library version at the time of the release-pi
18
18
19
19
All three workflows trigger automatically when their version changes on `main`. There is **one** manual step per release: merge the bump PR.
20
20
21
+
The `library` bump also rewrites the pinned `@tumaet/apollon@X.Y.Z` CDN URLs in the README and docs (via `scripts/sync-library-version.mjs`) so the published examples never lag the package version. PR Health Checks run the same script with `--check`, so a drift can never merge — run `pnpm sync:version` locally to fix one.
22
+
21
23
## Cut a release
22
24
23
25
1. Actions → **Version Bump** → pick `scope` and bump type. Merge the PR that opens.
0 commit comments