@nimiplatform/app-tools 0.6.1 → 0.6.2

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
@@ -296,6 +296,12 @@ out of source files, `.env`, and release notes.
296
296
 
297
297
  ### 4. Check, build, and publish a version
298
298
 
299
+ Keep the packaged `LICENSE` identical to the reviewed Git source. New scaffolds
300
+ include `LICENSE -text` in `.gitattributes`. Add the same rule to an existing
301
+ repository while preserving its other attributes, and commit it before tagging.
302
+ This prevents Windows checkout conversion from changing the license bytes that
303
+ Registry verifies against the exact source tag.
304
+
299
305
  Run the existing local path from the App repository:
300
306
 
301
307
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimiplatform/app-tools",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Public app-authoring CLI for Nimi App projects.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "nimiScaffoldVersions": {
21
21
  "sdkVersion": "^0.13.0",
22
- "appToolsVersion": "^0.6.1",
22
+ "appToolsVersion": "^0.6.2",
23
23
  "nimicodingVersion": "0.6.3",
24
24
  "aiSdkVersion": "^6.0.85",
25
25
  "kitVersion": "^0.9.0",
@@ -2,6 +2,8 @@
2
2
 
3
3
  Before production, use public dependencies and frozen locks, complete portable App information and existing notices, and build/pack on the declared OS/architecture. Reuse `nimi-app check --production`, `test`, `build --target <target> --production`, and `pack --target <target> --production`. Local check does not establish GitHub settings or a release.
4
4
 
5
+ The packaged root `LICENSE` must match the reviewed source file byte for byte. New scaffolds include `LICENSE -text` in `.gitattributes`; for an existing repository, retain its other attributes and add that rule before tagging. It preserves the Git blob's original bytes when Windows would otherwise convert LF to CRLF. Registry checks the exact published package against the tagged source.
6
+
5
7
  Follow the [publisher setup guide](https://github.com/nimiplatform/nimi/blob/main/app-tools/README.md#publishing-on-github) before the first tag. Its `NIMI_REPOSITORY_ADMIN_TOKEN` needs only **Administration: Read-only** to check tag protection and Release immutability; actual Release uploads use GitHub's built-in token, which lacks that administration permission. A secret configured in another App repository is not inherited. Check real settings when publication is in scope. Keep App package/manifest versions equal and the annotated `v<version>` tag on a commit in the actual canonical default-branch history. Publish only with the user's existing authorization; fixing a local check does not authorize a new release.
6
8
 
7
9
  The managed tag workflow owns production tests, target artifacts, attestations and immutable Release execution. Manual dispatch is a development build. Reuse its final Release/asset verification; a code change needs a new version, not a moved tag. Do not add local publish or another App production workflow.
@@ -0,0 +1,2 @@
1
+ # Preserve the reviewed source license bytes on every checkout platform.
2
+ LICENSE -text
@@ -23,6 +23,10 @@
23
23
  "devPort"
24
24
  ],
25
25
  "files": [
26
+ {
27
+ "path": ".gitattributes",
28
+ "class": "scaffold-managed glue"
29
+ },
26
30
  {
27
31
  "path": "AGENTS.md",
28
32
  "class": "app-owned product code"