Skip to content

feat: add community health files#51

Merged
weaponsforge merged 6 commits intodevfrom
feat/community-health-files
Feb 26, 2026
Merged

feat: add community health files#51
weaponsforge merged 6 commits intodevfrom
feat/community-health-files

Conversation

@weaponsforge
Copy link
Copy Markdown
Owner

@weaponsforge weaponsforge commented Feb 26, 2026

  • Feat: add community health files
  • Feat: add GitHub Issue and PR forms
  • Docs: add coding style documentation
  • Fix: supress Node deprecation warnings in the SEA build output

Summary by CodeRabbit

  • Documentation

    • Added CONTRIBUTING, CODING_STYLE, CODE_OF_CONDUCT, SECURITY, and updated README and docs with contribution and style guidance.
  • New Features

    • Added an npm run info command to display Node and runtime environment info.
  • GitHub Templates

    • Added standardized issue templates (bug report, feature request), a templates config, and a pull request template.
  • Bug Fixes

    • Fixed a broken link in the README.
  • Chores

    • Bumped package version to 1.2.4.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 26, 2026

Warning

Rate limit exceeded

@weaponsforge has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 13 minutes and 53 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between b4de2c3 and 7fc7925.

📒 Files selected for processing (2)
  • .github/ISSUE_TEMPLATE/bug_report.yml
  • docs/CODING_STYLE.md
📝 Walkthrough

Walkthrough

Adds repository governance docs and templates, a coding style guide, README fixes, a new env info CLI script and npm command, SEA runtime config change, removal of SEA detection in helpers, and minor CLI usage and package version updates.

Changes

Cohort / File(s) Summary
GitHub Templates & Config
​.github/ISSUE_TEMPLATE/bug_report.yml, ​.github/ISSUE_TEMPLATE/feature_request.yml, ​.github/ISSUE_TEMPLATE/config.yml, ​.github/PULL_REQUEST_TEMPLATE.md
Add bug and feature issue templates (YAML form fields, validations, labels), contact link for questions, and a PR template. Blank issues disabled.
Community & Governance
CODE_OF_CONDUCT.md, CONTRIBUTING.md, SECURITY.md
Add Contributor Covenant code of conduct, contribution guidelines, and a security disclosure policy with contact email and response expectations.
Documentation & README
docs/CODING_STYLE.md, docs/README_NPM.md, README.md
Add TypeScript/CLI coding style guide, insert contributing references, fix releases URL, document new dependencies (zod, ejs) and the new npm run info command.
Env Info Script & Package
app/src/scripts/envinfo.ts, app/package.json
Add envinfo.ts to print Node/platform/arch/V8/npm info; bump package version to 1.2.4 and add "info" npm script.
SEA Config & Helpers
app/sea-config.json, app/src/utils/helpers.ts
Add execArgv: ["--no-warnings"] to SEA config; remove dynamic node:sea detection and process.noDeprecation mutation in helpers.
CLI Usage Docs
app/src/scripts/cli/send.ts
Update usage examples to use sendemail:dev script namespace (text/html examples).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~22 minutes

Possibly related PRs

Poem

🐇 I nibbled docs and stitched a guide,
Templates sprouted far and wide.
A script to ask the runtime's name,
Calm warnings hush, version bumped in frame.
Hop — the repo's tidier for the ride! 🎉

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat: add community health files' accurately summarizes the main change—the PR adds multiple community-focused documentation files (CODE_OF_CONDUCT.md, CONTRIBUTING.md, SECURITY.md, etc.) and GitHub templates for issues and PRs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/community-health-files

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 6

🧹 Nitpick comments (1)
.github/ISSUE_TEMPLATE/bug_report.yml (1)

68-69: Minor: Placeholder version example is confusing.

The example says "v164.1.0" introduced the bug but "reverting to v171.4.0 works" — since 171 > 164, this implies upgrading fixed it, not reverting. Consider adjusting the example to be clearer, e.g., reverting to a version before the one that introduced the bug.

📝 Suggested clarification
       placeholder: |
-        I tested my reproduction against different `googleapis` releases, and the first one that introduced the bug was "v164.1.0", since reverting to "v171.4.0" works.
+        I tested my reproduction against different `googleapis` releases, and the first one that introduced the bug was "v171.4.0", since reverting to "v170.0.0" works.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/ISSUE_TEMPLATE/bug_report.yml around lines 68 - 69, The placeholder
example in the ISSUE_TEMPLATE YAML is internally inconsistent: it states the bug
was introduced in "v164.1.0" but that "reverting to v171.4.0" fixes it (171 >
164). Update the placeholder text so the rollback version is older than the
introduced version (e.g., say the bug was introduced in "v171.4.0" and reverting
to "v164.1.0" works), or reword to use clearer language like "upgrading to X
introduced the bug; reverting to a prior version Y fixes it"; edit the
placeholder value that contains the version strings ("v164.1.0", "v171.4.0")
accordingly.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/ISSUE_TEMPLATE/bug_report.yml:
- Line 37: In the .github/ISSUE_TEMPLATE/bug_report.yml template update the
description string that currently reads "Please run `next run info` in the root
directory of your project and paste the results." to use the correct command
"Please run `npm run info` in the root directory of your project and paste the
results."—edit the description field in the file to replace `next run info` with
`npm run info`.

In `@CONTRIBUTING.md`:
- Line 65: Replace the typo "Bione" with "ESLint" in the CONTRIBUTING.md
sentence that currently reads "Follow the standard Bione rules defined in its
`app/eslint.config.mjs` file." Update that phrase to "Follow the standard ESLint
rules defined in `app/eslint.config.mjs`" so it correctly references ESLint;
ensure the surrounding sentence and punctuation remain unchanged.
- Line 28: Replace the incorrect Markdown blockquote marker '|' with the proper
blockquote syntax '>' (or use a GitHub-style callout) in the sentence that
starts "Before commiting your changes, format your code..." so it renders as a
blockquote; update the line content to begin with '>' and ensure spelling of
"committing" is corrected if desired.

In `@docs/CODING_STYLE.md`:
- Line 55: Fix the typo in the docs/CODING_STYLE.md entry for the build
directory: replace the word "Releasees" with "Releases" in the line that reads
"`build/**` (SEA build output; local, published to GitHub Releasees)" so it
becomes "`build/**` (SEA build output; local, published to GitHub Releases)";
update only that text.
- Line 60: Fix the typo in the sentence starting with "Generated SEA artifacts
(Windows EXE + blob output with `build-sea-win.sh`)" by replacing the incorrect
word "thee" with "the" so the sentence reads "...This is what gets published to
the GitHub Releases page."; update the line in CODING_STYLE.md where that phrase
appears.

In `@SECURITY.md`:
- Line 15: Replace the misspelled word "malaware" with the correct spelling
"malware" in the SECURITY.md document (search for the token "malaware" and
update it to "malware") so the line reads "Type of issue (e.g. leaked secrets,
malware installation, CVE, cross-site scripting, etc.)".

---

Nitpick comments:
In @.github/ISSUE_TEMPLATE/bug_report.yml:
- Around line 68-69: The placeholder example in the ISSUE_TEMPLATE YAML is
internally inconsistent: it states the bug was introduced in "v164.1.0" but that
"reverting to v171.4.0" fixes it (171 > 164). Update the placeholder text so the
rollback version is older than the introduced version (e.g., say the bug was
introduced in "v171.4.0" and reverting to "v164.1.0" works), or reword to use
clearer language like "upgrading to X introduced the bug; reverting to a prior
version Y fixes it"; edit the placeholder value that contains the version
strings ("v164.1.0", "v171.4.0") accordingly.

ℹ️ Review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3a28732 and 64f0fee.

⛔ Files ignored due to path filters (1)
  • app/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (15)
  • .github/ISSUE_TEMPLATE/bug_report.yml
  • .github/ISSUE_TEMPLATE/config.yml
  • .github/ISSUE_TEMPLATE/feature_request.yml
  • .github/PULL_REQUEST_TEMPLATE.md
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • README.md
  • SECURITY.md
  • app/package.json
  • app/sea-config.json
  • app/src/scripts/cli/send.ts
  • app/src/scripts/envinfo.ts
  • app/src/utils/helpers.ts
  • docs/CODING_STYLE.md
  • docs/README_NPM.md
💤 Files with no reviewable changes (1)
  • app/src/utils/helpers.ts

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 26, 2026

Test Results

29 tests  ±0   29 ✅ ±0   21s ⏱️ -1s
 6 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 7fc7925. ± Comparison against base commit 3a28732.

♻️ This comment has been updated with latest results.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (2)
.github/ISSUE_TEMPLATE/bug_report.yml (1)

53-60: Use Other instead of Others in dropdown options.

This is a small copy consistency polish for issue-form UX.

Proposed copy fix
-        - 'Others'
+        - 'Other'
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/ISSUE_TEMPLATE/bug_report.yml around lines 53 - 60, Update the
dropdown option label "Others" to "Other" in the issue template YAML options
list (the array containing 'Not sure', 'CLI usage', 'Authentication', 'Email
templates', 'Docker image', 'Built binaries (SEA)', 'Others') so the entry reads
'Other' instead of 'Others' to ensure copy consistency in the form options.
docs/CODING_STYLE.md (1)

104-104: Update line 104 guidance on function declarations to reflect TypeScript best practices.

The current guidance mandates arrow functions for methods, but industry best practice (MDN, TypeScript standards) is to prefer prototype methods by default. Arrow function properties incur performance costs (new function per instance vs. shared on prototype) and create inheritance complications. Arrow functions should be used only for callbacks or when lexical this binding is specifically required.

📝 Suggested update
-- Use **arrow functions** instead of traditional function declarations when defining functions and methods. Only use `function()` definitions for specific cases.
+- Prefer standard function declarations for named utilities and standard class methods. Use **arrow functions** for callbacks, closures, or when lexical `this` binding is required.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/CODING_STYLE.md` at line 104, Replace the current sentence "Use **arrow
functions** instead of traditional function declarations when defining functions
and methods. Only use `function()` definitions for specific cases." with
guidance that prefers prototype (class) or named function/method declarations
for methods and class members by default, and recommends using arrow functions
only for callbacks or when lexical `this` binding is required; update the
wording to cite TypeScript/MDN best practices and note the performance and
inheritance implications of arrow function properties so readers know when to
prefer class/prototype methods versus arrow callbacks.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/ISSUE_TEMPLATE/bug_report.yml:
- Around line 20-23: The reproduction step "Y will happen" is too vague—replace
it with explicit observed vs expected placeholders and an example; update the
template around the reproduction list (the line containing "Y will happen" and
the following "validations:" block) to prompt reporters to fill "Observed
behavior:" and "Expected behavior:" and optionally give a short example (e.g.,
"Observed: the app logged an error; Expected: the email is sent successfully")
so repro steps are actionable and consistent.

In `@docs/CODING_STYLE.md`:
- Line 115: Fix the grammar in the early-return guideline by replacing the
incorrect phrase "a hooks or functions" with either "hooks or functions" or "a
hook or function" (choose "hooks or functions" to keep plural consistency) in
the sentence that starts "Use early `return` statements..." so it reads: "Use
early `return` statements to exit hooks or functions as soon as possible when
conditions aren't met, to avoid unnecessary processing and to keep the logic
clean and efficient."; locate and update that sentence in the CODING_STYLE.md
content.

---

Nitpick comments:
In @.github/ISSUE_TEMPLATE/bug_report.yml:
- Around line 53-60: Update the dropdown option label "Others" to "Other" in the
issue template YAML options list (the array containing 'Not sure', 'CLI usage',
'Authentication', 'Email templates', 'Docker image', 'Built binaries (SEA)',
'Others') so the entry reads 'Other' instead of 'Others' to ensure copy
consistency in the form options.

In `@docs/CODING_STYLE.md`:
- Line 104: Replace the current sentence "Use **arrow functions** instead of
traditional function declarations when defining functions and methods. Only use
`function()` definitions for specific cases." with guidance that prefers
prototype (class) or named function/method declarations for methods and class
members by default, and recommends using arrow functions only for callbacks or
when lexical `this` binding is required; update the wording to cite
TypeScript/MDN best practices and note the performance and inheritance
implications of arrow function properties so readers know when to prefer
class/prototype methods versus arrow callbacks.

ℹ️ Review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 64f0fee and b4de2c3.

📒 Files selected for processing (4)
  • .github/ISSUE_TEMPLATE/bug_report.yml
  • CONTRIBUTING.md
  • SECURITY.md
  • docs/CODING_STYLE.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • CONTRIBUTING.md

*concise bug reproduction steps placeholder
*fix: typo
@weaponsforge weaponsforge merged commit c5724a2 into dev Feb 26, 2026
4 checks passed
@weaponsforge weaponsforge deleted the feat/community-health-files branch February 26, 2026 07:59
@weaponsforge weaponsforge mentioned this pull request Feb 26, 2026
2 tasks
@coderabbitai coderabbitai bot mentioned this pull request Mar 27, 2026
4 tasks
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