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 c0c3357 commit b2b4cd3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 30 deletions.
26 changes: 5 additions & 21 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,14 @@
{
"name": "scandipwa/installer",
"type": "magento2-theme",
"description": "ScandiPWA bootstrap module",
"keywords": [
"magento2",
"theme",
"installer",
"scandipwa",
"pwa"
],
"type": "magento2-theme",
"license": [
"OSL-3.0"
],
"support": {
"source": "https://bitbucket.org/scandiweb/scandipwa-theme-installer",
"email": "info@scandiweb.com"
},
"authors": [
{
"name": "Ilja Lapkovskis",
"email": "ilja@scandiweb.com"
}
],
"require": {
"magento/magento2-base": "^2.3.3",
"scandipwa/source": "^2.7.2"
"magento/framework": "*",
"magento/module-theme": "*",
"scandipwa/source": "^2"
},
"autoload": {
"files": [
Expand All @@ -35,4 +19,4 @@
"ScandiPWA\\Installer\\": "src"
}
}
}
}
15 changes: 9 additions & 6 deletions src/etc/di.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
<?xml version="1.0"?>
<!--
* @category ScandiPWA
* @package ScandiPWA\Installer
* @author Ilja Lapkovskis <info@scandiweb.com / ilja@scandiweb.com>
* @copyright Copyright (c) 2019 Scandiweb, Ltd (http://scandiweb.com)
* @license Apache-2.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="Magento\Framework\View\Design\Theme\Validator" type="ScandiPWA\Installer\Theme\Validator"/>
Expand Down
10 changes: 7 additions & 3 deletions src/etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
<?xml version="1.0"?>
<!--
* @category Scandiweb
* @package ScandiPWA\Installer
* @author Ilja Lapkovskis <info@scandiweb.com / ilja@scandiweb.com>
* @copyright Copyright (c) 2019 Scandiweb, Ltd (http://scandiweb.com)
* @license Apache-2.0
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
<module name="ScandiPWA_Installer" setup_version="0.0.1" >
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="ScandiPWA_Installer">
<sequence>
<module name="Magento_Theme" />
</sequence>
</module>
</config>

0 comments on commit b2b4cd3

Please sign in to comment.