forked from meanbee/magento2-webappmanifest
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from AmpersandHQ/feature/SERA-386
Update for Magento 2.3
- Loading branch information
Showing
26 changed files
with
7,768 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
/magento | ||
/vendor/ | ||
.php_cs.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
$finder = PhpCsFixer\Finder::create()->in(__DIR__ . '/src'); | ||
return PhpCsFixer\Config::create() | ||
->setRules([ | ||
'@PSR2' => true, | ||
'array_syntax' => ['syntax' => 'short'], | ||
'cast_spaces' => true, | ||
'trailing_comma_in_multiline_array' => true, | ||
'ordered_imports' => ['sort_algorithm' => 'alpha'], | ||
'no_unused_imports' => true, | ||
]) | ||
->setFinder($finder); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,13 @@ | ||
# Meanbee_WebAppManifest | ||
# Ampersand_WebAppManifest | ||
|
||
A Magento 2 extension that adds a [Web App Manifest](https://developer.mozilla.org/en-US/docs/Web/Manifest) to the store. | ||
|
||
## Installation | ||
|
||
Install this extension via Composer: | ||
|
||
composer require meanbee/magento2-webappmanifest | ||
composer require ampersand/magento2-webappmanifest | ||
|
||
## Usage | ||
|
||
Configure the information displayed in the manifest and enable it in * Stores > Configuration > General > Web > Web App Manifest Settings *. | ||
|
||
## Development | ||
|
||
### Setting up a development environment | ||
|
||
A Docker development environment is included with the project: | ||
|
||
docker-compose run --rm cli magento-extension-installer Meanbee_WebAppManifest \ | ||
&& docker-compose up -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,53 @@ | ||
{ | ||
"name": "meanbee/magento2-webappmanifest", | ||
"name": "ampersand/magento2-webappmanifest", | ||
"description": "A Magento 2 extension that adds a Web App Manifest to the store.", | ||
"type": "magento2-module", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"minimum-stability": "stable", | ||
"license": [ | ||
"MIT" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Tomas Gerulaitis", | ||
"email": "[email protected]" | ||
"name": "Evan Burrell", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"repositories": { | ||
"magento": { | ||
"repositories": [ | ||
{ | ||
"type": "composer", | ||
"url": "https://repo.magento.com/" | ||
"url": "https://repo.packagist.com/ampersandhq/" | ||
}, | ||
{ | ||
"packagist.org": false | ||
} | ||
}, | ||
], | ||
"require": { | ||
"magento/framework": "^101.0.0", | ||
"magento/module-backend": "^100.1.2", | ||
"magento/module-config": "^101.0.0", | ||
"magento/module-store": "^100.1.3" | ||
"php": "^7.2.0", | ||
"magento/framework": "^102.0", | ||
"magento/module-backend": "^101.0", | ||
"magento/module-config": "^101.1", | ||
"magento/module-store": "^101.0" | ||
}, | ||
"require-dev": { | ||
"friendsofphp/php-cs-fixer": "^2.16", | ||
"phpstan/phpstan": "^0.11.19" | ||
}, | ||
"autoload": { | ||
"files": [ | ||
"src/registration.php" | ||
], | ||
"psr-4": { | ||
"Meanbee\\WebAppManifest\\": "src/" | ||
"Ampersand\\WebAppManifest\\": "src/" | ||
} | ||
}, | ||
"scripts": { | ||
"lint": "vendor/bin/php-cs-fixer fix --diff", | ||
"test:lint": "vendor/bin/php-cs-fixer fix --dry-run --diff", | ||
"test:types": "vendor/bin/phpstan analyze ./src", | ||
"test": [ | ||
"@test:lint", | ||
"@test:types" | ||
] | ||
} | ||
} |
Oops, something went wrong.