@shardworks/nexus 0.1.54 → 0.1.56
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upgrade.d.ts","sourceRoot":"","sources":["../../src/commands/upgrade.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"upgrade.d.ts","sourceRoot":"","sources":["../../src/commands/upgrade.ts"],"names":[],"mappings":"AAoFA,wBAAgB,kBAAkB,gCAkJjC"}
|
package/dist/commands/upgrade.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { createCommand } from 'commander';
|
|
2
|
+
import fs from 'node:fs';
|
|
2
3
|
import path from 'node:path';
|
|
3
4
|
import { execFileSync } from 'node:child_process';
|
|
4
|
-
import { planUpgrade, applyUpgrade, readGuildConfig } from '@shardworks/nexus-core';
|
|
5
|
+
import { planUpgrade, applyUpgrade, readGuildConfig, writeGuildConfig } from '@shardworks/nexus-core';
|
|
5
6
|
import { resolveHome } from "../resolve-home.js";
|
|
6
7
|
const DEFAULT_BUNDLE = '@shardworks/guild-starter-kit';
|
|
7
8
|
/**
|
|
@@ -20,9 +21,54 @@ function fetchBundle(home, bundleSpec) {
|
|
|
20
21
|
}
|
|
21
22
|
return path.join(home, 'node_modules', packageName);
|
|
22
23
|
}
|
|
24
|
+
/** Read the resolved version of a package from its installed package.json. */
|
|
25
|
+
function installedVersion(home, packageName) {
|
|
26
|
+
const pkgPath = path.join(home, 'node_modules', packageName, 'package.json');
|
|
27
|
+
if (!fs.existsSync(pkgPath))
|
|
28
|
+
return null;
|
|
29
|
+
const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8'));
|
|
30
|
+
return pkg.version ?? null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Update @shardworks/* dependencies to their latest versions.
|
|
34
|
+
*
|
|
35
|
+
* Reads the guild's package.json for @shardworks/* deps, snapshots their
|
|
36
|
+
* current installed versions, runs `npm install <pkg>@latest` for each,
|
|
37
|
+
* then diffs to find what actually changed. This updates both the
|
|
38
|
+
* package.json specifiers and the lockfile.
|
|
39
|
+
*/
|
|
40
|
+
function updateDependencies(home) {
|
|
41
|
+
// Read the guild's declared dependencies
|
|
42
|
+
const pkgPath = path.join(home, 'package.json');
|
|
43
|
+
const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8'));
|
|
44
|
+
const deps = (pkg.dependencies ?? {});
|
|
45
|
+
// Find @shardworks/* packages
|
|
46
|
+
const shardworksDeps = Object.keys(deps).filter(name => name.startsWith('@shardworks/'));
|
|
47
|
+
if (shardworksDeps.length === 0)
|
|
48
|
+
return [];
|
|
49
|
+
// Snapshot current installed versions
|
|
50
|
+
const before = new Map();
|
|
51
|
+
for (const name of shardworksDeps) {
|
|
52
|
+
before.set(name, installedVersion(home, name));
|
|
53
|
+
}
|
|
54
|
+
// Install latest versions — this updates both package.json specifiers
|
|
55
|
+
// and the lockfile, unlike `npm update` which only touches the lockfile.
|
|
56
|
+
const specs = shardworksDeps.map(name => `${name}@latest`);
|
|
57
|
+
execFileSync('npm', ['install', ...specs], { cwd: home, stdio: 'pipe' });
|
|
58
|
+
// Diff versions
|
|
59
|
+
const updates = [];
|
|
60
|
+
for (const name of shardworksDeps) {
|
|
61
|
+
const fromVersion = before.get(name) ?? null;
|
|
62
|
+
const toVersion = installedVersion(home, name);
|
|
63
|
+
if (fromVersion !== toVersion) {
|
|
64
|
+
updates.push({ name, from: fromVersion, to: toVersion });
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return updates;
|
|
68
|
+
}
|
|
23
69
|
export function makeUpgradeCommand() {
|
|
24
70
|
return createCommand('upgrade')
|
|
25
|
-
.description('Upgrade the guild to the latest framework version — migrations, training content, and stale anima detection')
|
|
71
|
+
.description('Upgrade the guild to the latest framework version — npm packages, migrations, training content, and stale anima detection')
|
|
26
72
|
.option('--dry-run', 'Show what would change without applying')
|
|
27
73
|
.option('--recompose', 'Retire and recreate stale animas with fresh compositions')
|
|
28
74
|
.option('--bundle <spec>', 'Bundle to upgrade from (npm specifier)', DEFAULT_BUNDLE)
|
|
@@ -33,14 +79,26 @@ export function makeUpgradeCommand() {
|
|
|
33
79
|
console.log(`Guild: ${config.name}`);
|
|
34
80
|
console.log(`Current nexus version: ${config.nexus}`);
|
|
35
81
|
console.log();
|
|
36
|
-
//
|
|
82
|
+
// ── Step 1: Update npm dependencies ──────────────────────────
|
|
83
|
+
console.log('Updating @shardworks/* packages...');
|
|
84
|
+
const depUpdates = options.dryRun ? [] : updateDependencies(home);
|
|
85
|
+
if (depUpdates.length > 0) {
|
|
86
|
+
for (const dep of depUpdates) {
|
|
87
|
+
console.log(` ↑ ${dep.name}: ${dep.from ?? 'not installed'} → ${dep.to}`);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
console.log(' All packages up to date.');
|
|
92
|
+
}
|
|
93
|
+
console.log();
|
|
94
|
+
// ── Step 2: Fetch and plan bundle upgrade ────────────────────
|
|
37
95
|
console.log(`Fetching ${options.bundle}...`);
|
|
38
96
|
const bundleDir = fetchBundle(home, options.bundle);
|
|
39
97
|
console.log();
|
|
40
98
|
// Plan the upgrade
|
|
41
99
|
const plan = planUpgrade(home, bundleDir);
|
|
42
100
|
// ── Report ────────────────────────────────────────────────────
|
|
43
|
-
console.log(`
|
|
101
|
+
console.log(`Bundle plan from ${plan.bundleSource}:`);
|
|
44
102
|
console.log();
|
|
45
103
|
// Migrations
|
|
46
104
|
if (plan.migrations.length > 0) {
|
|
@@ -81,34 +139,53 @@ export function makeUpgradeCommand() {
|
|
|
81
139
|
}
|
|
82
140
|
console.log();
|
|
83
141
|
}
|
|
84
|
-
// Nothing to do
|
|
85
|
-
if (plan.isEmpty) {
|
|
142
|
+
// Nothing to do in the bundle
|
|
143
|
+
if (plan.isEmpty && depUpdates.length === 0) {
|
|
86
144
|
console.log(' Everything is up to date. Nothing to upgrade.');
|
|
87
145
|
return;
|
|
88
146
|
}
|
|
147
|
+
if (plan.isEmpty) {
|
|
148
|
+
console.log(' Bundle content is up to date.');
|
|
149
|
+
console.log();
|
|
150
|
+
}
|
|
89
151
|
// Dry run stops here
|
|
90
152
|
if (options.dryRun) {
|
|
91
153
|
console.log('Dry run — no changes applied.');
|
|
92
154
|
return;
|
|
93
155
|
}
|
|
94
|
-
// ── Apply
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
156
|
+
// ── Step 3: Apply bundle changes ─────────────────────────────
|
|
157
|
+
if (!plan.isEmpty) {
|
|
158
|
+
console.log('Applying bundle upgrade...');
|
|
159
|
+
const result = applyUpgrade(home, bundleDir, plan, {
|
|
160
|
+
recompose: options.recompose,
|
|
161
|
+
});
|
|
162
|
+
if (result.migrationsApplied.length > 0) {
|
|
163
|
+
console.log(` ✓ Applied ${result.migrationsApplied.length} migration(s)`);
|
|
164
|
+
}
|
|
165
|
+
if (result.contentUpdated.length > 0) {
|
|
166
|
+
console.log(` ✓ Updated ${result.contentUpdated.length} content artifact(s)`);
|
|
167
|
+
}
|
|
168
|
+
if (result.recomposedAnimas.length > 0) {
|
|
169
|
+
console.log(` ✓ Recomposed ${result.recomposedAnimas.length} anima(s): ${result.recomposedAnimas.join(', ')}`);
|
|
170
|
+
}
|
|
171
|
+
else if (result.staleAnimaCount > 0) {
|
|
172
|
+
console.log(` ⚠ ${result.staleAnimaCount} anima(s) using outdated compositions`);
|
|
173
|
+
}
|
|
174
|
+
console.log();
|
|
107
175
|
}
|
|
108
|
-
|
|
109
|
-
|
|
176
|
+
// ── Step 4: Update nexus version stamp ───────────────────────
|
|
177
|
+
// Always stamp the version — even if the bundle had no changes,
|
|
178
|
+
// the framework packages may have been updated.
|
|
179
|
+
const versionMatch = plan.bundleSource.match(/@(\d+\.\d+\.\d+.*)$/);
|
|
180
|
+
if (versionMatch) {
|
|
181
|
+
const updatedConfig = readGuildConfig(home);
|
|
182
|
+
const newVersion = versionMatch[1];
|
|
183
|
+
if (updatedConfig.nexus !== newVersion) {
|
|
184
|
+
updatedConfig.nexus = newVersion;
|
|
185
|
+
writeGuildConfig(home, updatedConfig);
|
|
186
|
+
console.log(`Nexus version: ${config.nexus} → ${newVersion}`);
|
|
187
|
+
}
|
|
110
188
|
}
|
|
111
|
-
console.log();
|
|
112
189
|
console.log('Upgrade complete.');
|
|
113
190
|
}
|
|
114
191
|
catch (err) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upgrade.js","sourceRoot":"","sources":["../../src/commands/upgrade.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"upgrade.js","sourceRoot":"","sources":["../../src/commands/upgrade.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,cAAc,GAAG,+BAA+B,CAAC;AAEvD;;;GAGG;AACH,SAAS,WAAW,CAAC,IAAY,EAAE,UAAkB;IACnD,YAAY,CAAC,KAAK,EAAE,CAAC,SAAS,EAAE,WAAW,E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
|
27
27
|
"@shardworks/guild-monitor": "0.1.2",
|
|
28
28
|
"better-sqlite3": "12.8.0",
|
|
29
29
|
"commander": "14.0.3",
|
|
30
|
-
"@shardworks/claude-code-session-provider": "0.1.
|
|
31
|
-
"@shardworks/nexus-core": "0.1.
|
|
32
|
-
"@shardworks/nexus-stdlib": "0.1.
|
|
30
|
+
"@shardworks/claude-code-session-provider": "0.1.56",
|
|
31
|
+
"@shardworks/nexus-core": "0.1.56",
|
|
32
|
+
"@shardworks/nexus-stdlib": "0.1.56"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@commander-js/extra-typings": "14.0.0",
|