mirror of
https://github.com/symfony/stimulus-bundle.git
synced 2026-03-24 01:12:07 +01:00
Drop Biome.js for oxfmt and oxlint
This commit is contained in:
3
.github/PULL_REQUEST_TEMPLATE.md
vendored
3
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -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:
|
Please submit your PR here instead:
|
||||||
https://github.com/symfony/ux
|
https://github.com/symfony/ux
|
||||||
|
|||||||
30
.github/workflows/close-pull-request.yml
vendored
30
.github/workflows/close-pull-request.yml
vendored
@@ -1,20 +1,20 @@
|
|||||||
name: Close Pull Request
|
name: Close Pull Request
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [opened]
|
types: [opened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run:
|
run:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: superbrothers/close-pull-request@v3
|
- uses: superbrothers/close-pull-request@v3
|
||||||
with:
|
with:
|
||||||
comment: |
|
comment: |
|
||||||
Thanks for your Pull Request! We love contributions.
|
Thanks for your Pull Request! We love contributions.
|
||||||
|
|
||||||
However, you should instead open your PR on the main repository:
|
However, you should instead open your PR on the main repository:
|
||||||
https://github.com/symfony/ux
|
https://github.com/symfony/ux
|
||||||
|
|
||||||
This repository is what we call a "subtree split": a read-only subset of that main repository.
|
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!
|
We're looking forward to your PR there!
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
branches: ["2.x"]
|
branches: ['2.x']
|
||||||
maintained_branches: ["2.x"]
|
maintained_branches: ['2.x']
|
||||||
doc_dir: "doc"
|
doc_dir: 'doc'
|
||||||
|
|||||||
40
CHANGELOG.md
40
CHANGELOG.md
@@ -2,53 +2,53 @@
|
|||||||
|
|
||||||
## 2.33
|
## 2.33
|
||||||
|
|
||||||
- Change AssetMapper `excluded_patterns` from `**/controllers.json` to `*/controllers.json`
|
- Change AssetMapper `excluded_patterns` from `**/controllers.json` to `*/controllers.json`
|
||||||
|
|
||||||
## 2.30
|
## 2.30
|
||||||
|
|
||||||
- Ensure compatibility with PHP 8.5
|
- Ensure compatibility with PHP 8.5
|
||||||
|
|
||||||
## 2.29.0
|
## 2.29.0
|
||||||
|
|
||||||
- Add Symfony 8 support
|
- Add Symfony 8 support
|
||||||
|
|
||||||
## 2.20.1
|
## 2.20.1
|
||||||
|
|
||||||
- Normalize Stimulus controller name in event name
|
- Normalize Stimulus controller name in event name
|
||||||
|
|
||||||
## 2.14.2
|
## 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
|
## 2.14.1
|
||||||
|
|
||||||
- Fixed bug with Stimulus controllers in subdirectories on Windows
|
- Fixed bug with Stimulus controllers in subdirectories on Windows
|
||||||
|
|
||||||
## 2.14.0
|
## 2.14.0
|
||||||
|
|
||||||
- Added Typescript controllers support
|
- Added Typescript controllers support
|
||||||
|
|
||||||
## 2.13.2
|
## 2.13.2
|
||||||
|
|
||||||
- Revert "Change JavaScript package to `type: module`"
|
- Revert "Change JavaScript package to `type: module`"
|
||||||
|
|
||||||
## 2.13.0
|
## 2.13.0
|
||||||
|
|
||||||
- Normalize parameters names given to twig helper 'stimulus_action()'.
|
- Normalize parameters names given to twig helper 'stimulus_action()'.
|
||||||
**BC Break**: previously, parameters given in camelCase (eg.
|
**BC Break**: previously, parameters given in camelCase (eg.
|
||||||
`bigCrocodile`) were incorrectly registered by the controller as
|
`bigCrocodile`) were incorrectly registered by the controller as
|
||||||
flatcase (`event.params.bigcrocodile`). This was fixed, which means
|
flatcase (`event.params.bigcrocodile`). This was fixed, which means
|
||||||
they are now correctly registered as camelCase
|
they are now correctly registered as camelCase
|
||||||
(`event.params.bigCrocodile`).
|
(`event.params.bigCrocodile`).
|
||||||
- Added AssetMapper 6.4 support.
|
- Added AssetMapper 6.4 support.
|
||||||
- Add Symfony 7 support.
|
- Add Symfony 7 support.
|
||||||
- Fix missing double dash in namespaced Stimulus outlets.
|
- Fix missing double dash in namespaced Stimulus outlets.
|
||||||
- Change JavaScript package to `type: module`
|
- Change JavaScript package to `type: module`
|
||||||
|
|
||||||
## 2.10.0
|
## 2.10.0
|
||||||
|
|
||||||
- Handle Stimulus outlets
|
- Handle Stimulus outlets
|
||||||
|
|
||||||
## 2.9.0
|
## 2.9.0
|
||||||
|
|
||||||
- Introduce the bundle
|
- Introduce the bundle
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
This bundle adds integration between Symfony, Stimulus and Symfony UX:
|
This bundle adds integration between Symfony, Stimulus and Symfony UX:
|
||||||
|
|
||||||
- A) Twig `stimulus_*` functions & filters to add Stimulus controllers, actions & targets in your templates;
|
- A) Twig `stimulus_*` functions & filters to add Stimulus controllers, actions & targets in your templates;
|
||||||
- B) Integration with Symfony UX & AssetMapper;
|
- B) Integration with Symfony UX & AssetMapper;
|
||||||
- C) A helper service to build the Stimulus data attributes and use them in your services.
|
- C) A helper service to build the Stimulus data attributes and use them in your services.
|
||||||
|
|
||||||
[Read the documentation][1]
|
[Read the documentation][1]
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ Read more at [symfony/ux#2708](https://github.com/symfony/ux/issues/2708).
|
|||||||
|
|
||||||
## Resources
|
## Resources
|
||||||
|
|
||||||
- [Documentation](https://symfony.com/bundles/StimulusBundle/current/index.html)
|
- [Documentation](https://symfony.com/bundles/StimulusBundle/current/index.html)
|
||||||
- [Report issues](https://github.com/symfony/ux/issues) and
|
- [Report issues](https://github.com/symfony/ux/issues) and
|
||||||
[send Pull Requests](https://github.com/symfony/ux/pulls)
|
[send Pull Requests](https://github.com/symfony/ux/pulls)
|
||||||
in the [main Symfony UX repository](https://github.com/symfony/ux)
|
in the [main Symfony UX repository](https://github.com/symfony/ux)
|
||||||
|
|||||||
@@ -18,9 +18,7 @@
|
|||||||
"build": "tsx ../../../bin/build_package.ts .",
|
"build": "tsx ../../../bin/build_package.ts .",
|
||||||
"watch": "tsx ../../../bin/build_package.ts . --watch",
|
"watch": "tsx ../../../bin/build_package.ts . --watch",
|
||||||
"test": "pnpm run test:unit && pnpm run test:browser",
|
"test": "pnpm run test:unit && pnpm run test:browser",
|
||||||
"test:unit": "../../../bin/unit_test_package.sh .",
|
"test:unit": "../../../bin/unit_test_package.sh ."
|
||||||
"check": "biome check",
|
|
||||||
"ci": "biome ci"
|
|
||||||
},
|
},
|
||||||
"symfony": {
|
"symfony": {
|
||||||
"needsPackageAsADependency": false,
|
"needsPackageAsADependency": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user