From 8cc7d2fe8cad4c0200d6f173a027567ac5a89ad4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 27 Oct 2026 04:29:46 +0000 Subject: [PATCH 1/2] chore(deps): update dependency @biomejs/biome to v2.6.2 --- package-lock.json | 108 ++++++++++++++++++++++++++++++---------------- package.json | 2 +- 2 files changed, 73 insertions(+), 37 deletions(-) diff --git a/package-lock.json b/package-lock.json index 354478a..b69d9db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@babel/core": "7.29.7", "@babel/preset-react": "7.29.7", "@babel/preset-typescript": "7.29.7", - "@biomejs/biome": "2.5.15", + "@biomejs/biome": "2.6.2", "@doist/tsconfig": "2.0.1", "@types/babel__core": "7.20.5", "@types/node": "25.9.9", @@ -1201,9 +1201,9 @@ } }, "node_modules/@biomejs/biome": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.5.15.tgz", - "integrity": "sha512-WZTW4slm/pdkh92K6t/3aEN++44JD1PQ7squ7RCMLI1flHGl43DVOIGXvCjHiZgBMO1V4uYxoFNtqrIA4qGuIQ==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.6.2.tgz", + "integrity": "sha512-JLTFAFF9vfJcWwLhwuL4ZHflLg+XfTEC4IUnAlJRX1cMRt57++Xd1Ysb9Fdmlh9YUrvyCXfPEHjjEIqKJGdPKw==", "dev": true, "license": "MIT OR Apache-2.0", "bin": { @@ -1217,20 +1217,56 @@ "url": "https://opencollective.com/biome" }, "optionalDependencies": { - "@biomejs/cli-darwin-arm64": "2.5.15", - "@biomejs/cli-darwin-x64": "2.5.15", - "@biomejs/cli-linux-arm64": "2.5.15", - "@biomejs/cli-linux-arm64-musl": "2.5.15", - "@biomejs/cli-linux-x64": "2.5.15", - "@biomejs/cli-linux-x64-musl": "2.5.15", - "@biomejs/cli-win32-arm64": "2.5.15", - "@biomejs/cli-win32-x64": "2.5.15" + "@biomejs/cli-android-arm64": "2.6.2", + "@biomejs/cli-android-x64": "2.6.2", + "@biomejs/cli-darwin-arm64": "2.6.2", + "@biomejs/cli-darwin-x64": "2.6.2", + "@biomejs/cli-linux-arm64": "2.6.2", + "@biomejs/cli-linux-arm64-musl": "2.6.2", + "@biomejs/cli-linux-x64": "2.6.2", + "@biomejs/cli-linux-x64-musl": "2.6.2", + "@biomejs/cli-win32-arm64": "2.6.2", + "@biomejs/cli-win32-x64": "2.6.2" + } + }, + "node_modules/@biomejs/cli-android-arm64": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-android-arm64/-/cli-android-arm64-2.6.2.tgz", + "integrity": "sha512-dMpdpH7zFEL5FxuIA9LJW+RoNyC3oeDB7PJyjqVVwtMNoKB5uo8OZYmrVSBikn71txzYwy/3xga7UME6bJQZ6A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-android-x64": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-android-x64/-/cli-android-x64-2.6.2.tgz", + "integrity": "sha512-XCwEhPBGYzuRA502dRkCcQ+5cefQwuxQR7f9wa4do92dvIcuBL6VMLMFB/fL9hlpZ4dGSfHdpGFSIDlp52mg0A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.21.3" } }, "node_modules/@biomejs/cli-darwin-arm64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.5.15.tgz", - "integrity": "sha512-BZVzFhJ/mUvTLMYbc9x6el0o2Uv5zP7bACYyhFb6fSc1giroXm7PL0a5KqMJ9F+/BnkYRjagD/ROSDVOZ6eapg==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.6.2.tgz", + "integrity": "sha512-rpXtabRgyZNz3aCjd/cRoSZGYi92R9eAXdUUe1sigIsRDyfMwgThaa98Yxt1fiZ7mxquqkAyIHIo08N/e1ToBA==", "cpu": [ "arm64" ], @@ -1245,9 +1281,9 @@ } }, "node_modules/@biomejs/cli-darwin-x64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.5.15.tgz", - "integrity": "sha512-V5Kw63V+fVGNFhFrizDxMbGXAzZCh8kYzJpy3GI6gTapWDg7bZK9oYC9CbVgQSEdTnupz0U5Efz8Ev+5vdBBXw==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.6.2.tgz", + "integrity": "sha512-7GGzlm1GxUKoQ9CNV8tQZ+XXad4sz+v+uzNsWlhaGjsnZqUOVBw1OmAMpG3uNV/Mr0UrCpRJvSK0qvfuqSQOjg==", "cpu": [ "x64" ], @@ -1262,9 +1298,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.5.15.tgz", - "integrity": "sha512-XaG7P7eeSLYETD3K9grfB0mQmpLQZjygdbsxekWBJAg4am79fGAtRpfRyNnTvXB2fZFNnJZG3nXm7HBat0+VUw==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.6.2.tgz", + "integrity": "sha512-Qs4CofCE8MdkjZFfEjswh2NAcbyQ7IVYtGSzQBvLqFlla/CSXroGbktUFndWG/kVSTywadauzAspYWtSfqAc2g==", "cpu": [ "arm64" ], @@ -1282,9 +1318,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64-musl": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.5.15.tgz", - "integrity": "sha512-tGzZUTcJCV7tj5Adh/Gn6nR4MycqA3iohq2LEcrarAgRBkU0h0OKd2UzCRkOsOYOuUGaUJb4YmqRqyy2feGGSw==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.6.2.tgz", + "integrity": "sha512-I+FYCLVSmR3cYfKcQ+KNeLOZ5w0wRd9fQFlw3JbSvy7bkegvTqdHaBRRcJzHQB/1ldldTLIcG21ka6X2cTWmJw==", "cpu": [ "arm64" ], @@ -1302,9 +1338,9 @@ } }, "node_modules/@biomejs/cli-linux-x64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.5.15.tgz", - "integrity": "sha512-xE4iEW/3LqlYj9GFgGrFsFSH51dEEpUbYWBfeOv0q87WkUDxK2o/HhreSb7qMJqck70RVM6Lg96hgedcAYcOkA==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.6.2.tgz", + "integrity": "sha512-FJKsb95418139xDdbv9XnNJsIIwvsgR21Of0aE9B9U+nQlOtRq5gJl2ps0jZUmYBxTaOlP9BKo8N+Ff8+Rui1g==", "cpu": [ "x64" ], @@ -1322,9 +1358,9 @@ } }, "node_modules/@biomejs/cli-linux-x64-musl": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.5.15.tgz", - "integrity": "sha512-IlxUcyxilVGPsE008x13pWdkTbU3nQpP2i9b5UrbOYj6goBkKsRX1XB7yJLcV+O1H9LBchIIm4adOaVLZBX0ZQ==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.6.2.tgz", + "integrity": "sha512-wnjEXAK2pDd2j8r9gKI3L+44sIxjkYzS5aHmD1+K57RNJ3sFyT4n22NH6QFPqqeVdRBxN54H3kckUUCrFKCcJw==", "cpu": [ "x64" ], @@ -1342,9 +1378,9 @@ } }, "node_modules/@biomejs/cli-win32-arm64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.5.15.tgz", - "integrity": "sha512-2kPKzhNlm8C+Ru3GcO0Me2ODkCBLrVOUNuyi84RJyWDVKAA4+Kjj3jMjL938lF6BRfvltC4vB2nPY9SvN51Ovg==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.6.2.tgz", + "integrity": "sha512-/PEOo6evlgrQOfKhMNtC/4Gk8ai3hySXXEtjUzCqZe/4iAbMdqelpp7qvZEDyLxlZS+BjOMQFpq2gXI/BPaAqw==", "cpu": [ "arm64" ], @@ -1359,9 +1395,9 @@ } }, "node_modules/@biomejs/cli-win32-x64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.5.15.tgz", - "integrity": "sha512-yAzh4UqEImV6Hcy0zjUqNfJAsUhoD64FBQCdTG8Md/Z2wQeVP/ZmJ3XRYAs1g8J9fjTFyl2fCtc5FB5til47+g==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.6.2.tgz", + "integrity": "sha512-FVlWD+mDDz8nN5LWKRWUhhb7wKIK0VE3oXQvQBX7Fwwj00CvqMVhMyiz1iz8O5aZGmnkhFlKSwJPrUvMh5prQw==", "cpu": [ "x64" ], diff --git a/package.json b/package.json index e93a51e..f5fa6a4 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@babel/core": "7.29.7", "@babel/preset-react": "7.29.7", "@babel/preset-typescript": "7.29.7", - "@biomejs/biome": "2.5.15", + "@biomejs/biome": "2.6.2", "@doist/tsconfig": "2.0.1", "@types/babel__core": "7.20.5", "@types/node": "25.9.9", From 97dfe14cc841d452c8eaa82243fd51f3d257c08a Mon Sep 17 00:00:00 2001 From: Frankie Yan <8531248+frankieyan@users.noreply.github.com> Date: Tue, 27 Oct 2026 10:40:19 -0700 Subject: [PATCH 2/2] chore: format Markdown and YAML with Biome 2.6 Co-Authored-By: Claude --- .github/workflows/publish.yml | 2 +- CODE_OF_CONDUCT.md | 2 -- CONTRIBUTING.md | 5 ----- README.md | 24 ++++++++++++------------ biome.json | 13 ++++++++++--- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 81b9b14..9b592f6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -55,7 +55,7 @@ jobs: cache: npm node-version-file: .node-version registry-url: https://npm.pkg.github.com/ - scope: '@doist' + scope: "@doist" - name: Publish package to GitHub Packages registry run: npm publish diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 119cd31..00b72f0 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -9,7 +9,6 @@ We pledge to act and interact in ways that contribute to an open, welcoming, div ## Our Standards Examples of behavior that contributes to a positive environment for our community include: - - Demonstrating empathy and kindness toward other people - Being respectful of differing opinions, viewpoints, and experiences - Giving and gracefully accepting constructive feedback @@ -17,7 +16,6 @@ Examples of behavior that contributes to a positive environment for our communit - Focusing on what is best not just for us as individuals, but for the overall community Examples of unacceptable behavior include: - - The use of sexualized language or imagery, and sexual attention or advances of any kind - Trolling, insulting or derogatory comments, and personal or political attacks - Public or private harassment diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0b3c77c..0616e48 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,7 +27,6 @@ If you intend to change the public API, or make any non-trivial changes to the i ## Your First Pull Request Working on your first Pull Request? You can learn how from this free video series: - - [How to Contribute to an Open Source Project on GitHub](https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github) If you decide to fix an issue, please be sure to check the comment thread in case somebody is already working on a fix. If nobody is working on it at the moment, please leave a comment stating that you intend to work on it so other people don't accidentally duplicate your effort. @@ -35,7 +34,6 @@ If you decide to fix an issue, please be sure to check the comment thread in cas ## Project Setup Before you can contribute to the codebase, you will need to fork the react-compiler-tracker repository, and the following steps will help you hit the ground running: - 1. Fork the repository (click the Fork button at the top right of [this page](https://github.com/Doist/react-compiler-tracker)); 2. Clone your fork locally; @@ -50,7 +48,6 @@ cd react-compiler-tracker ## Development Workflow After cloning react-compiler-tracker and installing all dependencies, several commands are at your disposal: - - `npm run build`: Builds the `@doist/react-compiler-tracker` package for publishing to [npm](https://www.npmjs.com/); - `npm run check`: Validates code quality and types with Biome and TypeScript; - `npm run fix`: Automatically fixes linting issues with Biome; @@ -66,7 +63,6 @@ The release process for react-compiler-tracker is automated with [release-please Pull requests are actively monitored, and only need the approval of one or more core team members. We will review your pull request and either merge it, request changes to it, or close it with an explanation. Before submitting a pull request, please take the following into consideration: - - Fork [the repository](https://github.com/Doist/react-compiler-tracker) and create your branch from `main`; - Follow the [Commit Message Guidelines](#commit-message-guidelines) below; - Add tests for code that should be tested (like bug fixes); @@ -78,7 +74,6 @@ Before submitting a pull request, please take the following into consideration: #### Atomic Commits If possible, make [atomic commits](https://en.wikipedia.org/wiki/Atomic_commit), which means: - - A commit should not mix whitespace and/or code style changes with functional code changes; - A commit should contain exactly one self-contained functional change; - A commit should not create an inconsistent state (e.g., test errors, linting errors, partial fix, etc.). diff --git a/README.md b/README.md index 134d510..563e7ff 100644 --- a/README.md +++ b/README.md @@ -37,10 +37,10 @@ Create a `.react-compiler-tracker.config.json` file in your project root to cust All fields are optional. Default values are shown above. -| Option | Description | Default | -|--------|-------------|---------| -| `recordsFile` | Path to the records file | `.react-compiler.rec.json` | -| `sourceGlob` | Glob pattern for source files | `src/**/*.{js,jsx,ts,tsx}` | +| Option | Description | Default | +| ------------- | ----------------------------- | -------------------------- | +| `recordsFile` | Path to the records file | `.react-compiler.rec.json` | +| `sourceGlob` | Glob pattern for source files | `src/**/*.{js,jsx,ts,tsx}` | ### Monorepo Usage @@ -134,9 +134,9 @@ In `package.json`: ```json { - "lint-staged": { - "*.{js,jsx,ts,tsx}": "npm exec --no -- @doist/react-compiler-tracker --stage-record-file" - } + "lint-staged": { + "*.{js,jsx,ts,tsx}": "npm exec --no -- @doist/react-compiler-tracker --stage-record-file" + } } ``` @@ -147,11 +147,11 @@ With lint-staged, the matched files are automatically passed as arguments to the ```yaml - name: Check React Compiler violations run: | - # Get changed files in the PR - FILES=$(git diff --name-only origin/main...HEAD -- '*.tsx' '*.ts' '*.jsx' '*.js' | tr '\n' ' ') - if [ -n "$FILES" ]; then - npm exec --no -- @doist/react-compiler-tracker --check-files $FILES - fi + # Get changed files in the PR + FILES=$(git diff --name-only origin/main...HEAD -- '*.tsx' '*.ts' '*.jsx' '*.js' | tr '\n' ' ') + if [ -n "$FILES" ]; then + npm exec --no -- @doist/react-compiler-tracker --check-files $FILES + fi ``` ### Pre-commit hook (manual) diff --git a/biome.json b/biome.json index ac455c6..dd7c9d4 100644 --- a/biome.json +++ b/biome.json @@ -1,18 +1,25 @@ { - "$schema": "https://biomejs.dev/schemas/2.4.16/schema.json", + "$schema": "https://biomejs.dev/schemas/2.6.2/schema.json", "vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true }, "files": { - "includes": ["**", "!node_modules", "!dist", "!package.json", "!package-lock.json"] + "includes": [ + "**", + "!node_modules", + "!dist", + "!package.json", + "!package-lock.json", + "!CHANGELOG.md" + ] }, "assist": { "actions": { "source": { "organizeImports": "on" } } }, "linter": { "enabled": true, "rules": { - "recommended": true + "preset": "recommended" } }, "formatter": {