diff --git a/RECIPES.md b/RECIPES.md index 1b2cf5cc..f528a148 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -437,7 +437,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [payplug/sylius-payplug-plugin](https://packagist.org/packages/payplug/sylius-payplug-plugin) | [0.2](payplug/sylius-payplug-plugin/0.2) | | [payum/payum-bundle](https://packagist.org/packages/payum/payum-bundle) | [2.4](payum/payum-bundle/2.4) | | [pentatrion/upload-bundle](https://packagist.org/packages/pentatrion/upload-bundle) | [0.2](pentatrion/upload-bundle/0.2) | -| [pentatrion/vite-bundle](https://packagist.org/packages/pentatrion/vite-bundle) | [1.0](pentatrion/vite-bundle/1.0) | +| [pentatrion/vite-bundle](https://packagist.org/packages/pentatrion/vite-bundle) | [6.5](pentatrion/vite-bundle/6.5) | | [php-amqplib/rabbitmq-bundle](https://packagist.org/packages/php-amqplib/rabbitmq-bundle) | [1.12](php-amqplib/rabbitmq-bundle/1.12) | | [php-http/httplug-bundle](https://packagist.org/packages/php-http/httplug-bundle) | [1.6](php-http/httplug-bundle/1.6) | | [php-translation/loco-adapter](https://packagist.org/packages/php-translation/loco-adapter) | [0.8](php-translation/loco-adapter/0.8) | diff --git a/archived/pentatrion.vite-bundle/3a6673f248f8fc1dd364dadfef4c5b381d1efab6.json b/archived/pentatrion.vite-bundle/3a6673f248f8fc1dd364dadfef4c5b381d1efab6.json new file mode 100644 index 00000000..dbe630c0 --- /dev/null +++ b/archived/pentatrion.vite-bundle/3a6673f248f8fc1dd364dadfef4c5b381d1efab6.json @@ -0,0 +1,54 @@ +{ + "manifests": { + "pentatrion/vite-bundle": { + "manifest": { + "bundles": { + "Pentatrion\\ViteBundle\\PentatrionViteBundle": [ + "all" + ] + }, + "copy-from-package": { + "install/assets/": "assets/", + "install/package.json": "package.json", + "install/vite.config.js": "vite.config.js", + "install/config/routes/pentatrion_vite.yaml": "config/routes/pentatrion_vite.yaml" + }, + "gitignore": [ + "/node_modules/", + "/%PUBLIC_DIR%/build/" + ], + "add-lines": [ + { + "file": "templates/base.html.twig", + "content": " {{ vite_entry_script_tags('app') }}", + "position": "after_target", + "target": "{% block javascripts %}", + "warn_if_missing": true + }, + { + "file": "templates/base.html.twig", + "content": " {{ vite_entry_link_tags('app') }}", + "position": "after_target", + "target": "{% block stylesheets %}", + "warn_if_missing": true + } + ], + "post-install-output": [ + " ", + " Getting started using pentatrion/vite-bundle ", + " ", + "", + " Configure your transformations:", + " 1. Add if necessary a configuration file in %CONFIG_DIR%/packages/pentatrion_vite.yaml.", + " 2. Verify the Vite configuration in /vite.config.js.", + " 3. Check vite templates https://github.com/vitejs/vite/tree/main/packages/create-vite for dependencies to add.", + " 4. Run npm i.", + " 5. Start the development server: npm run dev.", + " 6. Start coding into assets/app.js" + ] + }, + "files": [], + "ref": "3a6673f248f8fc1dd364dadfef4c5b381d1efab6" + } + } +} diff --git a/index.json b/index.json index 6a929cb7..d73ee933 100644 --- a/index.json +++ b/index.json @@ -1385,7 +1385,8 @@ "pentatrion/vite-bundle": [ "0.1", "0.2", - "1.0" + "1.0", + "6.5" ], "php-amqplib/rabbitmq-bundle": [ "1.12" diff --git a/pentatrion.vite-bundle.6.5.json b/pentatrion.vite-bundle.6.5.json new file mode 100644 index 00000000..dbe630c0 --- /dev/null +++ b/pentatrion.vite-bundle.6.5.json @@ -0,0 +1,54 @@ +{ + "manifests": { + "pentatrion/vite-bundle": { + "manifest": { + "bundles": { + "Pentatrion\\ViteBundle\\PentatrionViteBundle": [ + "all" + ] + }, + "copy-from-package": { + "install/assets/": "assets/", + "install/package.json": "package.json", + "install/vite.config.js": "vite.config.js", + "install/config/routes/pentatrion_vite.yaml": "config/routes/pentatrion_vite.yaml" + }, + "gitignore": [ + "/node_modules/", + "/%PUBLIC_DIR%/build/" + ], + "add-lines": [ + { + "file": "templates/base.html.twig", + "content": " {{ vite_entry_script_tags('app') }}", + "position": "after_target", + "target": "{% block javascripts %}", + "warn_if_missing": true + }, + { + "file": "templates/base.html.twig", + "content": " {{ vite_entry_link_tags('app') }}", + "position": "after_target", + "target": "{% block stylesheets %}", + "warn_if_missing": true + } + ], + "post-install-output": [ + " ", + " Getting started using pentatrion/vite-bundle ", + " ", + "", + " Configure your transformations:", + " 1. Add if necessary a configuration file in %CONFIG_DIR%/packages/pentatrion_vite.yaml.", + " 2. Verify the Vite configuration in /vite.config.js.", + " 3. Check vite templates https://github.com/vitejs/vite/tree/main/packages/create-vite for dependencies to add.", + " 4. Run npm i.", + " 5. Start the development server: npm run dev.", + " 6. Start coding into assets/app.js" + ] + }, + "files": [], + "ref": "3a6673f248f8fc1dd364dadfef4c5b381d1efab6" + } + } +}