diff --git a/RECIPES.md b/RECIPES.md index 40958dee..b1a5b29c 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -119,6 +119,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [doctrine/phpcr-dbal-symfony-pack](https://packagist.org/packages/doctrine/phpcr-dbal-symfony-pack) | [1.0](doctrine/phpcr-dbal-symfony-pack/1.0) | | [drenso/symfony-oidc-bundle](https://packagist.org/packages/drenso/symfony-oidc-bundle) | [2.0](drenso/symfony-oidc-bundle/2.0) | | [drenso/symfony-shared](https://packagist.org/packages/drenso/symfony-shared) | [0.8](drenso/symfony-shared/0.8) | +| [drinksco/console-ui-bundle](https://packagist.org/packages/drinksco/console-ui-bundle) | [0.2](drinksco/console-ui-bundle/0.2) | | [drupol/ecl-twig-bundle](https://packagist.org/packages/drupol/ecl-twig-bundle) | [0.1](drupol/ecl-twig-bundle/0.1) | | [dukecity/command-scheduler-bundle](https://packagist.org/packages/dukecity/command-scheduler-bundle) | [3.0](dukecity/command-scheduler-bundle/3.0) | | [dunglas/digital-ocean-bundle](https://packagist.org/packages/dunglas/digital-ocean-bundle) | [1.0](dunglas/digital-ocean-bundle/1.0) | diff --git a/archived/drinksco.console-ui-bundle/1598393c7161dd54324ee53ab101d665ecff2718.json b/archived/drinksco.console-ui-bundle/1598393c7161dd54324ee53ab101d665ecff2718.json new file mode 100644 index 00000000..36e2f798 --- /dev/null +++ b/archived/drinksco.console-ui-bundle/1598393c7161dd54324ee53ab101d665ecff2718.json @@ -0,0 +1,62 @@ +{ + "manifests": { + "drinksco/console-ui-bundle": { + "manifest": { + "bundles": { + "Drinksco\\ConsoleUiBundle\\ConsoleUiBundle": [ + "dev" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "CONSOLE_UI_MERCURE_URL": "http://localhost:3001/.well-known/mercure", + "CONSOLE_UI_MERCURE_PUBLIC_URL": "http://localhost:3001/.well-known/mercure", + "CONSOLE_UI_JWT_SECRET": "!ChangeThisMercureHubJWTSecretKey!", + "CONSOLE_API_URL": "http://localhost:3000" + }, + "post-install-output": [ + " * Configure Webpack", + " ", + " // webpack.config.js", + " const Dotenv = require('dotenv-webpack');", + " ...", + " .addEntry('component-loader', './node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js')", + " .addEntry('console-ui', './vendor/drinksco/console-ui-bundle/assets/app.js')", + " ...", + " // uncomment if you use TypeScript", + " .enableTypeScriptLoader()", + " ...", + " .addPlugin(new Dotenv())", + " ...", + " ", + "", + " * To run electron App update file", + " ", + " ...", + " \"main\": \"./vendor/drinksco/console-ui-bundle/main.js\",", + " \"scripts\": {", + " ...", + " \"console-ui-start\": \"electron .\"", + " }", + " ", + "", + " * Install yarn dependencies", + " yarn add --dev @hotwired/stimulus @symfony/stimulus-bridge @symfony/webpack-encore core-js dotenv dotenv-webpack electron regenerator-runtime ts-loader typescript webpack-notifier @material/card @material/mwc-button @material/mwc-checkbox @material/mwc-circular-progress @material/mwc-dialog @material/mwc-formfield @material/mwc-icon @material/mwc-list @material/mwc-textfield @material/mwc-top-app-bar-fixed @webcomponents/webcomponentsjs lit material-components-web", + "", + " * Build console-ui app", + " yarn encore production", + "", + " * Not using Docker install Mercure Hub", + " Download the legacy binary from Mercure releases page https://github.com/dunglas/mercure/releases,", + " and extract binary in the project root folder", + "", + " * Check environment variables in your .env" + ] + }, + "files": [], + "ref": "1598393c7161dd54324ee53ab101d665ecff2718" + } + } +} diff --git a/drinksco.console-ui-bundle.0.2.json b/drinksco.console-ui-bundle.0.2.json new file mode 100644 index 00000000..36e2f798 --- /dev/null +++ b/drinksco.console-ui-bundle.0.2.json @@ -0,0 +1,62 @@ +{ + "manifests": { + "drinksco/console-ui-bundle": { + "manifest": { + "bundles": { + "Drinksco\\ConsoleUiBundle\\ConsoleUiBundle": [ + "dev" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "CONSOLE_UI_MERCURE_URL": "http://localhost:3001/.well-known/mercure", + "CONSOLE_UI_MERCURE_PUBLIC_URL": "http://localhost:3001/.well-known/mercure", + "CONSOLE_UI_JWT_SECRET": "!ChangeThisMercureHubJWTSecretKey!", + "CONSOLE_API_URL": "http://localhost:3000" + }, + "post-install-output": [ + " * Configure Webpack", + " ", + " // webpack.config.js", + " const Dotenv = require('dotenv-webpack');", + " ...", + " .addEntry('component-loader', './node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js')", + " .addEntry('console-ui', './vendor/drinksco/console-ui-bundle/assets/app.js')", + " ...", + " // uncomment if you use TypeScript", + " .enableTypeScriptLoader()", + " ...", + " .addPlugin(new Dotenv())", + " ...", + " ", + "", + " * To run electron App update file", + " ", + " ...", + " \"main\": \"./vendor/drinksco/console-ui-bundle/main.js\",", + " \"scripts\": {", + " ...", + " \"console-ui-start\": \"electron .\"", + " }", + " ", + "", + " * Install yarn dependencies", + " yarn add --dev @hotwired/stimulus @symfony/stimulus-bridge @symfony/webpack-encore core-js dotenv dotenv-webpack electron regenerator-runtime ts-loader typescript webpack-notifier @material/card @material/mwc-button @material/mwc-checkbox @material/mwc-circular-progress @material/mwc-dialog @material/mwc-formfield @material/mwc-icon @material/mwc-list @material/mwc-textfield @material/mwc-top-app-bar-fixed @webcomponents/webcomponentsjs lit material-components-web", + "", + " * Build console-ui app", + " yarn encore production", + "", + " * Not using Docker install Mercure Hub", + " Download the legacy binary from Mercure releases page https://github.com/dunglas/mercure/releases,", + " and extract binary in the project root folder", + "", + " * Check environment variables in your .env" + ] + }, + "files": [], + "ref": "1598393c7161dd54324ee53ab101d665ecff2718" + } + } +} diff --git a/index.json b/index.json index 8d60d9d1..e2baa49e 100644 --- a/index.json +++ b/index.json @@ -359,6 +359,9 @@ "drenso/symfony-shared": [ "0.8" ], + "drinksco/console-ui-bundle": [ + "0.2" + ], "drupol/ecl-twig-bundle": [ "0.1" ],