
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@prestashopcorp/smb-edition-builder-config
Advanced tools
This package contains all configuration files used to build the PrestaShop Edition.
Configuration files are stored by country.
In order to work properly, the script requires a configuration file.
The configuration file is a YAML
file composed of multiple sections.
Each section represent an installation step and must be defined in the config
section.
config:
common:
...
stepgit: (Downloading PrestaShop 8.0.x)
...
stepconfig: (Modifying PrestaShop configuration)
...
stepcorpmodules: (Installing modules made by PrestaShop)
...
steppartnersmodules: (Installing 3rd party free modules)
...
steppaidmodules: (Installing paid modules from the addons marketplace)
...
stepzipmodules: (Installing modules placed inside "modules" folder)
...
stepbuildrelease: (Building the final zip)
...
The common
section will define basic informations.
common:
version: 8.0.0
working_directory: workdir
The stepgit
step will configure git credentials and will clone prestashop repository.
stepgit:
tag: 8.0.0
The stepconfig
step will configure the PrestaShop options.
This will modify values directly on the install-dev/data/xml/configuration.xml
file.
stepconfig:
configuration:
[key]: [value]
# Example :
# PS_SHOP_ENABLE: 0
# PS_WEIGHT_UNIT: kg
The stepcorpmodules
step will install all corp modules that are not included by default on PrestaShop.
Those modules will be added to composer based on the repository url.
stepcorpmodules:
modules:
-
name: ps_mbo
repo: https://github.com/PrestaShopCorp/ps_mbo
package: prestashop/ps_mbo
version: 3.x
The steppartnersmodules
step will install all partners modules that are not included by default on PrestaShop.
Those modules will be installed using a specific addons API to get modules sources.
steppartnersmodules:
partners:
-
id: xxx
name: ps_checkout
label: PrestaShop Checkout built with PayPal
The steppaidmodules
step will install all paid modules that are not included by default on PrestaShop.
Those modules will be installed using a specific addons script available at the url https://addons.prestashop.com/disneystore/get-file-module.php
.
steppaidmodules:
modules:
-
id: xxx
name: statscompta
version: 8.0.0.0
is_theme: true
version
of the common
configuration.The stepzipmodules
step will install all modules stored locally.
Those modules will be installed using the zip available on this smb_edition_builder
module.
stepzipmodules:
modules:
-
name: ps_accounts
source: /modules/1.8/ps_accounts.zip
is_theme: true
The stepbuildrelease
step will build the PrestaShop release based on the common:version
version from the configuration file.
This step doesn't need any configuration but must be declared.
stepbuildrelease:
FAQs
Configuration for the edition builder
We found that @prestashopcorp/smb-edition-builder-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.