Update Flex archives

This commit is contained in:
github-action[bot]
2021-12-18 17:20:12 +00:00
parent 2e150e398b
commit a5298a919f
957 changed files with 118270 additions and 0 deletions
@@ -0,0 +1,197 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
" ",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: 'false'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.27.0\",",
" \"core-js\": \"^3.0.0\",",
" \"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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * Each entry will result in one JavaScript file (e.g. app.js)",
" * and one CSS file (e.g. app.css) if you JavaScript imports CSS.",
" */",
" .addEntry('app', './assets/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables @babel/preset-env polyfills",
" .configureBabel(() => {}, {",
" useBuiltIns: 'usage',",
" corejs: 3",
" })",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // 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()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "052f6a3782cb7ac3506f21c2f0a05403a69247c4"
}
}
}
@@ -0,0 +1,198 @@
{
"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"
]
},
"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';",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to import it.",
"// import $ from 'jquery';",
"",
"console.log('Hello Webpack Encore! Edit me in assets/app.js');",
""
],
"executable": false
},
"assets/styles/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.31.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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * 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')",
" //.addEntry('page1', './assets/page1.js')",
" //.addEntry('page2', './assets/page2.js')",
"",
" // 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())",
"",
" // 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 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()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "0907793988a8b61fb5699632b46bf1172e2e51f4"
}
}
}
@@ -0,0 +1,284 @@
{
"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 <fg=green>yarn install</>",
"",
" * Uncomment the Twig helpers in <fg=green>templates/base.html.twig</>",
"",
" * Start the development server: <fg=green>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 '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/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:",
" # 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",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
" \"@symfony/webpack-encore\": \"^1.0.0\",",
" \"core-js\": \"^3.0.0\",",
" \"regenerator-runtime\": \"^0.13.2\",",
" \"stimulus\": \"^2.0.0\",",
" \"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": "0f274572ea315eb3b5884518a50ca43f211b4534"
}
}
}
@@ -0,0 +1,181 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.27.0\",",
" \"core-js\": \"^3.0.0\",",
" \"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": [
"var Encore = require('@symfony/webpack-encore');",
"",
"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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * Each entry will result in one JavaScript file (e.g. app.js)",
" * and one CSS file (e.g. app.css) if you JavaScript imports CSS.",
" */",
" .addEntry('app', './assets/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables @babel/preset-env polyfills",
" .configureBabel(() => {}, {",
" useBuiltIns: 'usage',",
" corejs: 3",
" })",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // uncomment to get integrity=\"...\" attributes on your script & link tags",
" // requires WebpackEncoreBundle 1.4 or higher",
" //.enableIntegrityHashes()",
"",
" // uncomment if you're having problems with a jQuery plugin",
" //.autoProvidejQuery()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "10a1cc1d98be94b8dce639450b5f81efa57130a2"
}
}
}
@@ -0,0 +1,284 @@
{
"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 <fg=green>yarn install</>",
"",
" * Uncomment the Twig helpers in <fg=green>templates/base.html.twig</>",
"",
" * Start the development server: <fg=green>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/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:",
" # 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",
""
],
"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": "10e67e9dc87263a25007130ee59975a36ea624fe"
}
}
}
@@ -0,0 +1,283 @@
{
"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": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> Finish Encore Installation </>",
"<bg=blue;fg=white> </>",
"",
" * Install Yarn and run <fg=green>yarn install</>",
"",
" * Uncomment the Twig helpers in <fg=green>templates/base.html.twig</>",
"",
" * Start the development server: <fg=green>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 '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/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:",
" # 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",
" # link_attributes:",
"",
" # 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",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
" \"@symfony/webpack-encore\": \"^1.0.0\",",
" \"core-js\": \"^3.0.0\",",
" \"regenerator-runtime\": \"^0.13.2\",",
" \"stimulus\": \"^2.0.0\",",
" \"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": "12e0ad8155c23b9f9290e8c49215d4ec921cdf71"
}
}
}
@@ -0,0 +1,175 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"executable": false
},
"config/packages/assets.yaml": {
"contents": [
"framework:",
" assets:",
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
""
],
"executable": false
},
"config/packages/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
" # Available in version 1.2",
" #cache: '%kernel.debug%'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.26.0\",",
" \"core-js\": \"^3.0.0\",",
" \"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": [
"var Encore = require('@symfony/webpack-encore');",
"",
"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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * Each entry will result in one JavaScript file (e.g. app.js)",
" * and one CSS file (e.g. app.css) if you JavaScript imports CSS.",
" */",
" .addEntry('app', './assets/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables @babel/preset-env polyfills",
" .configureBabel(() => {}, {",
" useBuiltIns: 'usage',",
" corejs: 3",
" })",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // uncomment to get integrity=\"...\" attributes on your script & link tags",
" // requires WebpackEncoreBundle 1.4 or higher",
" //.enableIntegrityHashes()",
"",
" // uncomment if you're having problems with a jQuery plugin",
" //.autoProvidejQuery()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "134850a60890780e53f5ff024fcfadbe960ab89d"
}
}
}
@@ -0,0 +1,197 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
" ",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: 'false'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.27.0\",",
" \"core-js\": \"^3.0.0\",",
" \"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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * 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/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables @babel/preset-env polyfills",
" .configureBabel(() => {}, {",
" useBuiltIns: 'usage',",
" corejs: 3",
" })",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // 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()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "15d61b2277cedff81e57cad9e66d2f28959e6058"
}
}
}
@@ -0,0 +1,242 @@
{
"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"
]
},
"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';",
"import '@symfony/autoimport';",
"",
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
"export const app = startStimulusApp(require.context('./controllers', true, /\\.(j|t)sx?$/));",
""
],
"executable": false
},
"assets/controllers.json": {
"contents": [
"{",
" \"controllers\": [],",
" \"entrypoints\": []",
"}",
""
],
"executable": false
},
"assets/controllers/hello_controller.js": {
"contents": [
"import { Controller } from '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/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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^1.0.0\",",
" \"@symfony/webpack-encore\": \"^0.32.0\",",
" \"core-js\": \"^3.0.0\",",
" \"stimulus\": \"^1.1.1\",",
" \"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": [
"var 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": "16b38416ff25527d66e9f0df476351cfe0ee789d"
}
}
}
@@ -0,0 +1,164 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"executable": false
},
"config/packages/assets.yaml": {
"contents": [
"framework:",
" assets:",
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
""
],
"executable": false
},
"config/packages/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
" # Available in version 1.2",
" #cache: '%kernel.debug%'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.22.0\",",
" \"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": [
"var Encore = require('@symfony/webpack-encore');",
"",
"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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * Each entry will result in one JavaScript file (e.g. app.js)",
" * and one CSS file (e.g. app.css) if you JavaScript imports CSS.",
" */",
" .addEntry('app', './assets/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // uncomment if you're having problems with a jQuery plugin",
" //.autoProvidejQuery()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "1b88cff897d383c45522a457ea9daba85a9b9ab2"
}
}
}
@@ -0,0 +1,157 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"executable": false
},
"config/packages/assets.yaml": {
"contents": [
"framework:",
" assets:",
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
""
],
"executable": false
},
"config/packages/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.22.0\",",
" \"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": [
"var Encore = require('@symfony/webpack-encore');",
"",
"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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * Each entry will result in one JavaScript file (e.g. app.js)",
" * and one CSS file (e.g. app.css) if you JavaScript imports CSS.",
" */",
" .addEntry('app', './assets/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // uncomment if you're having problems with a jQuery plugin",
" //.autoProvidejQuery()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "248c29c070dcd79e8333c676b0c5e284e3b365b5"
}
}
}
@@ -0,0 +1,248 @@
{
"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"
]
},
"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 '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/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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
" \"@symfony/webpack-encore\": \"^1.0.0\",",
" \"core-js\": \"^3.0.0\",",
" \"regenerator-runtime\": \"^0.13.2\",",
" \"stimulus\": \"^2.0.0\",",
" \"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": "2d96acce1b27ddaa12bd7405a39892928ce2b95d"
}
}
}
@@ -0,0 +1,280 @@
{
"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": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> Finish Encore Installation </>",
"<bg=blue;fg=white> </>",
"",
" * Install Yarn and run <fg=green>yarn install</>",
"",
" * Uncomment the Twig helpers in <fg=green>templates/base.html.twig</>",
"",
" * Start the development server: <fg=green>yarn encore dev-server</fg>"
]
},
"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?$/",
"));",
""
],
"executable": false
},
"assets/controllers.json": {
"contents": [
"{",
" \"controllers\": [],",
" \"entrypoints\": []",
"}",
""
],
"executable": false
},
"assets/controllers/hello_controller.js": {
"contents": [
"import { Controller } from '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/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:",
" # 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",
" # link_attributes:",
"",
" # 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",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
" \"@symfony/webpack-encore\": \"^1.0.0\",",
" \"core-js\": \"^3.0.0\",",
" \"regenerator-runtime\": \"^0.13.2\",",
" \"stimulus\": \"^2.0.0\",",
" \"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": "34a82422147bc632dec0db2676bf27aaaa582ba0"
}
}
}
@@ -0,0 +1,175 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"executable": false
},
"config/packages/assets.yaml": {
"contents": [
"framework:",
" assets:",
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
""
],
"executable": false
},
"config/packages/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
" # Available in version 1.2",
" #cache: '%kernel.debug%'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.27.0\",",
" \"core-js\": \"^3.0.0\",",
" \"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": [
"var Encore = require('@symfony/webpack-encore');",
"",
"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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * Each entry will result in one JavaScript file (e.g. app.js)",
" * and one CSS file (e.g. app.css) if you JavaScript imports CSS.",
" */",
" .addEntry('app', './assets/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables @babel/preset-env polyfills",
" .configureBabel(() => {}, {",
" useBuiltIns: 'usage',",
" corejs: 3",
" })",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // uncomment to get integrity=\"...\" attributes on your script & link tags",
" // requires WebpackEncoreBundle 1.4 or higher",
" //.enableIntegrityHashes()",
"",
" // uncomment if you're having problems with a jQuery plugin",
" //.autoProvidejQuery()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "37d6c72565113adcea174f899c425851c8a821dc"
}
}
}
@@ -0,0 +1,284 @@
{
"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 <fg=green>yarn install</>",
"",
" * Uncomment the Twig helpers in <fg=green>templates/base.html.twig</>",
"",
" * Start the development server: <fg=green>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 '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/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:",
" # 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.hotwire.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",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
" \"@symfony/webpack-encore\": \"^1.0.0\",",
" \"core-js\": \"^3.0.0\",",
" \"regenerator-runtime\": \"^0.13.2\",",
" \"stimulus\": \"^2.0.0\",",
" \"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": "404714014dd6ff7de9aa0f9582d592147359e617"
}
}
}
@@ -0,0 +1,245 @@
{
"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"
]
},
"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?$/",
"));",
""
],
"executable": false
},
"assets/controllers.json": {
"contents": [
"{",
" \"controllers\": [],",
" \"entrypoints\": []",
"}",
""
],
"executable": false
},
"assets/controllers/hello_controller.js": {
"contents": [
"import { Controller } from '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/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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
" \"@symfony/webpack-encore\": \"^1.0.0\",",
" \"core-js\": \"^3.0.0\",",
" \"regenerator-runtime\": \"^0.13.2\",",
" \"stimulus\": \"^2.0.0\",",
" \"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": "49d15f337add8dc07e6d442755587d344ab1f47c"
}
}
}
@@ -0,0 +1,198 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.28.2\",",
" \"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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * 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/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // 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 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()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "4c4bbf99073def9d4c2961f1a8dbb177988b8d32"
}
}
}
@@ -0,0 +1,159 @@
{
"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"
]
},
"files": {
"assets/.gitignore": {
"contents": [
""
],
"executable": false
},
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// var $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"executable": false
},
"config/packages/assets.yaml": {
"contents": [
"framework:",
" assets:",
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
""
],
"executable": false
},
"config/packages/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.21.0\",",
" \"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": [
"var Encore = require('@symfony/webpack-encore');",
"",
"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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * Each entry will result in one JavaScript file (e.g. app.js)",
" * and one CSS file (e.g. app.css) if you JavaScript imports CSS.",
" */",
" .addEntry('app', './assets/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // uncomment if you're having problems with a jQuery plugin",
" //.autoProvidejQuery()",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "4c97a884bc54a4e66bb2d0785ca855141880b6a8"
}
}
}
@@ -0,0 +1,266 @@
{
"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"
]
},
"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';",
"import '@symfony/autoimport';",
"",
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
"export const app = startStimulusApp(require.context('./controllers', true, /\\.(j|t)sx?$/));",
""
],
"executable": false
},
"assets/controllers.json": {
"contents": [
"{",
" \"controllers\": [],",
" \"entrypoints\": []",
"}",
""
],
"executable": false
},
"assets/controllers/hello_controller.js": {
"contents": [
"import { Controller } from '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/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:",
" # 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",
" # link_attributes:",
"",
" # 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",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^1.1.0\",",
" \"@symfony/webpack-encore\": \"^0.32.0\",",
" \"core-js\": \"^3.0.0\",",
" \"stimulus\": \"^2.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": [
"var 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": "579d8de06df2ceb34d39e84e84c0c051b9b5ac68"
}
}
}
@@ -0,0 +1,160 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"executable": false
},
"config/packages/assets.yaml": {
"contents": [
"framework:",
" assets:",
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
""
],
"executable": false
},
"config/packages/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.22.0\",",
" \"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": [
"var Encore = require('@symfony/webpack-encore');",
"",
"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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * Each entry will result in one JavaScript file (e.g. app.js)",
" * and one CSS file (e.g. app.css) if you JavaScript imports CSS.",
" */",
" .addEntry('app', './assets/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // uncomment if you're having problems with a jQuery plugin",
" //.autoProvidejQuery()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "5880e1fef9f9eb6a523e698a63f8feabcc8b0834"
}
}
}
@@ -0,0 +1,198 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 '../css/app.css';",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to import it.",
"// import $ from 'jquery';",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.28.2\",",
" \"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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * 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/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // 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 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()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "5ccf77fa14a927dde2caaad95245d29441f8f8c4"
}
}
}
@@ -0,0 +1,288 @@
{
"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": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> Finish Encore Installation </>",
"<bg=blue;fg=white> </>",
"",
" * Install Yarn and run <fg=green>yarn install</>",
"",
" * Uncomment the Twig helpers in <fg=green>templates/base.html.twig</>",
"",
" * Start the development server: <fg=green>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 '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/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:",
" # 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.hotwire.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",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
" \"@symfony/webpack-encore\": \"^1.0.0\",",
" \"core-js\": \"^3.0.0\",",
" \"regenerator-runtime\": \"^0.13.2\",",
" \"stimulus\": \"^2.0.0\",",
" \"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": "5ff15d211e3d4a9216218f6b7f1572262efd74e2"
}
}
}
@@ -0,0 +1,198 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 '../css/app.css';",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to import it.",
"// import $ from 'jquery';",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.29.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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * 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/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // 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 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()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "61e69ba0fb43f42579741cbb249089410892fe56"
}
}
}
@@ -0,0 +1,196 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
" ",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
" # Available in version 1.2",
" #cache: '%kernel.debug%'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.27.0\",",
" \"core-js\": \"^3.0.0\",",
" \"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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * Each entry will result in one JavaScript file (e.g. app.js)",
" * and one CSS file (e.g. app.css) if you JavaScript imports CSS.",
" */",
" .addEntry('app', './assets/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables @babel/preset-env polyfills",
" .configureBabel(() => {}, {",
" useBuiltIns: 'usage',",
" corejs: 3",
" })",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // uncomment to get integrity=\"...\" attributes on your script & link tags",
" // requires WebpackEncoreBundle 1.4 or higher",
" //.enableIntegrityHashes()",
"",
" // uncomment if you're having problems with a jQuery plugin",
" //.autoProvidejQuery()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "65a49f9f4d220756b46ab730bf6dcadd2cea92fc"
}
}
}
@@ -0,0 +1,261 @@
{
"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"
]
},
"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';",
"import '@symfony/autoimport';",
"",
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
"export const app = startStimulusApp(require.context('./controllers', true, /\\.(j|t)sx?$/));",
""
],
"executable": false
},
"assets/controllers.json": {
"contents": [
"{",
" \"controllers\": [],",
" \"entrypoints\": []",
"}",
""
],
"executable": false
},
"assets/controllers/hello_controller.js": {
"contents": [
"import { Controller } from '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/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:",
" # 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",
"",
" # 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",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^1.0.0\",",
" \"@symfony/webpack-encore\": \"^0.32.0\",",
" \"core-js\": \"^3.0.0\",",
" \"stimulus\": \"^1.1.1\",",
" \"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": [
"var 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": "6747b34e25c836dd684d27846a452d8f8a3abb2e"
}
}
}
@@ -0,0 +1,198 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 '../css/app.css';",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to import it.",
"// import $ from 'jquery';",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.30.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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * 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/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // 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 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()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "6825c9ce018f7e1b460c9ebf64faf347924143dd"
}
}
}
@@ -0,0 +1,217 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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:",
" # 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",
"",
" # 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 http2 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",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.28.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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * 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/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables @babel/preset-env polyfills",
" .configureBabel(() => {}, {",
" useBuiltIns: 'usage',",
" corejs: 3",
" })",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // 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()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "69e1d805ad95964088bd510c05995e87dc391564"
}
}
}
@@ -0,0 +1,198 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
" ",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: 'false'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.27.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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * 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/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables @babel/preset-env polyfills",
" .configureBabel(() => {}, {",
" useBuiltIns: 'usage',",
" corejs: 3",
" })",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // 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()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "6eecb32a5cc40845fd4e18293ccc9b2f9b721566"
}
}
}
@@ -0,0 +1,267 @@
{
"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"
]
},
"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 '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/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:",
" # 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",
"",
" # 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",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
" \"@symfony/webpack-encore\": \"^1.0.0\",",
" \"core-js\": \"^3.0.0\",",
" \"regenerator-runtime\": \"^0.13.2\",",
" \"stimulus\": \"^2.0.0\",",
" \"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": "729e968bd020e8e012a7073739b6ac536e04160e"
}
}
}
@@ -0,0 +1,242 @@
{
"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"
]
},
"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';",
"import '@symfony/autoimport';",
"",
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
"export const app = startStimulusApp(require.context('./controllers', true, /\\.(j|t)sx?$/));",
""
],
"executable": false
},
"assets/controllers.json": {
"contents": [
"{",
" \"controllers\": [],",
" \"entrypoints\": []",
"}",
""
],
"executable": false
},
"assets/controllers/hello_controller.js": {
"contents": [
"import { Controller } from '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/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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^1.1.0\",",
" \"@symfony/webpack-encore\": \"^1.0.0\",",
" \"core-js\": \"^3.0.0\",",
" \"regenerator-runtime\": \"^0.13.2\",",
" \"stimulus\": \"^2.0.0\",",
" \"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": "785993d29764b9a970bbad42533951b65a8145be"
}
}
}
@@ -0,0 +1,190 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
" ",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)",
" # Available in version 1.2",
" #cache: '%kernel.debug%'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.27.0\",",
" \"core-js\": \"^3.0.0\",",
" \"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": [
"var Encore = require('@symfony/webpack-encore');",
"",
"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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * Each entry will result in one JavaScript file (e.g. app.js)",
" * and one CSS file (e.g. app.css) if you JavaScript imports CSS.",
" */",
" .addEntry('app', './assets/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables @babel/preset-env polyfills",
" .configureBabel(() => {}, {",
" useBuiltIns: 'usage',",
" corejs: 3",
" })",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // uncomment to get integrity=\"...\" attributes on your script & link tags",
" // requires WebpackEncoreBundle 1.4 or higher",
" //.enableIntegrityHashes()",
"",
" // uncomment if you're having problems with a jQuery plugin",
" //.autoProvidejQuery()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "7b6180725839c090cd8dbd069a3947b0dca1bae0"
}
}
}
@@ -0,0 +1,280 @@
{
"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": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> Finish Encore Installation </>",
"<bg=blue;fg=white> </>",
"",
" * Install Yarn and run <fg=green>yarn install</>",
"",
" * Uncomment the Twig helpers in <fg=green>templates/base.html.twig</>",
"",
" * Start the development server: <fg=green>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?$/",
"));",
""
],
"executable": false
},
"assets/controllers.json": {
"contents": [
"{",
" \"controllers\": [],",
" \"entrypoints\": []",
"}",
""
],
"executable": false
},
"assets/controllers/hello_controller.js": {
"contents": [
"import { Controller } from '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/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:",
" # 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",
" # link_attributes:",
"",
" # 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",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
" \"@symfony/webpack-encore\": \"^1.0.0\",",
" \"core-js\": \"^3.0.0\",",
" \"regenerator-runtime\": \"^0.13.2\",",
" \"stimulus\": \"^2.0.0\",",
" \"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": "9399a0bfc6ee7a0c019f952bca46d6a6045dd451"
}
}
}
@@ -0,0 +1,198 @@
{
"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"
]
},
"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';",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to import it.",
"// import $ from 'jquery';",
"",
"console.log('Hello Webpack Encore! Edit me in assets/app.js');",
""
],
"executable": false
},
"assets/styles/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.30.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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * 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')",
" //.addEntry('page1', './assets/page1.js')",
" //.addEntry('page2', './assets/page2.js')",
"",
" // 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())",
"",
" // 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 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()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "9a04161b2cc384bb68a2654dc58560339da05632"
}
}
}
@@ -0,0 +1,163 @@
{
"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"
]
},
"files": {
"assets/.gitignore": {
"contents": [
""
],
"executable": false
},
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// var $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"executable": false
},
"config/packages/assets.yaml": {
"contents": [
"framework:",
" assets:",
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
""
],
"executable": false
},
"config/packages/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.22.0\",",
" \"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": [
"var Encore = require('@symfony/webpack-encore');",
"",
"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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * Each entry will result in one JavaScript file (e.g. app.js)",
" * and one CSS file (e.g. app.css) if you JavaScript imports CSS.",
" */",
" .addEntry('app', './assets/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // uncomment if you're having problems with a jQuery plugin",
" //.autoProvidejQuery()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "9aea6366d216792824dc4985fc56617fabdaf82b"
}
}
}
@@ -0,0 +1,245 @@
{
"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"
]
},
"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?$/",
"));",
""
],
"executable": false
},
"assets/controllers.json": {
"contents": [
"{",
" \"controllers\": [],",
" \"entrypoints\": []",
"}",
""
],
"executable": false
},
"assets/controllers/hello_controller.js": {
"contents": [
"import { Controller } from '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/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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^2.0.0\",",
" \"@symfony/webpack-encore\": \"^1.0.0\",",
" \"core-js\": \"^3.0.0\",",
" \"regenerator-runtime\": \"^0.13.2\",",
" \"stimulus\": \"^2.0.0\",",
" \"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": "b2587ffa5b4ae4eb0c9140efe53b8a2a1fb03315"
}
}
}
@@ -0,0 +1,198 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.28.2\",",
" \"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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * 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/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // 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 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()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "cee9cba3be86a8e5b90dfeff714f514cdc1d302a"
}
}
}
@@ -0,0 +1,198 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.28.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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * 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/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables @babel/preset-env polyfills",
" .configureBabel(() => {}, {",
" useBuiltIns: 'usage',",
" corejs: 3",
" })",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // 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()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "d3b160b9799c91cbfc3df6f018c795f3bf88698a"
}
}
}
@@ -0,0 +1,242 @@
{
"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"
]
},
"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';",
"import '@symfony/autoimport';",
"",
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
"export const app = startStimulusApp(require.context('./controllers', true, /\\.(j|t)sx?$/));",
""
],
"executable": false
},
"assets/controllers.json": {
"contents": [
"{",
" \"controllers\": [],",
" \"entrypoints\": []",
"}",
""
],
"executable": false
},
"assets/controllers/hello_controller.js": {
"contents": [
"import { Controller } from '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/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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^1.1.0\",",
" \"@symfony/webpack-encore\": \"^0.32.0\",",
" \"core-js\": \"^3.0.0\",",
" \"stimulus\": \"^2.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": [
"var 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": "dd3d54835606839c751c96b9aff2c17644aab99c"
}
}
}
@@ -0,0 +1,159 @@
{
"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"
]
},
"files": {
"assets/.gitignore": {
"contents": [
""
],
"executable": false
},
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// var $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"executable": false
},
"config/packages/assets.yaml": {
"contents": [
"framework:",
" assets:",
" json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'",
""
],
"executable": false
},
"config/packages/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.22.0\",",
" \"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": [
"var Encore = require('@symfony/webpack-encore');",
"",
"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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * Each entry will result in one JavaScript file (e.g. app.js)",
" * and one CSS file (e.g. app.css) if you JavaScript imports CSS.",
" */",
" .addEntry('app', './assets/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // uncomment if you're having problems with a jQuery plugin",
" //.autoProvidejQuery()",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "dd76e869a5d10fac29f4c0c02f8feaac613471ff"
}
}
}
@@ -0,0 +1,242 @@
{
"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"
]
},
"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';",
"import '@symfony/autoimport';",
"",
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
"export const app = startStimulusApp(require.context('./controllers', true, /\\.(j|t)sx?$/));",
""
],
"executable": false
},
"assets/controllers.json": {
"contents": [
"{",
" \"controllers\": [],",
" \"entrypoints\": []",
"}",
""
],
"executable": false
},
"assets/controllers/hello_controller.js": {
"contents": [
"import { Controller } from '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/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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^1.1.0\",",
" \"@symfony/webpack-encore\": \"^0.32.0\",",
" \"core-js\": \"^3.0.0\",",
" \"regenerator-runtime\": \"^0.13.2\",",
" \"stimulus\": \"^2.0.0\",",
" \"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": [
"var 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": "e28e8b718d7523d6b3420e774346498b128f7baf"
}
}
}
@@ -0,0 +1,197 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
" ",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: 'false'",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.27.0\",",
" \"core-js\": \"^3.0.0\",",
" \"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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * Each entry will result in one JavaScript file (e.g. app.js)",
" * and one CSS file (e.g. app.css) if you JavaScript imports CSS.",
" */",
" .addEntry('app', './assets/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables @babel/preset-env polyfills",
" .configureBabel(() => {}, {",
" useBuiltIns: 'usage',",
" corejs: 3",
" })",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // uncomment to get integrity=\"...\" attributes on your script & link tags",
" // requires WebpackEncoreBundle 1.4 or higher",
" //.enableIntegrityHashes()",
"",
" // uncomment if you're having problems with a jQuery plugin",
" //.autoProvidejQuery()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "e33393e32759195f8e10c9d4faceb0d232a7e1de"
}
}
}
@@ -0,0 +1,242 @@
{
"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"
]
},
"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';",
"import '@symfony/autoimport';",
"",
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
"export const app = startStimulusApp(require.context('./controllers', true, /\\.(j|t)sx?$/));",
""
],
"executable": false
},
"assets/controllers.json": {
"contents": [
"{",
" \"controllers\": [],",
" \"entrypoints\": []",
"}",
""
],
"executable": false
},
"assets/controllers/hello_controller.js": {
"contents": [
"import { Controller } from '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/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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
"",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^1.1.0\",",
" \"@symfony/webpack-encore\": \"^1.0.0\",",
" \"core-js\": \"^3.0.0\",",
" \"regenerator-runtime\": \"^0.13.2\",",
" \"stimulus\": \"^2.0.0\",",
" \"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": [
"var 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": "e3d1d5990ae73f9b32eab79763a365ccc077b468"
}
}
}
@@ -0,0 +1,198 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
" ",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.27.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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * 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/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables @babel/preset-env polyfills",
" .configureBabel(() => {}, {",
" useBuiltIns: 'usage',",
" corejs: 3",
" })",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // 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()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "e8b6b2ac4a1522bd688ea2953fbc264c968b8f39"
}
}
}
@@ -0,0 +1,261 @@
{
"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"
]
},
"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';",
"import '@symfony/autoimport';",
"",
"// Registers Stimulus controllers from controllers.json and in the controllers/ directory",
"export const app = startStimulusApp(require.context('./controllers', true, /\\.(j|t)sx?$/));",
""
],
"executable": false
},
"assets/controllers.json": {
"contents": [
"{",
" \"controllers\": [],",
" \"entrypoints\": []",
"}",
""
],
"executable": false
},
"assets/controllers/hello_controller.js": {
"contents": [
"import { Controller } from '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/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:",
" # 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",
"",
" # 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",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/stimulus-bridge\": \"^1.1.0\",",
" \"@symfony/webpack-encore\": \"^0.32.0\",",
" \"core-js\": \"^3.0.0\",",
" \"stimulus\": \"^2.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": [
"var 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": "f362ed8e8aa99a8cb216e6bdb2ac833dfb7643dd"
}
}
}
@@ -0,0 +1,198 @@
{
"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"
]
},
"files": {
"assets/css/app.css": {
"contents": [
"body {",
" background-color: lightgray;",
"}",
""
],
"executable": false
},
"assets/js/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 require will output into a single css file (app.css in this case)",
"require('../css/app.css');",
"",
"// Need jQuery? Install it with \"yarn add jquery\", then uncomment to require it.",
"// const $ = require('jquery');",
"",
"console.log('Hello Webpack Encore! Edit me in assets/js/app.js');",
""
],
"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/webpack_encore.yaml": {
"contents": [
"webpack_encore:",
" # The path where Encore is building the assets.",
" # This should match Encore.setOutputPath() in webpack.config.js.",
" output_path: '%kernel.project_dir%/public/build'",
" # If multiple builds are defined (as shown below), you can disable the default build:",
" # output_path: false",
"",
" # if using Encore.enableIntegrityHashes() specify the crossorigin attribute value (default: false, or use 'anonymous' or 'use-credentials')",
" # crossorigin: 'anonymous'",
" ",
" # Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes).",
" # To enable caching for the production environment, creating a webpack_encore.yaml in the config/packages/prod directory with this value set to true",
" # Available in version 1.2",
" #cache: false",
""
],
"executable": false
},
"package.json": {
"contents": [
"{",
" \"devDependencies\": {",
" \"@symfony/webpack-encore\": \"^0.28.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": [
"var 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",
" *",
" * Add 1 entry for each \"page\" of your app",
" * (including one that's included on every page - e.g. \"app\")",
" *",
" * 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/js/app.js')",
" //.addEntry('page1', './assets/js/page1.js')",
" //.addEntry('page2', './assets/js/page2.js')",
"",
" // 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())",
"",
" // enables @babel/preset-env polyfills",
" .configureBabel(() => {}, {",
" useBuiltIns: 'usage',",
" corejs: 3",
" })",
"",
" // enables Sass/SCSS support",
" //.enableSassLoader()",
"",
" // uncomment if you use TypeScript",
" //.enableTypeScriptLoader()",
"",
" // 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()",
"",
" // uncomment if you use API Platform Admin (composer req api-admin)",
" //.enableReactPreset()",
" //.addEntry('admin', './assets/js/admin.js')",
";",
"",
"module.exports = Encore.getWebpackConfig();",
""
],
"executable": false
}
},
"ref": "faa1c4972a2b855edc2e113bcf9e1d84b02bf1de"
}
}
}