create-honua-app 0.1.8 → 0.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
|
@@ -6,12 +6,15 @@ omit `--sdk-version` to follow the promoted release channel or this scaffold's c
|
|
|
6
6
|
|
|
7
7
|
<!-- doc-run: run ready-url="http://localhost:5173/" -->
|
|
8
8
|
```bash
|
|
9
|
-
npm create honua-app@latest my-map -- --sdk-version 0.
|
|
9
|
+
npm create honua-app@latest my-map -- --sdk-version 0.2.0 # x-release-please-version
|
|
10
10
|
cd my-map
|
|
11
11
|
npm install
|
|
12
12
|
npm run dev
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
+
Requires Node.js 22.12 or newer. Repository development uses the Node 22.23.3
|
|
16
|
+
LTS version pinned in `.nvmrc`.
|
|
17
|
+
|
|
15
18
|
## Options
|
|
16
19
|
|
|
17
20
|
```text
|
|
@@ -29,11 +32,17 @@ create-honua-app [directory] [options]
|
|
|
29
32
|
With `npm create`, pass CLI options after `--`:
|
|
30
33
|
|
|
31
34
|
```bash
|
|
32
|
-
npm create honua-app@latest my-react-map -- --template react-ts --sdk-version 0.
|
|
35
|
+
npm create honua-app@latest my-react-map -- --template react-ts --sdk-version 0.2.0 # x-release-please-version
|
|
33
36
|
```
|
|
34
37
|
|
|
35
38
|
## Which SDK version a scaffold pins
|
|
36
39
|
|
|
40
|
+
The scaffold and SDK publish independently. `npm create honua-app@latest` selects the scaffold;
|
|
41
|
+
`--sdk-version` selects the SDK installed in the generated application. The explicit
|
|
42
|
+
SDK versions in this published README describe this scaffold release, even when a
|
|
43
|
+
newer SDK has shipped. Keep the flag when reproducing these examples, or select
|
|
44
|
+
another published SDK version deliberately.
|
|
45
|
+
|
|
37
46
|
The scaffold resolves `@honua/sdk-js` when it runs, from the `release-2026.1` npm dist-tag. Only a Honua release
|
|
38
47
|
promotion moves that tag, so a newly promoted SDK reaches fresh scaffolds without a new `create-honua-app`. The
|
|
39
48
|
generated `package.json` still records one exact version, so the app stays reproducible.
|
|
@@ -44,7 +53,7 @@ version this release of `create-honua-app` ships with. The default path never pi
|
|
|
44
53
|
yourself, pass `--sdk-version`:
|
|
45
54
|
|
|
46
55
|
```bash
|
|
47
|
-
npm create honua-app@latest my-pinned-map -- --sdk-version 0.
|
|
56
|
+
npm create honua-app@latest my-pinned-map -- --sdk-version 0.2.0 # x-release-please-version
|
|
48
57
|
```
|
|
49
58
|
|
|
50
59
|
## Templates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-honua-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Scaffold a Honua JavaScript SDK map application: Vite + TypeScript + MapLibre starters that connect and mount a source without hand-assembling peers",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Honua",
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
"LICENSE"
|
|
44
44
|
],
|
|
45
45
|
"engines": {
|
|
46
|
-
"node": ">=
|
|
46
|
+
"node": ">=22.12.0"
|
|
47
47
|
}
|
|
48
48
|
}
|