Add Contributor Covenant Code of Conduct and update dependencies#22
Add Contributor Covenant Code of Conduct and update dependencies#22
Conversation
- Added `CODE_OF_CONDUCT.md` based on Contributor Covenant v2.1 to establish community standards. - Upgraded `typescript-eslint` dependencies to v8.57.1 for bug fixes and improvements. - Adjusted `node-version` in GitHub Actions workflows to `22` for compatibility. - Updated `lint` script in `package.json` to use `.eslint.json` flat config.
There was a problem hiding this comment.
Pull request overview
This PR adds community and security policy documentation updates while aligning tooling/runtime configuration (ESLint + TypeScript ESLint + GitHub Actions Node version) and modernizing the release workflow.
Changes:
- Added
CODE_OF_CONDUCT.md(Contributor Covenant v2.1) and updatedSECURITY.mdreporting instructions. - Updated
typescript-eslintto^8.57.1(and regenerated lockfile). - Updated GitHub Actions workflows to use Node
22, and adjusted linting/release steps (including switching release creation togh release createand enabling npm provenance).
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
package.json |
Updates the lint script and bumps typescript-eslint to ^8.57.1. |
package-lock.json |
Lockfile updates for the typescript-eslint bump (and related transitive updates). |
SECURITY.md |
Replaces generic maintainer contact guidance with a concrete security reporting email address. |
CODE_OF_CONDUCT.md |
Adds Contributor Covenant v2.1 code of conduct for community standards/enforcement. |
AGENTS.md |
Simplifies agent guidance to a concise “Conventions” section with common commands. |
.github/workflows/test.yml |
Pins CI Node runtime to 22. |
.github/workflows/deploy.yml |
Pins Node to 22, switches GitHub Release creation to gh CLI, and enables npm publish --provenance. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR adds community governance documentation and modernizes the project’s tooling/CI configuration (ESLint/TypeScript-ESLint, Node version, and release/publish workflow).
Changes:
- Add Contributor Covenant v2.1
CODE_OF_CONDUCT.mdand updateSECURITY.mdreporting instructions. - Upgrade
typescript-eslintfrom8.57.0→8.57.1(lockfile updated accordingly). - Standardize GitHub Actions on Node.js 22 and adjust the deploy workflow to create releases via
ghand publish to npm with provenance.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updates lint script and bumps typescript-eslint patch version. |
| package-lock.json | Locks typescript-eslint patch update and transitive updates. |
| SECURITY.md | Updates vulnerability reporting contact method. |
| CODE_OF_CONDUCT.md | Adds Contributor Covenant Code of Conduct (v2.1). |
| AGENTS.md | Simplifies/replaces prior “rules” section with concise project conventions. |
| .github/workflows/test.yml | Pins CI tests to Node.js 22. |
| .github/workflows/deploy.yml | Pins deploy to Node.js 22; switches release creation to gh; enables npm provenance publishing. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
| "test": "vitest run", | ||
| "test:watch": "vitest", | ||
| "lint": "eslint src --ext .ts", | ||
| "lint": "eslint src vite.config.ts", |
CODE_OF_CONDUCT.mdbased on Contributor Covenant v2.1 to establish community standards.typescript-eslintdependencies to v8.57.1 for bug fixes and improvements.node-versionin GitHub Actions workflows to22for compatibility.lintscript inpackage.jsonto use.eslint.jsonflat config.