chore: rebrand to GSD-redux/get-shit-done-redux
Mirror of code, issues, and PRs from the upstream gsd-build/get-shit-done, which appears compromised or abandoned (maintainer unreachable since 2026-04-01; $GSD token linked to rug-pull). - Adds rebrand notice block at top of English README - Removes $GSD token badge and @gsd_foundation X badge (keeps Discord) - Renames npm packages: get-shit-done-cc -> get-shit-done-redux, @gsd-build/sdk -> @gsd-redux/sdk - Updates all repo URLs across docs, workflows, package.json, bin/ - Updates ci@gsd-build -> ci@gsd-redux in workflow git identities - Leaves CHANGELOG and .changeset/* alone (historical, time-stamped)
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
// Regression guard for bug #3130.
|
||||
//
|
||||
// Two failure modes were observed with the pre-fix npx invocation form:
|
||||
// 1. Cache-stale: bare `npx -y get-shit-done-cc@latest` hits npx's local
|
||||
// 1. Cache-stale: bare `npx -y get-shit-done-redux@latest` hits npx's local
|
||||
// cache and may pull an older version instead of @latest.
|
||||
// 2. Token-routing: Bash-tool wrappers misroute the `@` token in
|
||||
// `get-shit-done-cc@latest`, causing npm to error with
|
||||
// "Unknown command: get-shit-done-cc@latest".
|
||||
// `get-shit-done-redux@latest`, causing npm to error with
|
||||
// "Unknown command: get-shit-done-redux@latest".
|
||||
//
|
||||
// The robust form is:
|
||||
// npx -y --package=get-shit-done-cc@latest -- get-shit-done-cc $ARGS
|
||||
// npx -y --package=get-shit-done-redux@latest -- get-shit-done-redux $ARGS
|
||||
//
|
||||
// `--package=` forces a fresh registry fetch, bypassing the npx cache.
|
||||
// `--` clearly delineates npx flags from the run-command, preventing
|
||||
@@ -28,9 +28,9 @@ const UPDATE_WF = path.join(ROOT, 'get-shit-done', 'workflows', 'update.md');
|
||||
const src = fs.readFileSync(UPDATE_WF, 'utf8');
|
||||
|
||||
test('bug #3130: update.md contains no bare npx invocations (cache-stale form)', () => {
|
||||
// Any occurrence of `npx -y get-shit-done-cc@latest` without `--package=`
|
||||
// Any occurrence of `npx -y get-shit-done-redux@latest` without `--package=`
|
||||
// is the stale form that triggers the two failure modes.
|
||||
const stale = (src.match(/npx -y get-shit-done-cc@latest[^\n]*/g) || []);
|
||||
const stale = (src.match(/npx -y get-shit-done-redux@latest[^\n]*/g) || []);
|
||||
assert.deepEqual(
|
||||
stale,
|
||||
[],
|
||||
@@ -40,7 +40,7 @@ test('bug #3130: update.md contains no bare npx invocations (cache-stale form)',
|
||||
|
||||
test('bug #3130: update.md has >=3 robust npx invocations (--package= + -- separator)', () => {
|
||||
// Three sibling invocations: local, global, and unknown/fallback.
|
||||
const robust = (src.match(/npx -y --package=get-shit-done-cc@latest -- get-shit-done-cc/g) || []);
|
||||
const robust = (src.match(/npx -y --package=get-shit-done-redux@latest -- get-shit-done-redux/g) || []);
|
||||
assert.ok(
|
||||
robust.length >= 3,
|
||||
`Expected >=3 robust npx invocations in update.md, found ${robust.length}`,
|
||||
|
||||
Reference in New Issue
Block a user