From 7eca9dbf13341ce6f5ab550cd21bd9b13ebf5749 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Tue, 3 Feb 2026 22:43:43 +0100 Subject: [PATCH] Drop Biome.js for oxfmt and oxlint --- .github/PULL_REQUEST_TEMPLATE.md | 3 +- .github/workflows/close-pull-request.yml | 30 +++++++++--------- .symfony.bundle.yaml | 6 ++-- CHANGELOG.md | 40 ++++++++++++------------ README.md | 6 ++-- assets/README.md | 8 ++--- assets/package.json | 4 +-- 7 files changed, 47 insertions(+), 50 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index df3b474..887284e 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,5 +1,4 @@ -Please do not submit any Pull Requests here. They will be closed. ---- +## Please do not submit any Pull Requests here. They will be closed. Please submit your PR here instead: https://github.com/symfony/ux diff --git a/.github/workflows/close-pull-request.yml b/.github/workflows/close-pull-request.yml index 57e4e3f..8150a6a 100644 --- a/.github/workflows/close-pull-request.yml +++ b/.github/workflows/close-pull-request.yml @@ -1,20 +1,20 @@ name: Close Pull Request on: - pull_request_target: - types: [opened] + pull_request_target: + types: [opened] jobs: - run: - runs-on: ubuntu-latest - steps: - - uses: superbrothers/close-pull-request@v3 - with: - comment: | - Thanks for your Pull Request! We love contributions. - - However, you should instead open your PR on the main repository: - https://github.com/symfony/ux - - This repository is what we call a "subtree split": a read-only subset of that main repository. - We're looking forward to your PR there! + run: + runs-on: ubuntu-latest + steps: + - uses: superbrothers/close-pull-request@v3 + with: + comment: | + Thanks for your Pull Request! We love contributions. + + However, you should instead open your PR on the main repository: + https://github.com/symfony/ux + + This repository is what we call a "subtree split": a read-only subset of that main repository. + We're looking forward to your PR there! diff --git a/.symfony.bundle.yaml b/.symfony.bundle.yaml index 6d9a74a..5662042 100644 --- a/.symfony.bundle.yaml +++ b/.symfony.bundle.yaml @@ -1,3 +1,3 @@ -branches: ["2.x"] -maintained_branches: ["2.x"] -doc_dir: "doc" +branches: ['2.x'] +maintained_branches: ['2.x'] +doc_dir: 'doc' diff --git a/CHANGELOG.md b/CHANGELOG.md index 8739546..75f084f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,53 +2,53 @@ ## 2.33 -- Change AssetMapper `excluded_patterns` from `**/controllers.json` to `*/controllers.json` +- Change AssetMapper `excluded_patterns` from `**/controllers.json` to `*/controllers.json` ## 2.30 -- Ensure compatibility with PHP 8.5 +- Ensure compatibility with PHP 8.5 ## 2.29.0 -- Add Symfony 8 support +- Add Symfony 8 support ## 2.20.1 -- Normalize Stimulus controller name in event name +- Normalize Stimulus controller name in event name ## 2.14.2 -- Fix bug with finding UX Packages with non-standard project structure +- Fix bug with finding UX Packages with non-standard project structure ## 2.14.1 -- Fixed bug with Stimulus controllers in subdirectories on Windows +- Fixed bug with Stimulus controllers in subdirectories on Windows ## 2.14.0 -- Added Typescript controllers support +- Added Typescript controllers support ## 2.13.2 -- Revert "Change JavaScript package to `type: module`" +- Revert "Change JavaScript package to `type: module`" ## 2.13.0 -- Normalize parameters names given to twig helper 'stimulus_action()'. - **BC Break**: previously, parameters given in camelCase (eg. - `bigCrocodile`) were incorrectly registered by the controller as - flatcase (`event.params.bigcrocodile`). This was fixed, which means - they are now correctly registered as camelCase - (`event.params.bigCrocodile`). -- Added AssetMapper 6.4 support. -- Add Symfony 7 support. -- Fix missing double dash in namespaced Stimulus outlets. -- Change JavaScript package to `type: module` +- Normalize parameters names given to twig helper 'stimulus_action()'. + **BC Break**: previously, parameters given in camelCase (eg. + `bigCrocodile`) were incorrectly registered by the controller as + flatcase (`event.params.bigcrocodile`). This was fixed, which means + they are now correctly registered as camelCase + (`event.params.bigCrocodile`). +- Added AssetMapper 6.4 support. +- Add Symfony 7 support. +- Fix missing double dash in namespaced Stimulus outlets. +- Change JavaScript package to `type: module` ## 2.10.0 -- Handle Stimulus outlets +- Handle Stimulus outlets ## 2.9.0 -- Introduce the bundle +- Introduce the bundle diff --git a/README.md b/README.md index a18ddf0..3a58b4c 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ This bundle adds integration between Symfony, Stimulus and Symfony UX: -- A) Twig `stimulus_*` functions & filters to add Stimulus controllers, actions & targets in your templates; -- B) Integration with Symfony UX & AssetMapper; -- C) A helper service to build the Stimulus data attributes and use them in your services. +- A) Twig `stimulus_*` functions & filters to add Stimulus controllers, actions & targets in your templates; +- B) Integration with Symfony UX & AssetMapper; +- C) A helper service to build the Stimulus data attributes and use them in your services. [Read the documentation][1] diff --git a/assets/README.md b/assets/README.md index 41bdf68..59d9935 100644 --- a/assets/README.md +++ b/assets/README.md @@ -9,7 +9,7 @@ Read more at [symfony/ux#2708](https://github.com/symfony/ux/issues/2708). ## Resources -- [Documentation](https://symfony.com/bundles/StimulusBundle/current/index.html) -- [Report issues](https://github.com/symfony/ux/issues) and - [send Pull Requests](https://github.com/symfony/ux/pulls) - in the [main Symfony UX repository](https://github.com/symfony/ux) +- [Documentation](https://symfony.com/bundles/StimulusBundle/current/index.html) +- [Report issues](https://github.com/symfony/ux/issues) and + [send Pull Requests](https://github.com/symfony/ux/pulls) + in the [main Symfony UX repository](https://github.com/symfony/ux) diff --git a/assets/package.json b/assets/package.json index 22f9226..303f813 100644 --- a/assets/package.json +++ b/assets/package.json @@ -18,9 +18,7 @@ "build": "tsx ../../../bin/build_package.ts .", "watch": "tsx ../../../bin/build_package.ts . --watch", "test": "pnpm run test:unit && pnpm run test:browser", - "test:unit": "../../../bin/unit_test_package.sh .", - "check": "biome check", - "ci": "biome ci" + "test:unit": "../../../bin/unit_test_package.sh ." }, "symfony": { "needsPackageAsADependency": false,