refactor: hard-fork GSD -> MSD (Make Software Done)
Mechanical rename produced by scripts/msd-rename.cjs: gsd/Gsd/GSD -> msd/Msd/MSD across contents and paths, upstream package/repo coordinates -> @golem15/msd-core and golem15com/msd-core. Deep links into upstream history, sibling upstream packages, the GSD-2 import feature, CHANGELOG.md and .changeset/ are kept as-is. Hand edits on top: MSD block-letter banner and logos, LICENSE copyright line, package/plugin identity, regenerated lockfile, install-tree fixtures, derived registries and benchmark baseline; migration checksum baseline re-locked (MSD keeps its own install state, so no install had applied the old sums); sort-order and regex-escaped expectations in tests adjusted.
This commit is contained in:
@@ -8,7 +8,7 @@ const assert = require('node:assert/strict');
|
||||
const {
|
||||
getMilestoneFromPhaseId,
|
||||
getPhaseDirFromPhaseId,
|
||||
} = require('../gsd-core/bin/lib/phase-id.cjs');
|
||||
} = require('../msd-core/bin/lib/phase-id.cjs');
|
||||
|
||||
// ─── getMilestoneFromPhaseId ────────────────────────────────────────────────
|
||||
|
||||
@@ -41,8 +41,8 @@ describe('getMilestoneFromPhaseId', () => {
|
||||
assert.strictEqual(getMilestoneFromPhaseId('CK-2-01'), 'v2.0');
|
||||
});
|
||||
|
||||
test('strips longer project_code prefix: GSD-10-01 → v10.0', () => {
|
||||
assert.strictEqual(getMilestoneFromPhaseId('GSD-10-01'), 'v10.0');
|
||||
test('strips longer project_code prefix: MSD-10-01 → v10.0', () => {
|
||||
assert.strictEqual(getMilestoneFromPhaseId('MSD-10-01'), 'v10.0');
|
||||
});
|
||||
|
||||
test('returns null for fully non-numeric input', () => {
|
||||
@@ -55,8 +55,8 @@ describe('getMilestoneFromPhaseId', () => {
|
||||
describe('getPhaseDirFromPhaseId', () => {
|
||||
test('produces zero-padded dir with project code', () => {
|
||||
assert.strictEqual(
|
||||
getPhaseDirFromPhaseId('2-01', 'Setup Database', 'GSD'),
|
||||
'GSD-02-01-setup-database',
|
||||
getPhaseDirFromPhaseId('2-01', 'Setup Database', 'MSD'),
|
||||
'MSD-02-01-setup-database',
|
||||
);
|
||||
});
|
||||
|
||||
@@ -83,7 +83,7 @@ describe('getPhaseDirFromPhaseId', () => {
|
||||
|
||||
test('returns null for phase IDs without the M-NN hyphen form', () => {
|
||||
assert.strictEqual(
|
||||
getPhaseDirFromPhaseId('nohyphen', 'Some Title', 'GSD'),
|
||||
getPhaseDirFromPhaseId('nohyphen', 'Some Title', 'MSD'),
|
||||
null,
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user