@nimiplatform/app-tools 0.13.0 → 0.13.1
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/lib/app-scaffold.mjs
CHANGED
|
@@ -46,7 +46,7 @@ export const SCAFFOLD_LOCK_PATH = `${SCAFFOLD_STATE_DIR}/lock.json`;
|
|
|
46
46
|
export const SCAFFOLD_TEMPLATE_LICENSE_NOTICE_PATH = 'licenses/nimi-app-template.txt';
|
|
47
47
|
// Files that earlier scaffold versions managed and that now belong to the App.
|
|
48
48
|
// Sync records the new owner and leaves the existing file exactly as it is.
|
|
49
|
-
export const SCAFFOLD_APP_OWNED_HANDOVER_PATHS = Object.freeze(['LICENSE']);
|
|
49
|
+
export const SCAFFOLD_APP_OWNED_HANDOVER_PATHS = Object.freeze(['LICENSE', 'README.md', 'SECURITY.md']);
|
|
50
50
|
const TEMPLATE_LICENSE_COPYRIGHT_LINE = /^Copyright \(c\) (\d{4}) \S.*$/gmu;
|
|
51
51
|
const TEMPLATE_LICENSE_NOTICE_HEADER = [
|
|
52
52
|
'Nimi App template notice',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nimiplatform/app-tools",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
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.21.0",
|
|
22
|
-
"appToolsVersion": "^0.13.
|
|
22
|
+
"appToolsVersion": "^0.13.1",
|
|
23
23
|
"nimicodingVersion": "0.6.5",
|
|
24
24
|
"aiSdkVersion": "^6.0.85",
|
|
25
25
|
"kitVersion": "^0.21.0",
|
|
@@ -34,3 +34,5 @@ A scaffold from an app-tools version that still managed `LICENSE` hands it to th
|
|
|
34
34
|
For existing Apps, sync preserves the exact `package.json` text when its managed values are already current. A project formatter's whitespace or key ordering alone is not drift; actual managed value changes are still synchronized.
|
|
35
35
|
|
|
36
36
|
Do not downgrade away required features, edit installed package code or disable checks to get a green result. A platform capability awaiting publication blocks public release reproducibility, not independent engineering work. Validate a representative actual old-to-new combination; do not build a general migration framework.
|
|
37
|
+
|
|
38
|
+
README.md and SECURITY.md belong to the App after creation. If an earlier lock lists them as managed, explicit sync transfers ownership without rewriting their contents or recreating missing documents. Run sync and commit the updated lock; subsequent sync and check preserve the App-authored documents.
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"path": "README.md",
|
|
40
|
-
"class": "
|
|
40
|
+
"class": "app-owned product code"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"path": "scripts/validate.mjs",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"path": "SECURITY.md",
|
|
48
|
-
"class": "
|
|
48
|
+
"class": "app-owned product code"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"path": "src-tauri/build.rs",
|