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 f0df332 commit 6871a6f
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 33 deletions.
23 changes: 6 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,15 @@
"name": "scandipwa/route717",
"type": "magento2-module",
"description": "ScandiPWA dedicated router",
"keywords": [
"magento2",
"scandipwa",
"pwa",
"router"
],
"license": [
"OSL-3.0"
],
"support": {
"email": "[email protected]"
},
"authors": [
{
"name": "Ilja Lapkovskis",
"email": "[email protected]"
}
],
"require": {
"magento/magento2-base": "^2.3"
"magento/framework": "*",
"magento/module-store": "*",
"magento/module-customer": "*",
"magento/module-wishlist": "*",
"magento/module-url-rewrite": "*"
},
"autoload": {
"files": [
Expand All @@ -31,4 +20,4 @@
"ScandiPWA\\Router\\": "src"
}
}
}
}
13 changes: 7 additions & 6 deletions src/etc/di.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<?xml version="1.0"?>
<!--
/**
* @category ScandiPWA
* @package ScandiPWA\Route717
* @author Ilja Lapkovskis <[email protected] / [email protected]>
* @copyright Copyright (c) 2019 Scandiweb, Ltd (http://scandiweb.com)
* @license OSL-3.0
* ScandiPWA - Progressive Web App for Magento
*
* 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">
<preference for="ScandiPWA\Router\ValidationManagerInterface" type="ScandiPWA\Router\ValidationManager"/>
Expand Down
13 changes: 7 additions & 6 deletions src/etc/frontend/di.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<?xml version="1.0"?>
<!--
/**
* @category ScandiPWA
* @package ScandiPWA\Route717
* @author Ilja Lapkovskis <[email protected] / [email protected]>
* @copyright Copyright (c) 2019 Scandiweb, Ltd (http://scandiweb.com)
* @license OSL-3.0
* ScandiPWA - Progressive Web App for Magento
*
* 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\Framework\App\RouterList">
Expand Down
15 changes: 11 additions & 4 deletions src/etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?xml version="1.0"?>
<!--
/**
* ScandiPWA - Progressive Web App for Magento
Expand All @@ -6,11 +7,17 @@
* See LICENSE for license details.
*
* @license OSL-3.0 (Open Software License ("OSL") v. 3.0)
* @package scandipwa/base-theme
* @link https://github.com/scandipwa/base-theme
* @link https://github.com/scandipwa/quote-graphql
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
<module name="ScandiPWA_Route717" setup_version="0.1.0" >
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
<module name="ScandiPWA_Route717">
<sequence>
<module name="Magento_Store" />
<module name="Magento_Customer" />
<module name="Magento_Wishlist" />
<module name="Magento_UrlRewrite" />
</sequence>
</module>
</config>

0 comments on commit 6871a6f

Please sign in to comment.