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:
@@ -11,7 +11,7 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
process.env.GSD_TEST_MODE = '1';
|
||||
process.env.MSD_TEST_MODE = '1';
|
||||
|
||||
const { describe, test, before } = require('node:test');
|
||||
const assert = require('node:assert/strict');
|
||||
@@ -28,7 +28,7 @@ const { extractRequires } = require('./helpers/copy-script-fixture.cjs');
|
||||
* before `npm pack` computes the file list — a bounded but non-trivial
|
||||
* subprocess (~2s in isolation). Under the full parallel 28,000+-test CI
|
||||
* matrix this has been observed to take 60.6s and trip a 60_000ms bound
|
||||
* (#2931 gsd-test run d52d2ee4, linux-node24, duration_ms 60637.56),
|
||||
* (#2931 msd-test run d52d2ee4, linux-node24, duration_ms 60637.56),
|
||||
* aborting this file's `before()` hook and cascading every sibling test to
|
||||
* "cancelled". 120s keeps the bound finite (never unbounded, per the
|
||||
* subprocess-timeout convention) while giving real headroom for a
|
||||
@@ -237,11 +237,11 @@ describe('#2858 — shipped scripts require only shipped paths', () => {
|
||||
// ─── #3902: npm 12's pack --json shape must resolve like npm <=11's ──────────
|
||||
|
||||
describe('#3902 packListToPathSet resolves both npm pack --json shapes', () => {
|
||||
const FILES = [{ path: 'gsd-core/bin/gsd-tools.cjs' }, { path: 'lib/Backslash\\Case.cjs' }];
|
||||
const FILES = [{ path: 'msd-core/bin/msd-tools.cjs' }, { path: 'lib/Backslash\\Case.cjs' }];
|
||||
|
||||
test('npm <=11 array shape', () => {
|
||||
const set = packListToPathSet([{ files: FILES }]);
|
||||
assert.ok(set.has('gsd-core/bin/gsd-tools.cjs'));
|
||||
assert.ok(set.has('msd-core/bin/msd-tools.cjs'));
|
||||
assert.ok(set.has('lib/Backslash/Case.cjs'), 'windows separators normalized');
|
||||
});
|
||||
|
||||
@@ -249,8 +249,8 @@ describe('#3902 packListToPathSet resolves both npm pack --json shapes', () => {
|
||||
// npm 12 emits { "<pkg-name>": { files: [...] } } — parsed[0] is undefined
|
||||
// there, which used to throw in the before() hook and silently disable
|
||||
// the whole packaging guard, including both `does NOT ship` assertions.
|
||||
const set = packListToPathSet({ '@opengsd/gsd-core': { files: FILES } });
|
||||
assert.ok(set.has('gsd-core/bin/gsd-tools.cjs'));
|
||||
const set = packListToPathSet({ '@golem15/msd-core': { files: FILES } });
|
||||
assert.ok(set.has('msd-core/bin/msd-tools.cjs'));
|
||||
assert.ok(set.has('lib/Backslash/Case.cjs'));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user