Drop Biome.js for oxfmt and oxlint

This commit is contained in:
Hugo Alliaume
2026-02-03 22:43:43 +01:00
parent 4f2d3480bc
commit de2e772a7a
7 changed files with 56 additions and 58 deletions

View File

@@ -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

View File

@@ -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!

View File

@@ -1,3 +1,3 @@
branches: ["2.x"]
maintained_branches: ["2.x"]
doc_dir: "doc"
branches: ['2.x']
maintained_branches: ['2.x']
doc_dir: 'doc'

View File

@@ -2,58 +2,58 @@
## 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.26.0
- Deprecate the package
- Deprecate the package
## 2.17.0
- Add support for `intervention/image` 3.0+
- Add support for `intervention/image` 3.0+
## 2.13.2
- Revert "Change JavaScript package to `type: module`"
- Revert "Change JavaScript package to `type: module`"
## 2.13.0
- Add Symfony 7 support.
- Change JavaScript package to `type: module`
- Add Symfony 7 support.
- Change JavaScript package to `type: module`
## 2.9.0
- Add support for symfony/asset-mapper
- Add support for symfony/asset-mapper
- Minimum required Symfony version is now 5.4
- Minimum required Symfony version is now 5.4
## 2.7.0
- The JavaScript events now bubble up.
- The JavaScript events now bubble up.
- Add `assets/src` to `.gitattributes` to exclude source TypeScript files from
installing.
- Add `assets/src` to `.gitattributes` to exclude source TypeScript files from
installing.
- TypeScript types are now included.
- TypeScript types are now included.
## 2.6.0
- [BC BREAK] The `assets/` directory was moved from `Resources/assets/` to `assets/`. Make
sure the path in your `package.json` file is updated accordingly.
- [BC BREAK] The `assets/` directory was moved from `Resources/assets/` to `assets/`. Make
sure the path in your `package.json` file is updated accordingly.
- The directory structure of the bundle was updated to match modern best-practices.
- The directory structure of the bundle was updated to match modern best-practices.
## 2.0
- Support for `stimulus` version 2 was removed and support for `@hotwired/stimulus`
version 3 was added. See the [@symfony/stimulus-bridge CHANGELOG](https://github.com/symfony/stimulus-bridge/blob/main/CHANGELOG.md#300)
for more details.
- The `data-hd-src` attribute was changed to use a Stimulus value called `src`. See the
updated README for usage.
- For both JavaScript events - `lazy-image:connect` and `lazy-image:ready` -
the `event.detail.hd` `Image` instance was moved to `event.detail.image`.
- Support added for Symfony 6
- Support for `stimulus` version 2 was removed and support for `@hotwired/stimulus`
version 3 was added. See the [@symfony/stimulus-bridge CHANGELOG](https://github.com/symfony/stimulus-bridge/blob/main/CHANGELOG.md#300)
for more details.
- The `data-hd-src` attribute was changed to use a Stimulus value called `src`. See the
updated README for usage.
- For both JavaScript events - `lazy-image:connect` and `lazy-image:ready` -
the `event.detail.hd` `Image` instance was moved to `event.detail.image`.
- Support added for Symfony 6

View File

@@ -15,8 +15,8 @@ image loading performance. It is part of [the Symfony UX initiative](https://ux.
It provides two key features:
- a Stimulus controller to load lazily heavy images, with a placeholder
- a [BlurHash implementation](https://blurha.sh/) to create data-uri thumbnails for images
- a Stimulus controller to load lazily heavy images, with a placeholder
- a [BlurHash implementation](https://blurha.sh/) to create data-uri thumbnails for images
**This repository is a READ-ONLY sub-tree split**. See
https://github.com/symfony/ux to create issues or submit pull requests.
@@ -35,10 +35,10 @@ Help Symfony by [sponsoring][3] its development!
## Resources
- [Documentation](https://symfony.com/bundles/ux-lazy-image/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/ux-lazy-image/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)
[1]: https://symfony.com/backers
[2]: https://mercure.rocks

View File

@@ -6,9 +6,10 @@ JavaScript assets of the [symfony/ux-lazy-image](https://packagist.org/packages/
This npm package is **reserved for advanced users** who want to decouple their JavaScript dependencies from their PHP dependencies (e.g., when building Docker images, running JavaScript-only pipelines, etc.).
We **strongly recommend not installing this package directly**, but instead install the PHP package [symfony/ux-lazy-image](https://packagist.org/packages/symfony/ux-lazy-image) in your Symfony application with [Flex](https://github.com/symfony/flex) enabled.
We **strongly recommend not installing this package directly**, but instead install the PHP package [symfony/ux-lazy-image](https://packagist.org/packages/symfony/ux-lazy-image) in your Symfony application with [Flex](https://github.com/symfony/flex) enabled.
If you still want to install this package directly, please make sure its version exactly matches [symfony/ux-lazy-image](https://packagist.org/packages/symfony/ux-lazy-image) PHP package version:
```shell
composer require symfony/ux-lazy-image:2.23.0
npm add @symfony/ux-lazy-image@2.23.0
@@ -18,7 +19,7 @@ npm add @symfony/ux-lazy-image@2.23.0
## Resources
- [Documentation](https://symfony.com/bundles/ux-lazy-image/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/ux-lazy-image/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)

View File

@@ -18,9 +18,7 @@
"build": "tsx ../../../bin/build_package.ts .",
"watch": "tsx ../../../bin/build_package.ts . --watch",
"test": "pnpm run test:unit",
"test:unit": "../../../bin/unit_test_package.sh .",
"check": "biome check",
"ci": "biome ci"
"test:unit": "../../../bin/unit_test_package.sh ."
},
"symfony": {
"controllers": {