From d520b6f8a188d9d4b85c0dca9f072e8023d41cb4 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Thu, 10 Feb 2022 21:26:15 +0000 Subject: [PATCH] Update Flex endpoint --- ...5dfe6c1b12da89276b72ed281be757d24c8a0.json | 127 ++++++++ ...3ab94a3ba021bcd69f6b907492668821c857f.json | 271 ++++++++++++++++++ doctrine.doctrine-bundle.2.4.json | 58 ++-- symfony.webpack-encore-bundle.1.9.json | 43 +-- 4 files changed, 438 insertions(+), 61 deletions(-) create mode 100644 archived/doctrine.doctrine-bundle/06a5dfe6c1b12da89276b72ed281be757d24c8a0.json create mode 100644 archived/symfony.webpack-encore-bundle/1723ab94a3ba021bcd69f6b907492668821c857f.json diff --git a/archived/doctrine.doctrine-bundle/06a5dfe6c1b12da89276b72ed281be757d24c8a0.json b/archived/doctrine.doctrine-bundle/06a5dfe6c1b12da89276b72ed281be757d24c8a0.json new file mode 100644 index 00000000..c445f147 --- /dev/null +++ b/archived/doctrine.doctrine-bundle/06a5dfe6c1b12da89276b72ed281be757d24c8a0.json @@ -0,0 +1,127 @@ +{ + "manifests": { + "doctrine/doctrine-bundle": { + "manifest": { + "bundles": { + "Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + }, + "env": { + "#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url", + "#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml", + "#3": "", + "#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"", + "#5": "DATABASE_URL=\"mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7\"", + "DATABASE_URL": "postgresql://symfony:ChangeMe@127.0.0.1:5432/app?serverVersion=13&charset=utf8" + }, + "dockerfile": [ + "RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\", + "\tdocker-php-ext-install -j$(nproc) pdo_pgsql; \\", + "\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5; \\", + "\tapk del .pgsql-deps" + ], + "docker-compose": { + "docker-compose.yml": { + "services": [ + "database:", + " image: postgres:${POSTGRES_VERSION:-13}-alpine", + " environment:", + " POSTGRES_DB: ${POSTGRES_DB:-app}", + " # You should definitely change the password in production", + " POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}", + " POSTGRES_USER: ${POSTGRES_USER:-symfony}", + " volumes:", + " - db-data:/var/lib/postgresql/data:rw", + " # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!", + " # - ./docker/db/data:/var/lib/postgresql/data:rw" + ], + "volumes": [ + "db-data:" + ] + }, + "docker-compose.override.yml": { + "services": [ + "database:", + " ports:", + " - \"5432\"" + ] + } + }, + "post-install-output": [ + " * Modify your DATABASE_URL config in .env", + "", + " * Configure the driver (postgresql) and", + " server_version (13) in config/packages/doctrine.yaml" + ] + }, + "files": { + "config/packages/doctrine.yaml": { + "contents": [ + "doctrine:", + " dbal:", + " url: '%env(resolve:DATABASE_URL)%'", + "", + " # IMPORTANT: You MUST configure your server version,", + " # either here or in the DATABASE_URL env var (see .env file)", + " #server_version: '13'", + " orm:", + " auto_generate_proxy_classes: true", + " naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware", + " auto_mapping: true", + " mappings:", + " App:", + " is_bundle: false", + " dir: '%kernel.project_dir%/src/Entity'", + " prefix: 'App\\Entity'", + " alias: App", + "", + "when@test:", + " doctrine:", + " dbal:", + " # \"TEST_TOKEN\" is typically set by ParaTest", + " dbname_suffix: '_test%env(default::TEST_TOKEN)%'", + "", + "when@prod:", + " doctrine:", + " orm:", + " auto_generate_proxy_classes: false", + " query_cache_driver:", + " type: pool", + " pool: doctrine.system_cache_pool", + " result_cache_driver:", + " type: pool", + " pool: doctrine.result_cache_pool", + "", + " framework:", + " cache:", + " pools:", + " doctrine.result_cache_pool:", + " adapter: cache.app", + " doctrine.system_cache_pool:", + " adapter: cache.system", + "" + ], + "executable": false + }, + "src/Entity/.gitignore": { + "contents": [ + "" + ], + "executable": false + }, + "src/Repository/.gitignore": { + "contents": [ + "" + ], + "executable": false + } + }, + "ref": "06a5dfe6c1b12da89276b72ed281be757d24c8a0" + } + } +} diff --git a/archived/symfony.webpack-encore-bundle/1723ab94a3ba021bcd69f6b907492668821c857f.json b/archived/symfony.webpack-encore-bundle/1723ab94a3ba021bcd69f6b907492668821c857f.json new file mode 100644 index 00000000..4246f490 --- /dev/null +++ b/archived/symfony.webpack-encore-bundle/1723ab94a3ba021bcd69f6b907492668821c857f.json @@ -0,0 +1,271 @@ +{ + "manifests": { + "symfony/webpack-encore-bundle": { + "manifest": { + "bundles": { + "Symfony\\WebpackEncoreBundle\\WebpackEncoreBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "assets/": "assets/", + "config/": "%CONFIG_DIR%/", + "package.json": "package.json", + "webpack.config.js": "webpack.config.js" + }, + "gitignore": [ + "/node_modules/", + "/%PUBLIC_DIR%/build/", + "npm-debug.log", + "yarn-error.log" + ], + "post-install-output": [ + " * Install Yarn and run yarn install", + "", + " * Uncomment the Twig helpers in templates/base.html.twig (they may be already)", + "", + " * Start the development server: yarn encore dev-server" + ] + }, + "files": { + "assets/app.js": { + "contents": [ + "/*", + " * Welcome to your app's main JavaScript file!", + " *", + " * We recommend including the built version of this JavaScript file", + " * (and its CSS file) in your base layout (base.html.twig).", + " */", + "", + "// any CSS you import will output into a single css file (app.css in this case)", + "import './styles/app.css';", + "", + "// start the Stimulus application", + "import './bootstrap';", + "" + ], + "executable": false + }, + "assets/bootstrap.js": { + "contents": [ + "import { startStimulusApp } from '@symfony/stimulus-bridge';", + "", + "// Registers Stimulus controllers from controllers.json and in the controllers/ directory", + "export const app = startStimulusApp(require.context(", + " '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',", + " true,", + " /\\.(j|t)sx?$/", + "));", + "", + "// register any custom, 3rd party controllers here", + "// app.register('some_controller_name', SomeImportedController);", + "" + ], + "executable": false + }, + "assets/controllers.json": { + "contents": [ + "{", + " \"controllers\": [],", + " \"entrypoints\": []", + "}", + "" + ], + "executable": false + }, + "assets/controllers/hello_controller.js": { + "contents": [ + "import { Controller } from '@hotwired/stimulus';", + "", + "/*", + " * This is an example Stimulus controller!", + " *", + " * Any element with a data-controller=\"hello\" attribute will cause", + " * this controller to be executed. The name \"hello\" comes from the filename:", + " * hello_controller.js -> \"hello\"", + " *", + " * Delete this file or adapt it for your use!", + " */", + "export default class extends Controller {", + " connect() {", + " this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';", + " }", + "}", + "" + ], + "executable": false + }, + "assets/styles/app.css": { + "contents": [ + "body {", + " background-color: lightgray;", + "}", + "" + ], + "executable": false + }, + "config/packages/webpack_encore.yaml": { + "contents": [ + "webpack_encore:", + " # The path where Encore is building the assets - i.e. Encore.setOutputPath()", + " output_path: '%kernel.project_dir%/public/build'", + " # If multiple builds are defined (as shown below), you can disable the default build:", + " # output_path: false", + "", + " # Set attributes that will be rendered on all script and link tags", + " script_attributes:", + " defer: true", + " # Uncomment (also under link_attributes) if using Turbo Drive", + " # https://turbo.hotwired.dev/handbook/drive#reloading-when-assets-change", + " # 'data-turbo-track': reload", + " # link_attributes:", + " # Uncomment if using Turbo Drive", + " # 'data-turbo-track': reload", + "", + " # If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')", + " # crossorigin: 'anonymous'", + "", + " # Preload all rendered script and link tags automatically via the HTTP/2 Link header", + " # preload: true", + "", + " # Throw an exception if the entrypoints.json file is missing or an entry is missing from the data", + " # strict_mode: false", + "", + " # If you have multiple builds:", + " # builds:", + " # pass \"frontend\" as the 3rg arg to the Twig functions", + " # {{ encore_entry_script_tags('entry1', null, 'frontend') }}", + "", + " # frontend: '%kernel.project_dir%/public/frontend/build'", + "", + " # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)", + " # Put in config/packages/prod/webpack_encore.yaml", + " # cache: true", + "", + "framework:", + " assets:", + " json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'", + "", + "#when@prod:", + "# webpack_encore:", + "# # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)", + "# # Available in version 1.2", + "# cache: true", + "", + "#when@test:", + "# webpack_encore:", + "# strict_mode: false", + "" + ], + "executable": false + }, + "package.json": { + "contents": [ + "{", + " \"devDependencies\": {", + " \"@hotwired/stimulus\": \"^3.0.0\",", + " \"@symfony/stimulus-bridge\": \"^3.0.0\",", + " \"@symfony/webpack-encore\": \"^1.7.0\",", + " \"core-js\": \"^3.0.0\",", + " \"regenerator-runtime\": \"^0.13.2\",", + " \"webpack-notifier\": \"^1.6.0\"", + " },", + " \"license\": \"UNLICENSED\",", + " \"private\": true,", + " \"scripts\": {", + " \"dev-server\": \"encore dev-server\",", + " \"dev\": \"encore dev\",", + " \"watch\": \"encore dev --watch\",", + " \"build\": \"encore production --progress\"", + " }", + "}", + "" + ], + "executable": false + }, + "webpack.config.js": { + "contents": [ + "const Encore = require('@symfony/webpack-encore');", + "", + "// Manually configure the runtime environment if not already configured yet by the \"encore\" command.", + "// It's useful when you use tools that rely on webpack.config.js file.", + "if (!Encore.isRuntimeEnvironmentConfigured()) {", + " Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');", + "}", + "", + "Encore", + " // directory where compiled assets will be stored", + " .setOutputPath('public/build/')", + " // public path used by the web server to access the output path", + " .setPublicPath('/build')", + " // only needed for CDN's or sub-directory deploy", + " //.setManifestKeyPrefix('build/')", + "", + " /*", + " * ENTRY CONFIG", + " *", + " * Each entry will result in one JavaScript file (e.g. app.js)", + " * and one CSS file (e.g. app.css) if your JavaScript imports CSS.", + " */", + " .addEntry('app', './assets/app.js')", + "", + " // enables the Symfony UX Stimulus bridge (used in assets/bootstrap.js)", + " .enableStimulusBridge('./assets/controllers.json')", + "", + " // When enabled, Webpack \"splits\" your files into smaller pieces for greater optimization.", + " .splitEntryChunks()", + "", + " // will require an extra script tag for runtime.js", + " // but, you probably want this, unless you're building a single-page app", + " .enableSingleRuntimeChunk()", + "", + " /*", + " * FEATURE CONFIG", + " *", + " * Enable & configure other features below. For a full", + " * list of features, see:", + " * https://symfony.com/doc/current/frontend.html#adding-more-features", + " */", + " .cleanupOutputBeforeBuild()", + " .enableBuildNotifications()", + " .enableSourceMaps(!Encore.isProduction())", + " // enables hashed filenames (e.g. app.abc123.css)", + " .enableVersioning(Encore.isProduction())", + "", + " .configureBabel((config) => {", + " config.plugins.push('@babel/plugin-proposal-class-properties');", + " })", + "", + " // enables @babel/preset-env polyfills", + " .configureBabelPresetEnv((config) => {", + " config.useBuiltIns = 'usage';", + " config.corejs = 3;", + " })", + "", + " // enables Sass/SCSS support", + " //.enableSassLoader()", + "", + " // uncomment if you use TypeScript", + " //.enableTypeScriptLoader()", + "", + " // uncomment if you use React", + " //.enableReactPreset()", + "", + " // uncomment to get integrity=\"...\" attributes on your script & link tags", + " // requires WebpackEncoreBundle 1.4 or higher", + " //.enableIntegrityHashes(Encore.isProduction())", + "", + " // uncomment if you're having problems with a jQuery plugin", + " //.autoProvidejQuery()", + ";", + "", + "module.exports = Encore.getWebpackConfig();", + "" + ], + "executable": false + } + }, + "ref": "1723ab94a3ba021bcd69f6b907492668821c857f" + } + } +} diff --git a/doctrine.doctrine-bundle.2.4.json b/doctrine.doctrine-bundle.2.4.json index 1a3aded6..c445f147 100644 --- a/doctrine.doctrine-bundle.2.4.json +++ b/doctrine.doctrine-bundle.2.4.json @@ -79,39 +79,31 @@ " dir: '%kernel.project_dir%/src/Entity'", " prefix: 'App\\Entity'", " alias: App", - "" - ], - "executable": false - }, - "config/packages/prod/doctrine.yaml": { - "contents": [ - "doctrine:", - " orm:", - " auto_generate_proxy_classes: false", - " query_cache_driver:", - " type: pool", - " pool: doctrine.system_cache_pool", - " result_cache_driver:", - " type: pool", - " pool: doctrine.result_cache_pool", "", - "framework:", - " cache:", - " pools:", - " doctrine.result_cache_pool:", - " adapter: cache.app", - " doctrine.system_cache_pool:", - " adapter: cache.system", - "" - ], - "executable": false - }, - "config/packages/test/doctrine.yaml": { - "contents": [ - "doctrine:", - " dbal:", - " # \"TEST_TOKEN\" is typically set by ParaTest", - " dbname_suffix: '_test%env(default::TEST_TOKEN)%'", + "when@test:", + " doctrine:", + " dbal:", + " # \"TEST_TOKEN\" is typically set by ParaTest", + " dbname_suffix: '_test%env(default::TEST_TOKEN)%'", + "", + "when@prod:", + " doctrine:", + " orm:", + " auto_generate_proxy_classes: false", + " query_cache_driver:", + " type: pool", + " pool: doctrine.system_cache_pool", + " result_cache_driver:", + " type: pool", + " pool: doctrine.result_cache_pool", + "", + " framework:", + " cache:", + " pools:", + " doctrine.result_cache_pool:", + " adapter: cache.app", + " doctrine.system_cache_pool:", + " adapter: cache.system", "" ], "executable": false @@ -129,7 +121,7 @@ "executable": false } }, - "ref": "f98f1affe028f8153a459d15f220ada3826b5aa2" + "ref": "06a5dfe6c1b12da89276b72ed281be757d24c8a0" } } } diff --git a/symfony.webpack-encore-bundle.1.9.json b/symfony.webpack-encore-bundle.1.9.json index 3d4ef9be..4246f490 100644 --- a/symfony.webpack-encore-bundle.1.9.json +++ b/symfony.webpack-encore-bundle.1.9.json @@ -104,33 +104,6 @@ ], "executable": false }, - "config/packages/assets.yaml": { - "contents": [ - "framework:", - " assets:", - " json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'", - "" - ], - "executable": false - }, - "config/packages/prod/webpack_encore.yaml": { - "contents": [ - "#webpack_encore:", - " # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)", - " # Available in version 1.2", - " #cache: true", - "" - ], - "executable": false - }, - "config/packages/test/webpack_encore.yaml": { - "contents": [ - "#webpack_encore:", - "# strict_mode: false", - "" - ], - "executable": false - }, "config/packages/webpack_encore.yaml": { "contents": [ "webpack_encore:", @@ -168,6 +141,20 @@ " # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)", " # Put in config/packages/prod/webpack_encore.yaml", " # cache: true", + "", + "framework:", + " assets:", + " json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'", + "", + "#when@prod:", + "# webpack_encore:", + "# # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)", + "# # Available in version 1.2", + "# cache: true", + "", + "#when@test:", + "# webpack_encore:", + "# strict_mode: false", "" ], "executable": false @@ -278,7 +265,7 @@ "executable": false } }, - "ref": "d2d1e09675fff3fa4193aa9950a7c39934524a25" + "ref": "1723ab94a3ba021bcd69f6b907492668821c857f" } } }