
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
@vue-storefront/magento-api
Advanced tools
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/5/55/Magento_Logo.svg/2560px-Magent
This is only the api-client package, you need to install the other dependencies also.
This project is a Magento 2 integration for Alokai. This integration developed by superheroes from Caravel ❤️
Please follow the installation guide
Want to contribute? Ping us on magento2
channel on our Discord!
Don't forget to change the Magento GraphQL Query Complexity and Depth values Magento 2 by default has a lower value for the complexity of 300, and a higher value for the depth of 20. Magento 2 - Issue #32427
The changes are required, due to the size of the queries and mutations in the
api-client
implementation.
To do this changes, you can use the Magento 2 module, which adds a configuration panel to your admin, or do this changes manually.
To install the Magento 2 GraphQL Config module, on your Magento installation execute:
composer require caravelx/module-graphql-config
php bin/magento module:enable Caravel_GraphQlConfig
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
Find more information about the module GraphQl Custom Config
example:
git clone https://github.com/vuestorefront/magento2.git
cd magento2
git checkout develop
yarn
to install dependencies.env.example
to .env
$ cp packages/theme/.env.example packages/theme/config/.env
VSF_MAGENTO_GRAPHQL_URL
with url to Magento >=2.4.2 GraphQL endpoint, and the other variable accordingly to your store configurations.
VSF_MAGENTO_GRAPHQL_URL=https://{YOUR_SITE_FRONT_URL}/graphql
yarn build:api-client && yarn build:composables
yarn dev:theme
to run theme. You can find other commands in package.json
yarn dev:api-client
or yarn dev:composables
on a separate terminal window.If you have any questions about this integration we will be happy to answer them on magento2
channel on our Discord.
Thanks go to these wonderful people 🙌:
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/5/55/Magento_Logo.svg/2560px-Magent
The npm package @vue-storefront/magento-api receives a total of 0 weekly downloads. As such, @vue-storefront/magento-api popularity was classified as not popular.
We found that @vue-storefront/magento-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 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.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.