@nanobpm/nano-ide-app-embedded-graalvm-native 1.2.0 → 1.3.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 +40 -0
- package/package.json +4 -3
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# @nanobpm/nano-ide-app-embedded-graalvm-native
|
|
2
|
+
|
|
3
|
+
A **GraalVM Native Image** variant of the [Embedded Nano (JVM)](https://www.npmjs.com/package/@nanobpm/nano-ide-app-embedded-jvm)
|
|
4
|
+
app pack for the [Nano RAD IDE](https://nanobpm.io).
|
|
5
|
+
|
|
6
|
+
Same Bernd-in-JVM code (ADR 0005) — the Nano BPMN engine embedded in-process,
|
|
7
|
+
driven by an outer stock Camunda REST job worker — but compiled with **GraalVM
|
|
8
|
+
Native Image** to a single **standalone binary (~30 MB, no JDK required at
|
|
9
|
+
runtime)**.
|
|
10
|
+
|
|
11
|
+
## What it contributes
|
|
12
|
+
|
|
13
|
+
- **File types:** `.java` (Monaco's Java language service).
|
|
14
|
+
- **Starter template (`embedded-graalvm-starter`) — "KYC microservice (GraalVM
|
|
15
|
+
native)":** the same demo as the JVM pack, packaged as a native executable.
|
|
16
|
+
- **Toolchain (Maven + GraalVM):**
|
|
17
|
+
- **Compile** → `mvn -Pnative -DskipTests package` (native image build).
|
|
18
|
+
- **Run** → the produced `microservice/target/kyc-microservice` binary
|
|
19
|
+
directly — no `java -jar`, no JDK on the target.
|
|
20
|
+
|
|
21
|
+
## Why native
|
|
22
|
+
|
|
23
|
+
Instant start-up and a small, self-contained footprint: ship one ~30 MB binary
|
|
24
|
+
instead of a JDK plus jars. Ideal for containers, edge, and cold-start-sensitive
|
|
25
|
+
deployments.
|
|
26
|
+
|
|
27
|
+
## Requirements
|
|
28
|
+
|
|
29
|
+
- **Java** (the pack `requires` the `java` lang pack), **Maven** (`mvn`), and a
|
|
30
|
+
**GraalVM** toolchain capable of building native images.
|
|
31
|
+
|
|
32
|
+
## Install
|
|
33
|
+
|
|
34
|
+
Install it from the console's **Extensions** marketplace, or add it to a
|
|
35
|
+
project's pack set. The console reads `nano-ide.ext.json` and offers the native
|
|
36
|
+
template.
|
|
37
|
+
|
|
38
|
+
## Licence
|
|
39
|
+
|
|
40
|
+
Apache-2.0.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanobpm/nano-ide-app-embedded-graalvm-native",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "GraalVM Native Image variant of the embedded Nano JVM template: same Bernd-in-JVM code, compiled to a single standalone binary (~30 MB, no JDK required at runtime).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -17,11 +17,12 @@
|
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/
|
|
20
|
+
"url": "git+https://github.com/nanobpm/nano-ide.git",
|
|
21
21
|
"directory": "packages/app-embedded-graalvm-native"
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"nano-ide.ext.json",
|
|
25
|
-
"templates"
|
|
25
|
+
"templates",
|
|
26
|
+
"README.md"
|
|
26
27
|
]
|
|
27
28
|
}
|