@nimiplatform/app-tools 0.12.2 → 0.12.4
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
|
@@ -117,9 +117,11 @@ rejected rather than normalized. A matrix range in the manifest does not
|
|
|
117
117
|
require an automatic upgrade; install with the frozen lockfile until
|
|
118
118
|
deliberately selecting and synchronizing a new component combination.
|
|
119
119
|
|
|
120
|
-
The production Beta candidate guide uses App Tools 0.12.
|
|
121
|
-
Kit/native `^0.
|
|
122
|
-
selected. Existing
|
|
120
|
+
The production Beta candidate guide uses App Tools 0.12.3 with SDK `^0.21.0`,
|
|
121
|
+
Kit/native `^0.20.0`, the matching production Runtime, and Tauri `0.10.0` when
|
|
122
|
+
selected. Existing production `^0.19.0` and D2 `^0.18.1` projects retain their
|
|
123
|
+
declared Kit combination. Before explicitly upgrading to Kit 0.20, follow the
|
|
124
|
+
[Realtime and conversation setup migration notes](../kit/CHANGELOG.md). Fresh scaffold
|
|
123
125
|
defaults still come from `nimiScaffoldVersions` in `package.json`; explicitly
|
|
124
126
|
select the current SDK/Kit pair to use this guide. On an initialized App, run
|
|
125
127
|
`nimi-app sync`, install the resulting dependencies, then run `nimi-app check`
|
|
@@ -170,7 +172,7 @@ Local archives may also use paths relative to the App. Install, run sync and
|
|
|
170
172
|
check, then use the normal dev/test/build/pack loop. Sync retains these choices;
|
|
171
173
|
check verifies matrix compatibility and compares the selected tarball version,
|
|
172
174
|
source and integrity with pnpm's installed dependency lock and package manifest.
|
|
173
|
-
The default SDK `^0.21.0` / Kit `^0.
|
|
175
|
+
The default SDK `^0.21.0` / Kit `^0.20.0` / Rust carrier `0.10.0`
|
|
174
176
|
combination also admits complete local archives for development. Select the
|
|
175
177
|
matching Runtime and native packages. A local archive does not establish public
|
|
176
178
|
registry availability; production preflight checks the registry resolutions.
|
|
@@ -9,6 +9,7 @@ const SDK = '@nimiplatform/sdk';
|
|
|
9
9
|
const KIT = '@nimiplatform/kit';
|
|
10
10
|
|
|
11
11
|
export const ADDITIONAL_DEPENDENCY_COMBINATIONS = Object.freeze([
|
|
12
|
+
Object.freeze({ sdkVersion: '^0.21.0', kitVersion: '^0.19.0', nimiShellTauriVersion: '0.10.0', source: 'existing' }),
|
|
12
13
|
Object.freeze({ sdkVersion: '^0.21.0', kitVersion: '^0.18.1', nimiShellTauriVersion: '0.10.0', source: 'existing' }),
|
|
13
14
|
Object.freeze({ sdkVersion: '^0.21.0', kitVersion: '^0.18.0', nimiShellTauriVersion: '0.10.0', source: 'existing' }),
|
|
14
15
|
Object.freeze({ sdkVersion: '^0.20.0', kitVersion: '^0.17.0', nimiShellTauriVersion: '0.9.0', source: 'existing' }),
|
package/lib/app-scaffold.mjs
CHANGED
|
@@ -38,7 +38,7 @@ export const SCAFFOLD_LOCK_PATH = `${SCAFFOLD_STATE_DIR}/lock.json`;
|
|
|
38
38
|
export const SCAFFOLD_TEMPLATE_LICENSE_NOTICE_PATH = 'licenses/nimi-app-template.txt';
|
|
39
39
|
// Files that earlier scaffold versions managed and that now belong to the App.
|
|
40
40
|
// Sync records the new owner and leaves the existing file exactly as it is.
|
|
41
|
-
export const SCAFFOLD_APP_OWNED_HANDOVER_PATHS = Object.freeze(['LICENSE']);
|
|
41
|
+
export const SCAFFOLD_APP_OWNED_HANDOVER_PATHS = Object.freeze(['LICENSE', 'README.md', 'SECURITY.md']);
|
|
42
42
|
const TEMPLATE_LICENSE_COPYRIGHT_LINE = /^Copyright \(c\) (\d{4}) \S.*$/gmu;
|
|
43
43
|
const TEMPLATE_LICENSE_NOTICE_HEADER = [
|
|
44
44
|
'Nimi App template notice',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nimiplatform/app-tools",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.4",
|
|
4
4
|
"description": "Public app-authoring CLI for Nimi App projects.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -15,14 +15,15 @@
|
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public",
|
|
18
|
-
"provenance": true
|
|
18
|
+
"provenance": true,
|
|
19
|
+
"tag": "maintenance-0.12"
|
|
19
20
|
},
|
|
20
21
|
"nimiScaffoldVersions": {
|
|
21
22
|
"sdkVersion": "^0.21.0",
|
|
22
|
-
"appToolsVersion": "^0.12.
|
|
23
|
+
"appToolsVersion": "^0.12.4",
|
|
23
24
|
"nimicodingVersion": "0.6.5",
|
|
24
25
|
"aiSdkVersion": "^6.0.85",
|
|
25
|
-
"kitVersion": "^0.
|
|
26
|
+
"kitVersion": "^0.20.0",
|
|
26
27
|
"reactVersion": "^19.3.0",
|
|
27
28
|
"reactDomVersion": "^19.3.0",
|
|
28
29
|
"i18nextVersion": "^26.4.2",
|
|
@@ -25,3 +25,5 @@ A scaffold from an app-tools version that still managed `LICENSE` hands it to th
|
|
|
25
25
|
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.
|
|
26
26
|
|
|
27
27
|
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.
|
|
28
|
+
|
|
29
|
+
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",
|