Skip to content

Commit

Permalink
Merge pull request #1 from AmpersandHQ/feature/SERA-386
Browse files Browse the repository at this point in the history
Update for Magento 2.3
  • Loading branch information
evan-burrell authored Nov 12, 2019
2 parents c2fd247 + 4d37991 commit 38316a6
Show file tree
Hide file tree
Showing 26 changed files with 7,768 additions and 356 deletions.
4 changes: 0 additions & 4 deletions .env

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/magento
/vendor/
.php_cs.cache
12 changes: 12 additions & 0 deletions .php_cs.dist
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);
20 changes: 0 additions & 20 deletions LICENSE

This file was deleted.

13 changes: 2 additions & 11 deletions README.md
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
44 changes: 31 additions & 13 deletions composer.json
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"
]
}
}
Loading

0 comments on commit 38316a6

Please sign in to comment.