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:
@@ -57,7 +57,7 @@ function writeMock(tmpDir, name, content) {
|
||||
* exactly once.
|
||||
*/
|
||||
function runPreCommit(t, stagedLines) {
|
||||
const tmpDir = createTempDir('gsd-precommit-hook-');
|
||||
const tmpDir = createTempDir('msd-precommit-hook-');
|
||||
t.after(() => cleanup(tmpDir));
|
||||
|
||||
const marker = path.join(tmpDir, 'npm-calls.txt');
|
||||
@@ -78,7 +78,7 @@ function runPreCommit(t, stagedLines) {
|
||||
const mockNpm = writeMock(
|
||||
tmpDir,
|
||||
'npm',
|
||||
`#!/usr/bin/env bash\nprintf 'call %s\\n' "$*" >> "$GSD_TEST_NPM_MARKER"\n`,
|
||||
`#!/usr/bin/env bash\nprintf 'call %s\\n' "$*" >> "$MSD_TEST_NPM_MARKER"\n`,
|
||||
);
|
||||
|
||||
// This IS the fan-out class HOOK_FANOUT_TIMEOUT_MS documents: the
|
||||
@@ -95,7 +95,7 @@ function runPreCommit(t, stagedLines) {
|
||||
...process.env,
|
||||
GIT_OVERRIDE: mockGit,
|
||||
NPM_OVERRIDE: mockNpm,
|
||||
GSD_TEST_NPM_MARKER: marker,
|
||||
MSD_TEST_NPM_MARKER: marker,
|
||||
},
|
||||
timeoutMs: HOOK_FANOUT_TIMEOUT_MS,
|
||||
});
|
||||
@@ -227,7 +227,7 @@ describe('.githooks/pre-commit alias drift guard', () => {
|
||||
test('does not watch the gitignored build output', (t) => {
|
||||
const { result, npmCalls } = runPreCommit(
|
||||
t,
|
||||
staged('gsd-core/bin/lib/command-aliases.cjs'),
|
||||
staged('msd-core/bin/lib/command-aliases.cjs'),
|
||||
);
|
||||
|
||||
throwIfFailed(result, `bash ${HOOK_PATH}`);
|
||||
@@ -250,7 +250,7 @@ describe('.githooks/pre-commit alias drift guard', () => {
|
||||
t,
|
||||
staged(
|
||||
'README.md',
|
||||
'docs/adr/0174-retire-gsd-sdk-package-boundary.md',
|
||||
'docs/adr/0174-retire-msd-sdk-package-boundary.md',
|
||||
'src/command-aliases.cts',
|
||||
'tests/helpers.cjs',
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user