Skip to content

feat: add changesets, oxfmt, renovate#1

Merged
stipsan merged 2 commits into
mainfrom
setup-pnpm-changesets
Nov 20, 2025
Merged

feat: add changesets, oxfmt, renovate#1
stipsan merged 2 commits into
mainfrom
setup-pnpm-changesets

Conversation

@stipsan
Copy link
Copy Markdown
Member

@stipsan stipsan commented Nov 20, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 20, 2025 12:27
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Nov 20, 2025

⚠️ No Changeset found

Latest commit: 8fa17d1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Nov 20, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​changesets/​changelog-github@​0.5.11001006788100
Addedoxfmt@​0.14.0901008895100
Addedtypescript@​5.9.31001009010090
Added@​changesets/​cli@​2.29.79710010093100

View full report

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Nov 20, 2025

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
License policy violation: npm typescript

License: LicenseRef-W3C-Community-Final-Specification-Agreement (package/ThirdPartyNoticeText.txt)

From: package.jsonnpm/typescript@5.9.3

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/typescript@5.9.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Ignoring alerts on:

  • safer-buffer@2.1.2

View full report

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

This PR sets up tooling infrastructure for a monorepo, including changesets for version management, oxfmt for code formatting, and Renovate for automated dependency updates.

Key Changes:

  • Added changesets configuration for managing releases and changelogs
  • Configured oxfmt as the code formatter with custom formatting rules
  • Set up Renovate bot with GitHub Actions workflows for automated dependency updates

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pnpm-workspace.yaml Configures pnpm workspace with TypeScript catalog, release age policies, and trust policies for dependencies
package.json Adds root package configuration with oxfmt and changesets dependencies, format and release scripts
.oxfmtrc.jsonc Configures oxfmt formatter settings including print width, quotes, and ignore patterns
.github/workflows/renovate.yml Workflow to automatically add changesets to Renovate dependency update PRs
.github/workflows/release.yml Workflow to handle releases using changesets on main branch pushes
.github/workflows/format-if-needed.yml Workflow to automatically format code when pushed to main
.github/renovate.json Configures Renovate bot with extended presets and ignored rules
.editorconfig Sets editor configuration for consistent formatting across IDEs
.changeset/config.json Configures changesets behavior including changelog format and internal dependency handling
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment thread .editorconfig Outdated
@@ -0,0 +1,16 @@
; editorconfig.org
root = true
charset= utf8
Copy link

Copilot AI Nov 20, 2025

Choose a reason for hiding this comment

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

Missing space before the equals sign. Should be charset = utf8 to follow standard EditorConfig formatting.

Copilot uses AI. Check for mistakes.
Comment thread pnpm-workspace.yaml
- groq@3.88.1-typegen-experimental.0
- reselect@5.1.1
- rxjs@7.8.2
- semver@5.7.2 || 6.3.1
Copy link

Copilot AI Nov 20, 2025

Choose a reason for hiding this comment

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

The trust policy exclusion uses an OR operator ('||') in the version specification, which is unusual syntax for this context. Verify this is valid pnpm trust policy syntax. Consider splitting into separate entries if this doesn't work as intended.

Suggested change
- semver@5.7.2 || 6.3.1
- semver@5.7.2
- semver@6.3.1

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is incorrect

@stipsan
Copy link
Copy Markdown
Member Author

stipsan commented Nov 20, 2025

@SocketSecurity ignore npm/safer-buffer@2.1.2

Copilot AI review requested due to automatic review settings November 20, 2025 12:30
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

Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment thread pnpm-workspace.yaml
- groq@3.88.1-typegen-experimental.0
- reselect@5.1.1
- rxjs@7.8.2
- semver@5.7.2 || 6.3.1
Copy link

Copilot AI Nov 20, 2025

Choose a reason for hiding this comment

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

The trust policy exclude pattern uses '||' which is not standard YAML syntax for version ranges. This should likely be separate entries or use pnpm's version range syntax.

Suggested change
- semver@5.7.2 || 6.3.1
- semver@5.7.2
- semver@6.3.1

Copilot uses AI. Check for mistakes.
release:
uses: sanity-io/.github/.github/workflows/changesets.yml@main
permissions:
contents: read # for checkout
Copy link

Copilot AI Nov 20, 2025

Choose a reason for hiding this comment

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

The release workflow requires write permissions to contents to create releases and update changelogs, but only has read permissions specified. This will prevent the workflow from completing its intended release operations.

Suggested change
contents: read # for checkout
contents: write # for release creation and changelog updates

Copilot uses AI. Check for mistakes.
@stipsan stipsan merged commit 3f23ea7 into main Nov 20, 2025
2 checks passed
@stipsan stipsan deleted the setup-pnpm-changesets branch November 20, 2025 12:31
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