Skip to content

chore: repository improvements for launch readiness - #1

Merged
ShahabAhmed01 merged 8 commits into
mainfrom
launch/2026-11-07-repository-improvements
Nov 12, 2026
Merged

ShahabAhmed01 merged 8 commits into
mainfrom
launch/2026-11-07-repository-improvements

Conversation

@ShahabAhmed01

Copy link
Copy Markdown
Owner

Summary

This PR prepares OutreachKit for public launch with the following improvements:

Security

  • Removed unused uuid dependency
  • Pinned qs to 6.17.1 via overrides to resolve dependency advisories
  • npm audit now reports 0 vulnerabilities
  • Added SECURITY.md with vulnerability reporting instructions

Testing

  • Fixed test pollution in test-all-lib.js (config.json save/restore)
  • Fixed race condition in test-server.js (scrape completion wait)
  • Changed test script to sequential execution (was parallel with --test)
  • All 5 test suites pass (248 assertions, 0 failures)

Code quality

  • Prettier formatting fixed across all source files
  • ESLint: 0 errors, 0 warnings
  • Fixed CSS bug: modal overlay now respects hidden attribute
  • Fixed config.json: clean defaults (activeCampaign=null, delays reset)

Documentation

  • Rewrote README.md with badges, social preview, screenshots, limitations
  • Added SECURITY.md
  • Added PR template and issue templates
  • Added CHANGELOG.md from git history
  • Added assets/social-preview.png and 6 screenshots

CI/CD

  • Improved CI workflow: lint/format fail build, npm caching, concurrency
  • Added dependabot.yml

GitHub

  • Added needs-triage label
  • Updated repository description

Verification

  • npm test: 248 passed, 0 failed
  • npm run lint: 0 errors
  • npm run format:check: all files compliant
  • npm audit --omit=dev: 0 vulnerabilities

CI will run on this PR. Please review and merge when ready.


Draft PR — do not merge until CI passes.

- Remove unused uuid dependency (was flagged by npm audit)
- Add overrides pinning qs to 6.17.1 to resolve DoS vulnerabilities
- npm audit --omit=dev now reports 0 vulnerabilities (was 1 critical, 1 high, 1 moderate)
- test-all-lib.js: save and restore config.json so suites don't pollute each other
- test-server.js: wait for scrape job to finish before calling /start
- package.json: run tests sequentially instead of parallel --test (avoids shared config.json conflicts)
- gui/app.css: add .modal-overlay[hidden] { display: none } so the modal
  no longer intercepts clicks when closed
- config.json: reset dangling activeCampaign to null; restore delayMinSec/
  delayMaxSec to documented defaults (60s / 120s)
- Apply prettier formatting across all source files (CRLF→LF, consistent style)
…cial preview

- Rewrote README.md with badges, social preview image, 6 screenshots,
  configuration reference, limitations, and Terms of Service warning
- Added SECURITY.md with vulnerability reporting and platform ToS guidance
- Added CHANGELOG.md from git history (Keep a Changelog format)
- Added .github/PULL_REQUEST_TEMPLATE.md
- Added .github/ISSUE_TEMPLATE/bug_report.yml and feature_request.yml
- Added assets/social-preview.png (1280x640) and 6 dashboard screenshots
- Improved CI workflow: lint/format fail build, npm caching, concurrency,
  least-privilege permissions, 5-minute server test timeout
- Added .github/dependabot.yml for npm and GitHub Actions
- Add !assets/screenshots/ negation to .gitignore
- Commit 6 dashboard screenshots captured from real application
- activeCampaign: null (no campaigns exist yet)
- ownerUsername: empty string (not set until user connects)
- Remove --with-deps flag from npx playwright install chromium
- ubuntu-latest already includes required system libraries for Chromium
- --with-deps attempts apt-get which can fail in the Actions runner
- Playwright 1.62.1 requires Node >= 20
- Remove Node 18 from CI matrix (was causing Playwright install failure)
- Update package.json engines to >=20.0.0
- Update README requirements to Node.js >= 20
@ShahabAhmed01
ShahabAhmed01 merged commit 4bb72bc into main Nov 12, 2026
2 checks passed
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