@glandais/vcyclist-elevation 1.1.0 → 1.2.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 CHANGED
@@ -148,6 +148,19 @@ On Node.js / Bun, tile decoding uses [`@jsquash/webp`](https://www.npmjs.com/pac
148
148
  Node ≥ 18 (`globalThis.fetch` is built-in since Node 18 / Bun) ; Node 22+ recommended for
149
149
  ESM `require()` support.
150
150
 
151
+ ## Try the interactive demo
152
+
153
+ The [`demo/`](demo/) module is a Vue 3 + Vite frontend that exercises the
154
+ Kotlin/JS engine end-to-end in a browser (GPX upload, configurable cyclist /
155
+ bike / wind / power, chart + map, hover sync).
156
+
157
+ ```bash
158
+ ./gradlew :demo:assemble
159
+ python -m http.server -d demo/dist 8000 # or any static file server
160
+ ```
161
+
162
+ See [`demo/README.md`](demo/README.md) for the dev workflow and architecture.
163
+
151
164
  ## Build & test
152
165
 
153
166
  ```bash
@@ -205,8 +218,20 @@ output points covering ~128.6 km / ~5.3 h of simulated ride.
205
218
  - [`docs/parity.md`](docs/parity.md) — TS↔Kotlin parity approach and tolerances.
206
219
  - [`docs/kotlin-wasm-jvm-webp.md`](docs/kotlin-wasm-jvm-webp.md) — Kotlin/Wasm ↔ JS interop
207
220
  guide that underpins the `@JsExport` façades and the WebP tile decoding.
221
+ - [`docs/publishing.md`](docs/publishing.md) — release flow (Maven Central + npm via
222
+ semantic-release on push to `develop`).
208
223
  - [`elevation/README.md`](elevation/README.md) — `:elevation` module details + browser demos.
209
224
 
225
+ ## Contributing
226
+
227
+ `develop` is the **default and only long-lived branch** — there is no `main`. Open PRs
228
+ against `develop` using [Conventional Commits](https://www.conventionalcommits.org/) :
229
+ `feat:` triggers a minor release, `fix:` a patch, anything else is a no-op release-wise.
230
+ Every push to `develop` runs the full multi-target test suite via
231
+ `.github/workflows/release.yml` and, if green, lets semantic-release tag a new version,
232
+ publish to Maven Central + npm, and commit the version bump back to `develop` with
233
+ `[skip ci]`. See [`docs/publishing.md`](docs/publishing.md) for the full flow.
234
+
210
235
  ## License
211
236
 
212
237
  Apache License 2.0, aligned with the upstream `gpx2web` project. See the Maven Central POM
@@ -110,12 +110,12 @@ if (typeof Math.hypot === 'undefined') {
110
110
  initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
111
111
  initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection]);
112
112
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
113
- initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [Collection, KtList]);
113
+ initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtList, Collection]);
114
114
  initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
115
115
  initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [KtMap]);
116
116
  initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [Collection, KtSet]);
117
117
  initMetadataForCompanion(Companion_1);
118
- initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [Collection, KtList]);
118
+ initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtList, Collection]);
119
119
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMap]);
120
120
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [Collection, KtSet]);
121
121
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
@@ -105,8 +105,8 @@
105
105
  var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.k;
106
106
  var stackTraceToString = kotlin_kotlin.$_$.m4;
107
107
  var removeFirstOrNull = kotlin_kotlin.$_$.o1;
108
- var Collection = kotlin_kotlin.$_$.c1;
109
108
  var KtList = kotlin_kotlin.$_$.d1;
109
+ var Collection = kotlin_kotlin.$_$.c1;
110
110
  //endregion
111
111
  //region block: pre-declaration
112
112
  initMetadataForInterface(ParentJob, 'ParentJob', VOID, VOID, [Element], [0]);
@@ -182,7 +182,7 @@
182
182
  initMetadataForClass(SemaphoreSegment, 'SemaphoreSegment', VOID, Segment);
183
183
  initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, VOID, [1]);
184
184
  initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
185
- initMetadataForClass(MessageQueue, 'MessageQueue', VOID, VOID, [Collection, KtList]);
185
+ initMetadataForClass(MessageQueue, 'MessageQueue', VOID, VOID, [KtList, Collection]);
186
186
  initMetadataForClass(ScheduledMessageQueue, 'ScheduledMessageQueue', VOID, MessageQueue);
187
187
  initMetadataForClass(WindowMessageQueue, 'WindowMessageQueue', VOID, MessageQueue);
188
188
  initMetadataForObject(Dispatchers, 'Dispatchers');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glandais/vcyclist-elevation",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "main": "vcyclist-elevation.js",
5
5
  "types": "vcyclist-elevation.d.ts",
6
6
  "devDependencies": {