From 3e8e7a8c77ecf106eba98e577804c858fd49a969 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Wed, 8 Apr 2026 20:08:59 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 1 + ...1b7ae89da2606f2d4686057033ddb89f6b237.json | 64 +++++++++++++++++++ index.json | 3 + nytodev.inertia-bundle.2.0.json | 64 +++++++++++++++++++ 4 files changed, 132 insertions(+) create mode 100644 archived/nytodev.inertia-bundle/dd21b7ae89da2606f2d4686057033ddb89f6b237.json create mode 100644 nytodev.inertia-bundle.2.0.json diff --git a/RECIPES.md b/RECIPES.md index 1df4d351..db61c688 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -465,6 +465,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [nucleos/user-bundle](https://packagist.org/packages/nucleos/user-bundle) | [1.1](../../../tree/main/nucleos/user-bundle/1.1) | | [numberninecms/cms](https://packagist.org/packages/numberninecms/cms) | [0.2](../../../tree/main/numberninecms/cms/0.2) | | [nyholm/sunflower](https://packagist.org/packages/nyholm/sunflower) | [0.2](../../../tree/main/nyholm/sunflower/0.2) | +| [nytodev/inertia-bundle](https://packagist.org/packages/nytodev/inertia-bundle) | [2.0](../../../tree/main/nytodev/inertia-bundle/2.0) | | [nzo/url-encryptor-bundle](https://packagist.org/packages/nzo/url-encryptor-bundle) | [6.0](../../../tree/main/nzo/url-encryptor-bundle/6.0) | | [oat-sa/bundle-health-check](https://packagist.org/packages/oat-sa/bundle-health-check) | [1.0](../../../tree/main/oat-sa/bundle-health-check/1.0) | | [oat-sa/bundle-lti1p3](https://packagist.org/packages/oat-sa/bundle-lti1p3) | [3.0](../../../tree/main/oat-sa/bundle-lti1p3/3.0) | diff --git a/archived/nytodev.inertia-bundle/dd21b7ae89da2606f2d4686057033ddb89f6b237.json b/archived/nytodev.inertia-bundle/dd21b7ae89da2606f2d4686057033ddb89f6b237.json new file mode 100644 index 00000000..44f239cb --- /dev/null +++ b/archived/nytodev.inertia-bundle/dd21b7ae89da2606f2d4686057033ddb89f6b237.json @@ -0,0 +1,64 @@ +{ + "manifests": { + "nytodev/inertia-bundle": { + "manifest": { + "bundles": { + "Nytodev\\InertiaBundle\\InertiaBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "add-lines": [ + { + "file": "templates/base.html.twig", + "content": " {{ inertiaHead(page) }}", + "position": "after_target", + "target": "{% block javascripts %}", + "warn_if_missing": true + }, + { + "file": "templates/base.html.twig", + "content": " {{ inertia(page) }}", + "position": "after_target", + "target": "{% block body %}", + "warn_if_missing": true + } + ], + "post-install-output": [ + " ", + " Welcome to nytodev/inertia-bundle ", + " ", + "", + " Next steps:", + "", + " 1. Install your frontend stack (React, Vue or Svelte):", + " npm install @inertiajs/react (or vue / svelte)", + "", + " 2. Adjust config/packages/inertia.yaml to match your setup.", + "", + " 3. Read the documentation:", + " https://github.com/nytodev/inertia-bundle" + ] + }, + "files": { + "config/packages/inertia.yaml": { + "contents": [ + "inertia:", + " # The root Twig template used to render the full HTML page on first visit.", + " root_view: 'base.html.twig'", + "", + " # Enable Server-Side Rendering via an external Node.js SSR server.", + " # Requires symfony/http-client: composer require symfony/http-client", + " ssr_enabled: false", + " ssr_url: 'http://127.0.0.1:13714'", + "" + ], + "executable": false + } + }, + "ref": "dd21b7ae89da2606f2d4686057033ddb89f6b237" + } + } +} diff --git a/index.json b/index.json index a7041e22..293529f9 100644 --- a/index.json +++ b/index.json @@ -1478,6 +1478,9 @@ "nyholm/sunflower": [ "0.2" ], + "nytodev/inertia-bundle": [ + "2.0" + ], "nzo/url-encryptor-bundle": [ "6.0" ], diff --git a/nytodev.inertia-bundle.2.0.json b/nytodev.inertia-bundle.2.0.json new file mode 100644 index 00000000..44f239cb --- /dev/null +++ b/nytodev.inertia-bundle.2.0.json @@ -0,0 +1,64 @@ +{ + "manifests": { + "nytodev/inertia-bundle": { + "manifest": { + "bundles": { + "Nytodev\\InertiaBundle\\InertiaBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "add-lines": [ + { + "file": "templates/base.html.twig", + "content": " {{ inertiaHead(page) }}", + "position": "after_target", + "target": "{% block javascripts %}", + "warn_if_missing": true + }, + { + "file": "templates/base.html.twig", + "content": " {{ inertia(page) }}", + "position": "after_target", + "target": "{% block body %}", + "warn_if_missing": true + } + ], + "post-install-output": [ + " ", + " Welcome to nytodev/inertia-bundle ", + " ", + "", + " Next steps:", + "", + " 1. Install your frontend stack (React, Vue or Svelte):", + " npm install @inertiajs/react (or vue / svelte)", + "", + " 2. Adjust config/packages/inertia.yaml to match your setup.", + "", + " 3. Read the documentation:", + " https://github.com/nytodev/inertia-bundle" + ] + }, + "files": { + "config/packages/inertia.yaml": { + "contents": [ + "inertia:", + " # The root Twig template used to render the full HTML page on first visit.", + " root_view: 'base.html.twig'", + "", + " # Enable Server-Side Rendering via an external Node.js SSR server.", + " # Requires symfony/http-client: composer require symfony/http-client", + " ssr_enabled: false", + " ssr_url: 'http://127.0.0.1:13714'", + "" + ], + "executable": false + } + }, + "ref": "dd21b7ae89da2606f2d4686057033ddb89f6b237" + } + } +}