Skip to content

Commit 6e07397

Browse files
committed
refactor: leverage gh-pages v6 native features
- Delegate CNAME and .nojekyll file creation to gh-pages v6+ (PR #533) - Remove createCnameFile() and createNojekyllFile() - gh-pages handles this now - Switch from callback-based to Promise-based gh-pages API (v5+ fix) - Add real filesystem tests for CNAME/.nojekyll file creation verification - Update all test mocks from callback to mockResolvedValue/mockRejectedValue - Fix gh-pages.clean() test to properly test repo-specific cache deletion - Update documentation baseline from v3.2.3 to v6.3.0 This commit completes the gh-pages v6 upgrade by using native features instead of custom workarounds.
1 parent 8b9e6bb commit 6e07397

11 files changed

+491
-403
lines changed

docs/README_contributors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ The `getRemoteUrl` function in `src/engine/engine.prepare-options-helpers.ts` ca
272272
- If the internal API changed significantly: implement our own git remote discovery using `child_process.execSync('git config --get remote.{remote}.url')`
273273
- If gh-pages added a public API for this: switch to the public API
274274

275-
**Current baseline:** Tests are pinned to gh-pages v3.2.3 behavior and error messages.
275+
**Current baseline:** Tests are pinned to gh-pages v6.3.0 behavior and error messages.
276276

277277
## Keeping track of all the forks
278278

0 commit comments

Comments
 (0)