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:
@@ -1,16 +1,16 @@
|
||||
#!/usr/bin/env node
|
||||
/**
|
||||
* lint-compiled-artifact-sync — fail when a *tracked* compiled artifact under
|
||||
* gsd-core/bin/lib/ has drifted from its src/*.cts source.
|
||||
* msd-core/bin/lib/ has drifted from its src/*.cts source.
|
||||
*
|
||||
* ADR-457 compiles src/*.cts to gsd-core/bin/lib/*.cjs at build time and expects
|
||||
* ADR-457 compiles src/*.cts to msd-core/bin/lib/*.cjs at build time and expects
|
||||
* those artifacts to be gitignored. Most are (see .gitignore). A handful are
|
||||
* still tracked because the migration that moved the module into src/ did not
|
||||
* also add the emitted .cjs to .gitignore. While a compiled artifact remains
|
||||
* tracked, the committed bytes are what ships to anyone who reads the repo
|
||||
* without building — so they must match the source.
|
||||
*
|
||||
* #2653: gsd-core/bin/lib/api-coverage.cjs sat four days behind its .cts after
|
||||
* #2653: msd-core/bin/lib/api-coverage.cjs sat four days behind its .cts after
|
||||
* PR #2551 changed the source without regenerating the artifact, shipping a
|
||||
* module that silently lacked the entire #2366 fix while CI stayed green.
|
||||
*
|
||||
@@ -31,7 +31,7 @@ const os = require('node:os');
|
||||
const path = require('node:path');
|
||||
|
||||
const REPO_ROOT = path.resolve(__dirname, '..');
|
||||
const LIB_DIR = path.join('gsd-core', 'bin', 'lib');
|
||||
const LIB_DIR = path.join('msd-core', 'bin', 'lib');
|
||||
const SRC_DIR = 'src';
|
||||
|
||||
/** Frozen reason codes so tests assert on structure, not prose. */
|
||||
@@ -52,7 +52,7 @@ function git(args) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Tracked .cjs files under gsd-core/bin/lib/ that have a matching src/*.cts.
|
||||
* Tracked .cjs files under msd-core/bin/lib/ that have a matching src/*.cts.
|
||||
* Uses `git ls-files` so the set is derived from what git actually tracks
|
||||
* rather than a hand-maintained list that could itself drift.
|
||||
*/
|
||||
@@ -70,7 +70,7 @@ function trackedCompiledArtifacts() {
|
||||
|
||||
/** Compile the whole project to a throwaway outDir so the work tree is untouched. */
|
||||
function compileToTemp() {
|
||||
const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-artifact-sync-'));
|
||||
const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-artifact-sync-'));
|
||||
try {
|
||||
execFileSync(
|
||||
process.execPath,
|
||||
|
||||
Reference in New Issue
Block a user