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 @@
|
||||
/**
|
||||
* Post-install path audit for workflow-invoked scripts (#2995).
|
||||
*
|
||||
* Walks workflowsDir, extracts every `${GSD_HOME[...]}/<path>.<cjs|js|sh>`
|
||||
* Walks workflowsDir, extracts every `${MSD_HOME[...]}/<path>.<cjs|js|sh>`
|
||||
* token, and asserts:
|
||||
* 1. the file exists in the repo at that <path> (catches typos)
|
||||
* 2. <path>'s first segment is in installedPrefixes (catches the
|
||||
@@ -21,10 +21,10 @@ const AUDIT_FINDING = Object.freeze({
|
||||
NOT_INSTALLED: 'not_installed',
|
||||
});
|
||||
|
||||
// Match `${GSD_HOME}` or `${GSD_HOME:-...}` followed by a /-rooted path
|
||||
// Match `${MSD_HOME}` or `${MSD_HOME:-...}` followed by a /-rooted path
|
||||
// ending in .cjs/.js/.sh. The path is captured verbatim (relative to
|
||||
// the install root).
|
||||
const REF_RE = /\$\{GSD_HOME(?::-[^}]*)?\}\/([A-Za-z0-9_./-]+\.(?:cjs|js|sh))/g;
|
||||
const REF_RE = /\$\{MSD_HOME(?::-[^}]*)?\}\/([A-Za-z0-9_./-]+\.(?:cjs|js|sh))/g;
|
||||
|
||||
function listWorkflowFiles(dir) {
|
||||
if (!fs.existsSync(dir)) return [];
|
||||
|
||||
Reference in New Issue
Block a user