module-gulp | Gulp pipeline and framework for Magento
kandi X-RAY | module-gulp Summary
kandi X-RAY | module-gulp Summary
module-gulp is a PHP library. module-gulp has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
Remove a store's compiled assets in pub/static, and the flattened theme hierarchy (pub/static/prefab_build). Resolve the theme hierarchy into a flattened directory of symlinks that point to source files. For example, if a theme has overriden the file Magento_Customer::web/template/authentication-popup.html, then the symlink would point to the theme's file, rather than the template from the module. This process allows npm to operate on a single directory tree, while retaining the full flexibility of Magento's theme hierarchy. Compile all static assets from the flattened theme hierarchy into pub/static. Note that flatten needs to be run before build.
Remove a store's compiled assets in pub/static, and the flattened theme hierarchy (pub/static/prefab_build). Resolve the theme hierarchy into a flattened directory of symlinks that point to source files. For example, if a theme has overriden the file Magento_Customer::web/template/authentication-popup.html, then the symlink would point to the theme's file, rather than the template from the module. This process allows npm to operate on a single directory tree, while retaining the full flexibility of Magento's theme hierarchy. Compile all static assets from the flattened theme hierarchy into pub/static. Note that flatten needs to be run before build.
Support
Quality
Security
License
Reuse
Support
module-gulp has a low active ecosystem.
It has 1 star(s) with 1 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
module-gulp has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of module-gulp is current.
Quality
module-gulp has no bugs reported.
Security
module-gulp has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
module-gulp is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
module-gulp releases are not available. You will need to build from source code and install.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of module-gulp
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of module-gulp
module-gulp Key Features
No Key Features are available at this moment for module-gulp.
module-gulp Examples and Code Snippets
No Code Snippets are available at this moment for module-gulp.
Community Discussions
No Community Discussions are available at this moment for module-gulp.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install module-gulp
The above will compile all static assets required for the default store, and will probably do it a little bit faster than Magento's default implementations.
Basic assets are copied (CSS, JS, images, etc.)
LESS stylesheets
requirejs-config.js
js-translation.json (also includes theme translations)
Builds the build system. In particular, it does two things:.
Parses every module's prefab.xml and generates package.json.
Copy all prefab directories inside a module into a shared prefab build directory, where they are accessible by npm scripts.
Installs all dependencies specified by Prefab's package.json. This should be run after setup:prefab:build.
All tasks should be configured in a file called prefab.xml, which should be placed in the etc directory of your module. There is a corresponding XSD schema, as well, but a task should look like this:.
Since the dependencies are all declared in package.json, all that is left is to run npm install. This module includes a bin/magento command to put you in the correct directory:. As with build, the above commands only have to be run once, or whenever something changes.
The configuration exports an environment variable BUILD_DIR. This is unique per store, and can be used to store intermediate results for any tasks. The flatten task uses this, and creates a subdirectory called flatten. It is recommended to create a subdirectory of this and store your intermediate results inside it. This can be accessed using path.join(config.build_dir, ...).
Basic assets are copied (CSS, JS, images, etc.)
LESS stylesheets
requirejs-config.js
js-translation.json (also includes theme translations)
Builds the build system. In particular, it does two things:.
Parses every module's prefab.xml and generates package.json.
Copy all prefab directories inside a module into a shared prefab build directory, where they are accessible by npm scripts.
Installs all dependencies specified by Prefab's package.json. This should be run after setup:prefab:build.
All tasks should be configured in a file called prefab.xml, which should be placed in the etc directory of your module. There is a corresponding XSD schema, as well, but a task should look like this:.
Since the dependencies are all declared in package.json, all that is left is to run npm install. This module includes a bin/magento command to put you in the correct directory:. As with build, the above commands only have to be run once, or whenever something changes.
The configuration exports an environment variable BUILD_DIR. This is unique per store, and can be used to store intermediate results for any tasks. The flatten task uses this, and creates a subdirectory called flatten. It is recommended to create a subdirectory of this and store your intermediate results inside it. This can be accessed using path.join(config.build_dir, ...).
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page