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 @@
|
||||
* lint-legacy-dir-name.cjs
|
||||
*
|
||||
* Prevents accidental re-introduction of the bare legacy directory token
|
||||
* `get-shit-done` now that the package has been renamed to `gsd-core` (#604).
|
||||
* `get-shit-done` now that the package has been renamed to `msd-core` (#604).
|
||||
*
|
||||
* The forbidden token is constructed by splitting across the concat operator
|
||||
* so this guard script cannot flag itself:
|
||||
@@ -21,7 +21,7 @@
|
||||
* release — like CHANGELOG, not swept by rename PRs)
|
||||
* - Translated READMEs: README.ja-JP.md, README.ko-KR.md, README.pt-BR.md, README.zh-CN.md
|
||||
* - Locale-specific docs dirs: docs/ja-JP/, docs/ko-KR/, docs/pt-BR/, docs/zh-CN/
|
||||
* - Lines containing the marker `gsd-allow-legacy-name` (intentional uses)
|
||||
* - Lines containing the marker `msd-allow-legacy-name` (intentional uses)
|
||||
* - Binary files (detected by NUL byte scan)
|
||||
* - This guard script itself (by path)
|
||||
*
|
||||
@@ -39,12 +39,12 @@ const { ExitError, runMain } = require('./lib/cli-exit.cjs');
|
||||
const FORBIDDEN = 'get-shit' + '-done';
|
||||
const FORBIDDEN_RE = new RegExp(FORBIDDEN + '(?!-\\w)', 'gi');
|
||||
|
||||
const ALLOW_MARKER = 'gsd-allow-legacy-name';
|
||||
const ALLOW_MARKER = 'msd-allow-legacy-name';
|
||||
const SELF_PATH = path.resolve(__filename);
|
||||
// GSD_LINT_LEGACY_REPO_ROOT is used by tests to redirect the guard to a
|
||||
// MSD_LINT_LEGACY_REPO_ROOT is used by tests to redirect the guard to a
|
||||
// temporary fixture git repo without touching the real working tree.
|
||||
const REPO_ROOT = process.env.GSD_LINT_LEGACY_REPO_ROOT
|
||||
? path.resolve(process.env.GSD_LINT_LEGACY_REPO_ROOT)
|
||||
const REPO_ROOT = process.env.MSD_LINT_LEGACY_REPO_ROOT
|
||||
? path.resolve(process.env.MSD_LINT_LEGACY_REPO_ROOT)
|
||||
: path.resolve(__dirname, '..');
|
||||
|
||||
const ALLOWLIST_FILES = new Set([
|
||||
@@ -152,7 +152,7 @@ function main() {
|
||||
process.stderr.write(' ' + v.file + ':' + v.line + ':' + v.col + ' — ' + JSON.stringify(v.text) + '\n');
|
||||
}
|
||||
process.stderr.write('\n');
|
||||
process.stderr.write('Fix: rename to gsd-core, or add `gsd-allow-legacy-name` marker on the line if the\n');
|
||||
process.stderr.write('Fix: rename to msd-core, or add `msd-allow-legacy-name` marker on the line if the\n');
|
||||
process.stderr.write(' use is intentional (migration modules, tests, guard, changeset).\n\n');
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user