@symfony/ux-native 2.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +19 -0
  2. package/README.md +25 -0
  3. package/package.json +30 -0
package/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2025-present Fabien Potencier
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is furnished
8
+ to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # @symfony/ux-native
2
+
3
+ JavaScript assets of the [symfony/ux-native](https://packagist.org/packages/symfony/ux-native) PHP package.
4
+
5
+ ## Installation
6
+
7
+ 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.).
8
+
9
+ We **strongly recommend not installing this package directly**, but instead install the PHP package [symfony/ux-native](https://packagist.org/packages/symfony/ux-native) in your Symfony application with [Flex](https://github.com/symfony/flex) enabled.
10
+
11
+ If you still want to install this package directly, please make sure its version exactly matches [symfony/ux-native](https://packagist.org/packages/symfony/ux-native) PHP package version:
12
+
13
+ ```shell
14
+ composer require symfony/ux-native:2.33.0
15
+ npm add @symfony/ux-native@2.33.0
16
+ ```
17
+
18
+ **Tip:** Your `package.json` file will be automatically modified by [Flex](https://github.com/symfony/flex) when installing or upgrading a PHP package. To prevent this behavior, ensure to **use at least Flex 1.22.0 or 2.5.0**, and run `composer config --json "extra.symfony/flex.synchronize_package_json" false`.
19
+
20
+ ## Resources
21
+
22
+ - [Documentation](https://symfony.com/bundles/ux-native/current/index.html)
23
+ - [Report issues](https://github.com/symfony/ux/issues) and
24
+ [send Pull Requests](https://github.com/symfony/ux/pulls)
25
+ in the [main Symfony UX repository](https://github.com/symfony/ux)
package/package.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "@symfony/ux-native",
3
+ "version": "2.34.0",
4
+ "description": "Hotwire Native integration for Symfony",
5
+ "keywords": [
6
+ "symfony-ux"
7
+ ],
8
+ "homepage": "https://ux.symfony.com/native",
9
+ "license": "MIT",
10
+ "repository": "https://github.com/symfony/ux",
11
+ "type": "module",
12
+ "files": [
13
+ "dist"
14
+ ],
15
+ "devDependencies": {
16
+ "@hotwired/hotwire-native-bridge": "1.2.2",
17
+ "@hotwired/stimulus": "^3.0.0"
18
+ },
19
+ "peerDependencies": {
20
+ "@hotwired/hotwire-native-bridge": "1.2.2",
21
+ "@hotwired/stimulus": "^3.0.0"
22
+ },
23
+ "symfony": {
24
+ "needsPackageAsADependency": false,
25
+ "importmap": {
26
+ "@hotwired/hotwire-native-bridge": "1.2.2",
27
+ "@hotwired/stimulus": "^3.0.0"
28
+ }
29
+ }
30
+ }