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:
@@ -23,18 +23,18 @@ const {
|
||||
resolveInstallPlanFromRuntimes,
|
||||
ALLOWED_CONFIG_RUNTIMES,
|
||||
INSTALL_SURFACES,
|
||||
} = require(path.join(ROOT, 'gsd-core', 'bin', 'lib', 'runtime-config-adapter-registry.cjs'));
|
||||
const registry = require(path.join(ROOT, 'gsd-core', 'bin', 'lib', 'capability-registry.cjs'));
|
||||
} = require(path.join(ROOT, 'msd-core', 'bin', 'lib', 'runtime-config-adapter-registry.cjs'));
|
||||
const registry = require(path.join(ROOT, 'msd-core', 'bin', 'lib', 'capability-registry.cjs'));
|
||||
|
||||
// Folded from tests/issue-57-runtime-install-no-drift.test.cjs (issue #57).
|
||||
process.env.GSD_TEST_MODE = '1'; // must precede require of bin/install.js
|
||||
process.env.MSD_TEST_MODE = '1'; // must precede require of bin/install.js
|
||||
const fs = require('node:fs');
|
||||
const os = require('node:os');
|
||||
const { allRuntimes, runtimeMap } = require(path.join(ROOT, 'bin', 'install.js'));
|
||||
const { resolveRuntimeArtifactLayout } = require(
|
||||
path.join(ROOT, 'gsd-core', 'bin', 'lib', 'runtime-artifact-layout.cjs'),
|
||||
path.join(ROOT, 'msd-core', 'bin', 'lib', 'runtime-artifact-layout.cjs'),
|
||||
);
|
||||
const { getGlobalConfigDir } = require(path.join(ROOT, 'gsd-core', 'bin', 'lib', 'runtime-homes.cjs'));
|
||||
const { getGlobalConfigDir } = require(path.join(ROOT, 'msd-core', 'bin', 'lib', 'runtime-homes.cjs'));
|
||||
const { createTempDir, cleanup } = require('./helpers.cjs');
|
||||
|
||||
const sorted = (iterable) => [...iterable].sort();
|
||||
@@ -470,7 +470,7 @@ describe('issue-57 AC2 — config-mutation dispatch is closed over the explicit
|
||||
'config adapter registry must reject an unknown runtime, not dispatch it silently',
|
||||
);
|
||||
assert.throws(
|
||||
() => resolveRuntimeArtifactLayout(SENTINEL, path.join(os.tmpdir(), 'gsd-57'), 'global'),
|
||||
() => resolveRuntimeArtifactLayout(SENTINEL, path.join(os.tmpdir(), 'msd-57'), 'global'),
|
||||
TypeError,
|
||||
'artifact-layout projection must reject an unknown runtime',
|
||||
);
|
||||
@@ -558,7 +558,7 @@ describe('issue-57 AC2 — config-mutation dispatch is closed over the explicit
|
||||
// exact inline form during authoring: the assertion below goes red).
|
||||
test('bin/install.js dispatches config through the REAL resolveInstallPlan (stubbing it changes install() output)', () => {
|
||||
const installPath = require.resolve('../bin/install.js');
|
||||
const registryPath = require.resolve('../gsd-core/bin/lib/runtime-config-adapter-registry.cjs');
|
||||
const registryPath = require.resolve('../msd-core/bin/lib/runtime-config-adapter-registry.cjs');
|
||||
const registryModule = require(registryPath);
|
||||
const originalResolveInstallPlan = registryModule.resolveInstallPlan;
|
||||
|
||||
@@ -574,7 +574,7 @@ describe('issue-57 AC2 — config-mutation dispatch is closed over the explicit
|
||||
delete require.cache[installPath];
|
||||
const stubbedInstaller = require(installPath);
|
||||
|
||||
const tmpDir = createTempDir('gsd-3466-delegation-guard-');
|
||||
const tmpDir = createTempDir('msd-3466-delegation-guard-');
|
||||
const previousCwd = process.cwd();
|
||||
process.chdir(tmpDir);
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user