@synthigy/tooling 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # @synthigy/tooling
2
+
3
+ Synthigy's browser tooling and portal binaries.
4
+
5
+ - `dist/modeling.js` registers `<synthigy-data-modeling>`, `<synthigy-data-console>`
6
+ and `<synthigy-log-cockpit>`.
7
+ - `dist/tooling.css` is optional — the Inter font the components style
8
+ themselves with. Every color token carries a fallback, so the elements
9
+ render correctly without it.
10
+ - GitHub Releases carry `synthigy-portal-{os}-{arch}` static binaries.
11
+
12
+ ## Web components from a CDN
13
+
14
+ ```html
15
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@synthigy/tooling@0.1.0/dist/tooling.css">
16
+ <script src="https://cdn.jsdelivr.net/npm/@synthigy/tooling@0.1.0/dist/modeling.js"></script>
17
+
18
+ <synthigy-data-modeling endpoint="https://api.example.com" open></synthigy-data-modeling>
19
+ ```
20
+
21
+ The same files are served straight from this repository's tags:
22
+ `https://cdn.jsdelivr.net/gh/synthigy/tooling@v0.1.0/dist/modeling.js`.
23
+
24
+ Attributes: `endpoint`, `open`. Properties: `tokenResolver`, `onClose`
25
+ (`<synthigy-data-console>` also takes `entities`, `schema`). Events: `close`,
26
+ `modeling-message`. Without a `tokenResolver` the element performs its own
27
+ OIDC login against `endpoint`.
28
+
29
+ ## Portal
30
+
31
+ ```sh
32
+ curl -fsSL https://raw.githubusercontent.com/synthigy/tooling/main/install.sh | sh
33
+ ```
34
+
35
+ ```powershell
36
+ irm https://raw.githubusercontent.com/synthigy/tooling/main/install.ps1 | iex
37
+ ```
38
+
39
+ Binaries and `sha256sums-portal.txt` are attached to each release here.