Skip to content

chore(root): move stray files into scripts/ and docs/ - #27

Merged
Alx8g merged 1 commit into
mainfrom
chore/root-tidy
Sep 2, 2026
Merged

chore(root): move stray files into scripts/ and docs/#27
Alx8g merged 1 commit into
mainfrom
chore/root-tidy

Conversation

@Alx8g

@Alx8g Alx8g commented Sep 2, 2026

Copy link
Copy Markdown
Owner

What changed

Root entry count drops from 21 to 18. Three files were not root material:

  • MakerNSIS.tsscripts/MakerNSIS.ts: build tooling, now beside its sibling generate-installer-art.mjs. The NSIS script it generates is byte-identical (99% rename similarity, one import path changed).
  • PATCHED_ELECTRON.txtdocs/PATCHED_ELECTRON.txt: provenance prose, now with the other docs. The README documentation index links it.
  • THIRD_PARTY_NOTICES.txtdocs/THIRD_PARTY_NOTICES.txt: same treatment.

Packaged clients see no difference: forge.config.ts still copies both notices into the packaged resources under their original names, and verify-package.mjs checks the packaged copies against the new source paths. The in-client "Open-source notices" button URL now points at docs/THIRD_PARTY_NOTICES.txt on main.

Reference updates: forge.config.ts import and notice copy paths, tsconfig.json include (MakerNSIS.tsscripts/**/*), scripts/verify-package.mjs notice sources, src/branding.ts notices URL, tests/installer-nsis.test.ts imports, README links, and the ../PATCHED_ELECTRON.txt links in two docs.

Verification

  • pnpm run validate passes: lint, typecheck, 586/586 tests (the first run caught a stale relative import in the moved maker, fixed).
  • Grep over the repo shows no remaining references to the old paths outside generated bundle/ output.

The remaining 18 root entries are tool manifests (package.json, lockfile, workspace file, tsconfig.json, biome.jsonc, forge.config.ts), the standard doc trio, and the seven directories.

Next: your review. Nothing for you to do until then.

MakerNSIS.ts was build tooling sitting at the repo root; it joins its
sibling generate-installer-art.mjs in scripts/. The two provenance text
files join the other prose in docs/. Packaging still ships both notices
under their original names, so installed clients see no difference.

Updated references: forge.config.ts (import, notice copy paths),
tsconfig.json include, verify-package.mjs notice sources, branding.ts
notices URL, installer-nsis test imports, README links, and the two docs
that pointed at ../PATCHED_ELECTRON.txt.
@Alx8g
Alx8g merged commit 6b5a4f9 into main Sep 2, 2026
5 checks passed
@Alx8g
Alx8g deleted the chore/root-tidy branch September 2, 2026 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant