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:
@@ -20,9 +20,9 @@ const sampleRelease = {
|
||||
'This pre-release is published to npm under the `next` dist-tag.',
|
||||
'',
|
||||
'```bash',
|
||||
'npm i @opengsd/gsd-core@1.4.0-rc.1',
|
||||
'npm i @golem15/msd-core@1.4.0-rc.1',
|
||||
'# or',
|
||||
'npm i @opengsd/gsd-core@next',
|
||||
'npm i @golem15/msd-core@next',
|
||||
'```',
|
||||
'',
|
||||
'## What\'s Changed',
|
||||
@@ -45,13 +45,13 @@ describe('discord release summary', () => {
|
||||
test('builds a hybrid payload with a preserved full changelog URL', () => {
|
||||
const payload = buildDiscordReleasePayload({
|
||||
release: sampleRelease,
|
||||
packageName: '@opengsd/gsd-core',
|
||||
packageName: '@golem15/msd-core',
|
||||
maxContent: 1850,
|
||||
});
|
||||
|
||||
assert.equal(payload.username, 'GSD Releases');
|
||||
assert.match(payload.content, /\*\*@opengsd\/gsd-core v1\.4\.0-rc\.1 pre-release is out\*\*/);
|
||||
assert.match(payload.content, /`npm i @opengsd\/gsd-core@1\.4\.0-rc\.1`/);
|
||||
assert.equal(payload.username, 'MSD Releases');
|
||||
assert.match(payload.content, /\*\*@golem15\/msd-core v1\.4\.0-rc\.1 pre-release is out\*\*/);
|
||||
assert.match(payload.content, /`npm i @golem15\/msd-core@1\.4\.0-rc\.1`/);
|
||||
assert.match(payload.content, /Full changelog: https:\/\/github\.com\/open-gsd\/gsd-core\/releases\/tag\/v1\.4\.0-rc\.1/);
|
||||
assert.doesNotMatch(payload.content, /\*\*Full Changelog\*\*:\s*$/m);
|
||||
assert.match(payload.content, /Research module cache \(#664\)/);
|
||||
@@ -85,12 +85,12 @@ describe('discord release summary', () => {
|
||||
|
||||
test('falls back to the release channel when no install block exists', () => {
|
||||
assert.equal(
|
||||
extractInstallCommand('', '@opengsd/gsd-core', { tagName: 'v1.4.0-rc.1', isPrerelease: true }),
|
||||
'npm i @opengsd/gsd-core@next'
|
||||
extractInstallCommand('', '@golem15/msd-core', { tagName: 'v1.4.0-rc.1', isPrerelease: true }),
|
||||
'npm i @golem15/msd-core@next'
|
||||
);
|
||||
assert.equal(
|
||||
extractInstallCommand('', '@opengsd/gsd-core', { tagName: 'v1.4.0', isPrerelease: false }),
|
||||
'npm i @opengsd/gsd-core@latest'
|
||||
extractInstallCommand('', '@golem15/msd-core', { tagName: 'v1.4.0', isPrerelease: false }),
|
||||
'npm i @golem15/msd-core@latest'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user