Skip to content

Commit

Permalink
Migrated to exact module dependency, over from magento version specif…
Browse files Browse the repository at this point in the history
…ication. Supports 2.3.5.
  • Loading branch information
alfredsgenkins committed Sep 4, 2020
1 parent c5a8f5e commit fc3dce5
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 30 deletions.
18 changes: 5 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
{
"name": "scandipwa/store-graphql",
"description": "Magneto 2 Store related functionality extension",
"keywords": [
"magento2",
"module",
"scandipwa",
"pwa"
],
"support": {
"email": "info@scandiweb.com"
},
"require": {
"magento/magento2-base": "^2.3.2"
},
"type": "magento2-module",
"license": [
"OSL-3.0"
],
"require": {
"magento/framework": "*",
"magento/module-store-graph-ql": "^100.3"
},
"autoload": {
"files": [
"src/registration.php"
Expand All @@ -25,4 +17,4 @@
"ScandiPWA\\StoreGraphQl\\": "src/"
}
}
}
}
13 changes: 7 additions & 6 deletions src/etc/di.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
<?xml version="1.0"?>
<!--
/**
* ScandiPWA_StoreGraphQL
* ScandiPWA - Progressive Web App for Magento
*
* @category Scandiweb
* @package ScandiPWA_StoreGraphQL
* @author Alfreds Genkins <info@scandiweb.com>
* @copyright Copyright (c) 2018 Scandiweb, Ltd (https://scandiweb.com)
* Copyright © Scandiweb, Inc. All rights reserved.
* See LICENSE for license details.
*
* @license OSL-3.0 (Open Software License ("OSL") v. 3.0)
* @link https://github.com/scandipwa/quote-graphql
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\StoreGraphQl\Controller\HttpHeaderProcessor\StoreProcessor">
<plugin name="ScandiPWA::StoreProcessor" type="ScandiPWA\StoreGraphQl\Plugin\StoreProcessor" sortOrder="1" disabled="false"/>
</type>
</config>
</config>
12 changes: 6 additions & 6 deletions src/etc/graphql/di.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* ScandiPWA_StoreGraphQL
* ScandiPWA - Progressive Web App for Magento
*
* @category Scandiweb
* @package ScandiPWA_StoreGraphQL
* @author Alfreds Genkins <info@scandiweb.com>
* @author Teodor Moquist <tm@scandesignmedia.com>
* @copyright Copyright (c) 2018 Scandiweb, Ltd (https://scandiweb.com)
* Copyright © Scandiweb, Inc. All rights reserved.
* See LICENSE for license details.
*
* @license OSL-3.0 (Open Software License ("OSL") v. 3.0)
* @link https://github.com/scandipwa/quote-graphql
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
Expand Down
11 changes: 6 additions & 5 deletions src/etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?xml version="1.0"?>
<!--
/**
* ScandiPWA_StoreGraphQL
* ScandiPWA - Progressive Web App for Magento
*
* @category Scandiweb
* @package ScandiPWA_StoreGraphQL
* @author Alfreds Genkins <info@scandiweb.com>
* @copyright Copyright (c) 2018 Scandiweb, Ltd (https://scandiweb.com)
* Copyright © Scandiweb, Inc. All rights reserved.
* See LICENSE for license details.
*
* @license OSL-3.0 (Open Software License ("OSL") v. 3.0)
* @link https://github.com/scandipwa/quote-graphql
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand Down

0 comments on commit fc3dce5

Please sign in to comment.