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:
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* Regression test for #2657.
|
||||
*
|
||||
* Nine compiled `.cjs` artifacts under gsd-core/bin/lib/ were tracked in git
|
||||
* Nine compiled `.cjs` artifacts under msd-core/bin/lib/ were tracked in git
|
||||
* despite each having a matching src/*.cts source, violating ADR-457's
|
||||
* build-at-publish contract ("bin/lib/*.cjs" must be a gitignored build
|
||||
* artifact, never checked-in source of truth). A tracked compiled artifact
|
||||
@@ -43,7 +43,7 @@ const { PROBE_TIMEOUT_MS } = require('./helpers/timeouts.cjs');
|
||||
const { trackedCompiledArtifacts } = require('../scripts/lint-compiled-artifact-sync.cjs');
|
||||
|
||||
const REPO_ROOT = path.join(__dirname, '..');
|
||||
const LIB_DIR = 'gsd-core/bin/lib';
|
||||
const LIB_DIR = 'msd-core/bin/lib';
|
||||
|
||||
const NINE_ARTIFACTS = [
|
||||
'api-coverage.cjs',
|
||||
@@ -148,7 +148,7 @@ describe('fix-2657: compiled .cjs artifacts are gitignored, not tracked (ADR-457
|
||||
test('every one of the nine paths is ignored per git', () => {
|
||||
// Deliberately WITHOUT --no-index: git-check-ignore(1) operates on the
|
||||
// pathname alone and does not require the file to exist on disk (true
|
||||
// both with and without --no-index — this repo's gsd-test runner checks
|
||||
// both with and without --no-index — this repo's msd-test runner checks
|
||||
// out a fresh shallow clone per sha, where an untracked, gitignored path
|
||||
// exists as a pattern match only, never as a file on disk). Plain
|
||||
// check-ignore is preferred here over --no-index specifically because it
|
||||
@@ -168,7 +168,7 @@ describe('fix-2657: compiled .cjs artifacts are gitignored, not tracked (ADR-457
|
||||
pairs = trackedCompiledArtifacts();
|
||||
} catch (err) {
|
||||
// trackedCompiledArtifacts() (scripts/lint-compiled-artifact-sync.cjs)
|
||||
// wraps its OWN internal `git ls-files gsd-core/bin/lib` call, with cwd
|
||||
// wraps its OWN internal `git ls-files msd-core/bin/lib` call, with cwd
|
||||
// resolved from that script's own __dirname (should equal REPO_ROOT
|
||||
// here regardless of caller). A throw means THAT invocation failed —
|
||||
// not that any artifact is still tracked. Surface it, don't mask it.
|
||||
|
||||
Reference in New Issue
Block a user