@nimiplatform/app-tools 0.16.0-rc.12 → 0.16.0-rc.13

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.
@@ -24,18 +24,23 @@ pnpm install
24
24
  pnpm run init
25
25
  pnpm run sync
26
26
  pnpm run check
27
- pnpm run test
28
- pnpm run app:build -- --target windows-x86_64
27
+ pnpm run app:build
29
28
  pnpm dev
30
29
  ```
31
30
 
32
31
  ### Local Development
33
32
 
34
- `pnpm dev` launches the official Desktop-supervised Electron development Host. Launching the renderer, Electron, or Tauri directly does not establish protected Nimi access.
33
+ Open Nimi Home, sign in and enable Developer Mode before running `pnpm dev`. Add an App test under `test/*.test.mjs` and run it with `pnpm test`.
35
34
 
36
35
  ### Building & Carrier Layout
37
36
 
38
- The default `windows-x86_64` build outputs a fresh non-installer Electron directory at `dist-electron-package/acme-widget-shell-win32-x64/`, containing:
37
+ <!-- carrier: managed-web -->
38
+ This App builds static frontend files into `dist/renderer/`. Nimi Home runs them in its managed desktop carrier on Windows x64 and macOS arm64. Both platforms use the same package.
39
+
40
+ Set the summary, PNG icon and release notes in `nimi.app.yaml` and the license identifier in `package.json`. Run `pnpm exec nimi-app pack --target desktop-universal` after building. The resulting `.nimiapp` is in `dist/nimi-app/`.
41
+ <!-- end carrier -->
42
+ <!-- carrier: native -->
43
+ The `windows-x86_64` build outputs a fresh non-installer Electron directory at `dist-electron-package/acme-widget-shell-win32-x64/`, containing:
39
44
 
40
45
  - The App-specific executable `acme-widget-shell.exe`
41
46
  - ASAR-packaged JavaScript and renderer assets
@@ -45,11 +50,14 @@ The production bundle rejects `--nimi-dev-renderer-url`. The protected native bi
45
50
 
46
51
  Electron packages target Windows x64 and macOS arm64. Standard builds use Node, pnpm and the prebuilt native Kit package for the target.
47
52
 
53
+ Run `pnpm exec nimi-app pack --target windows-x86_64` on Windows or `pnpm exec nimi-app pack --target macos-aarch64` on macOS after building. Publishers may sign the Windows executable before packing. Production packing records the observed Authenticode signature or an explicit unsigned posture.
54
+ <!-- end carrier -->
55
+
48
56
  ### Packaging & Release Boundaries
49
57
 
50
- After a real target build finishes, run `pnpm run pack -- --target <target-id>`. `app-tools` is the sole package owner and intentionally provides no local `publish` command. Pushing a protected version tag triggers the managed GitHub Release workflow; you then submit the resulting immutable Release through the separate Registry pull-request and human-review flow.
58
+ Pushing a protected version tag triggers the managed GitHub Release workflow. Submit the resulting immutable Release through the Registry pull-request and human-review flow.
51
59
 
52
- Before cutting a production release, the public GitHub repository must enable a protected `v*` tag ruleset and immutable releases, and provide a read-only repository-admin token to verify those settings. On Windows, tag-triggered production builds run the App-declared build owner without a Nimi signing step. Publishers may sign the exact declared Host through their own build or signing custody; production `pack` records either a verified Authenticode signature or an explicit unsigned posture, and rejects invalid or unresolved signatures. Manual workflow dispatch runs only the non-production path.
60
+ Before cutting a production release, enable a protected `v*` tag ruleset and immutable releases in the public GitHub repository, and provide a read-only repository-admin token to verify those settings. Manual workflow dispatch runs a development build.
53
61
 
54
62
  A GitHub Release remains independent from registry admission, Runtime installation, Desktop launch, and Nimi Access. Runtime, Realm, registry admission, installed state, and process truth remain with their canonical owners. This repository stores no Runtime credentials or protected session material.
55
63