Skip to content

docs: align governance docs with project contribution policy#83

Open
sdimunzio wants to merge 4 commits intomainfrom
docs/contributing-policy-alignment
Open

docs: align governance docs with project contribution policy#83
sdimunzio wants to merge 4 commits intomainfrom
docs/contributing-policy-alignment

Conversation

@sdimunzio
Copy link
Copy Markdown
Contributor

Description

Aligns wp-react-lib with the governance policy established across data-viz-ui, data-viz-api, and data-viz-wordpress.

Changes

  • CONTRIBUTING.md — full rewrite: replaces old fork-based instructions with the standard policy (no-fork model, access-request flow, Conventional Commits table with all prefixes including ci/, ! breaking change notation, changeset guide)
  • SECURITY.md — new file: private vulnerability reporting via GitHub advisories, email fallback, SLAs, scope
  • CODE_OF_CONDUCT.md — new file: Contributor Covenant v2.1
  • wp-react-lib/package.json — fix author email (trailing slash removed), license MITApache-2.0, add contributors field, fix stale repository URL (dg-wp-reactwp-react-lib)

Type of change

  • Documentation update (docs:)
  • Refactor / chore (chore:)

Checklist

  • PR title follows Conventional Commits format
  • No hardcoded credentials, internal URLs, client names, or PII introduced

sdimunzio added 3 commits May 7, 2026 14:58
- Replace old fork-based CONTRIBUTING.md with standard policy (no-fork
  model, Conventional Commits, ci/ branch prefix, access-request flow)
- Add SECURITY.md with private vulnerability reporting instructions
- Add CODE_OF_CONDUCT.md (Contributor Covenant v2.1)
- Fix wp-react-lib/package.json: author email, license MIT→Apache-2.0,
  add contributors field, fix stale repository URL (dg-wp-react→wp-react-lib)
Copilot AI review requested due to automatic review settings May 7, 2026 18:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Aligns this repository’s governance and contribution documentation with the broader “data-viz-*” policy, and updates the published package metadata accordingly.

Changes:

  • Rewrites CONTRIBUTING.md to standardize contribution workflow (branching, Conventional Commits, changesets, security guidance).
  • Adds SECURITY.md and CODE_OF_CONDUCT.md to formalize vulnerability reporting and community standards.
  • Updates wp-react-lib/package.json and README.md to reflect updated project metadata (license/repo URL/author/contributors).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
wp-react-lib/package.json Updates npm package metadata (author, contributors, license, repository URL).
SECURITY.md Adds a security policy and private vulnerability reporting process.
CODE_OF_CONDUCT.md Adds a Contributor Covenant v2.1-based code of conduct.
CONTRIBUTING.md Replaces legacy contribution guidance with standardized policy and workflows.
README.md Fixes “Author” heading and adds a dedicated Contributors section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread wp-react-lib/package.json
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"license": "MIT",
"license": "Apache-2.0",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

LICENSE was update on this commit too

Comment thread wp-react-lib/package.json
Comment on lines 3 to +5
"version": "0.6.2",
"author": "Sebastian Dimunzio <sdimunzio@developmentgateway.org/>",
"author": "Sebastian Dimunzio <sdimunzio@gmail.com>",
"contributors": [
Comment thread CONTRIBUTING.md
Comment on lines +20 to +31
### Prerequisites

Then, you can cherry-pick your project's branch over the **wp-react-lib** remote branch. By doing so, you can pick what commits to apply and what to leave out and you will choose only the commits that implement the generic new module functionality and you will leave out the client-specific customizations that are not meant to be posted to **wp-react-lib**.
- Node.js v22+
- pnpm v10+

And thanks for contributing to this project!
### Install

```bash
git clone git@github.com:devgateway/wp-react-lib.git
cd wp-react-lib/wp-react-lib
pnpm install
```
Comment thread CONTRIBUTING.md Outdated
Comment on lines +33 to +40
### Secrets scanning (pre-commit hook)

This project uses [Gitleaks](https://github.com/gitleaks/gitleaks) to prevent secrets from being accidentally committed. Install the hook after cloning:

```bash
pip install pre-commit
pre-commit install
```
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.

2 participants