From 30385f6032d554bb129998c5eb020daa28829479 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Sat, 24 Jun 2023 15:33:02 +0000 Subject: [PATCH] Update Flex endpoint --- ...8e6cbe66f6cd2dadc8375b035c7a1c30100c0.json | 65 +++++++++++++++++++ pentatrion.vite-bundle.1.0.json | 24 +++++-- 2 files changed, 84 insertions(+), 5 deletions(-) create mode 100644 archived/pentatrion.vite-bundle/4d98e6cbe66f6cd2dadc8375b035c7a1c30100c0.json diff --git a/archived/pentatrion.vite-bundle/4d98e6cbe66f6cd2dadc8375b035c7a1c30100c0.json b/archived/pentatrion.vite-bundle/4d98e6cbe66f6cd2dadc8375b035c7a1c30100c0.json new file mode 100644 index 00000000..657120f2 --- /dev/null +++ b/archived/pentatrion.vite-bundle/4d98e6cbe66f6cd2dadc8375b035c7a1c30100c0.json @@ -0,0 +1,65 @@ +{ + "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" + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "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. Install npm and run npm i.", + " 4. Start the development server: npm run dev.", + " 5. Start coding into assets/app.js" + ] + }, + "files": { + "config/routes/dev/pentatrion_vite.yaml": { + "contents": [ + "_pentatrion_vite:", + " prefix: /build", + " resource: \"@PentatrionViteBundle/Resources/config/routing.yaml\"", + "" + ], + "executable": false + } + }, + "ref": "4d98e6cbe66f6cd2dadc8375b035c7a1c30100c0" + } + } +} diff --git a/pentatrion.vite-bundle.1.0.json b/pentatrion.vite-bundle.1.0.json index 870567d9..657120f2 100644 --- a/pentatrion.vite-bundle.1.0.json +++ b/pentatrion.vite-bundle.1.0.json @@ -19,6 +19,22 @@ "/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 ", @@ -28,10 +44,8 @@ " 1. Add if necessary a configuration file in %CONFIG_DIR%/packages/pentatrion_vite.yaml.", " 2. Verify the Vite configuration in /vite.config.js.", " 3. Install npm and run npm i.", - " 4. Add JS Twig function {{ vite_entry_script_tags('app') }} into your base.html.twig.", - " 5. Add CSS Twig function {{ vite_entry_link_tags('app') }} into your base.html.twig.", - " 6. Start the development server: npm run dev.", - " 7. Start coding into assets/app.js" + " 4. Start the development server: npm run dev.", + " 5. Start coding into assets/app.js" ] }, "files": { @@ -45,7 +59,7 @@ "executable": false } }, - "ref": "33d48a1c831b2d29641175c8320e66a9f1c9911f" + "ref": "4d98e6cbe66f6cd2dadc8375b035c7a1c30100c0" } } }