Skip to content

Commit 00e9c5f

Browse files
committedJun 2, 2021
Replace placeholders
1 parent 4e21feb commit 00e9c5f

27 files changed

+82
-867
lines changed
 

‎.travis.yml

+37-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,46 @@ addons:
1010
hosts:
1111
- magento2.travis
1212
language: php
13-
:travis-jobs
13+
jobs:
14+
include:
15+
-
16+
php: "7.3"
17+
env:
18+
- "MAGENTO_VERSION=2.4"
19+
- "TEST_SUITE=integration"
20+
21+
-
22+
php: "7.4"
23+
env:
24+
- "MAGENTO_VERSION=2.4"
25+
- "TEST_SUITE=integration"
26+
- "COVERAGE=true"
27+
28+
-
29+
php: "7.4"
30+
env:
31+
- "MAGENTO_VERSION=2.4"
32+
- "TEST_SUITE=unit"
33+
- "COVERAGE=true"
34+
35+
-
36+
php: "7.4"
37+
env:
38+
- "MAGENTO_VERSION=2.4-develop"
39+
- "TEST_SUITE=integration"
40+
41+
allow_failures:
42+
-
43+
php: "7.4"
44+
env:
45+
- "MAGENTO_VERSION=2.4-develop"
46+
- "TEST_SUITE=integration"
47+
48+
1449
env:
1550
global:
1651
- COMPOSER_BIN_DIR=~/bin
17-
- COMPOSER_PACKAGE_NAME=:vendor/:package
52+
- COMPOSER_PACKAGE_NAME=integer-net/magento2-addtocartgraphql
1853
cache:
1954
apt: true
2055
directories:

‎.travis/before_script.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fi
4545

4646
# Add tests/src to autoload-dev on project level
4747
php -r '$composer_json = json_decode(file_get_contents("composer.json"), true);
48-
$composer_json["autoload-dev"]["psr-4"][":module-namespace\\:module-name\\"] = "vendor/:vendor/:package/src";
48+
$composer_json["autoload-dev"]["psr-4"]["IntegerNet\\AddToCartGraphQl\\"] = "vendor/integer-net/magento2-addtocartgraphql/src";
4949
file_put_contents("composer.json", json_encode($composer_json));'
5050
composer dumpautoload
5151

‎CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to :module-namespace_:module-name
1+
# Contributing to IntegerNet_AddToCartGraphQl
22
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
33

44
- Reporting a bug
@@ -23,8 +23,8 @@ Pull requests are the best way to propose changes to the codebase (we use [Githu
2323
## Any contributions you make will be under the MIT Software License
2424
In short, when you submit code changes, your submissions are understood to be under the same [MIT License](http://choosealicense.com/licenses/mit/) that covers the project. Feel free to contact the maintainers if that's a concern.
2525

26-
## Report bugs using Github's [issues](https://github.com/:vendor/:package/issues)
27-
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/:vendor/:package/issues/new); it's that easy!
26+
## Report bugs using Github's [issues](https://github.com/integer-net/magento2-addtocartgraphql/issues)
27+
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/integer-net/magento2-addtocartgraphql/issues/new); it's that easy!
2828

2929
## Write bug reports with detail, background, and sample code
3030
[This is an example](http://stackoverflow.com/q/12488905/180626) of a bug report I wrote, and I think it's not a bad model. Here's [another example from Craig Hockenberry](http://www.openradar.me/11905408), an app developer whom I greatly respect.

‎LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) :year :company
3+
Copyright (c) 2021 integer_net GmbH
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

‎README.md

+18-34
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
1-
# ![/>](./dev/favicon.png) integer_net Magento 2 Module Template
2-
3-
This is a GitHub template.
4-
5-
**Create your module now with the "use this template" button:**
6-
7-
[![Use this template](dev/use-this-template.png)](https://github.com/integer-net/magento2-module-template/generate)
8-
9-
After that, clone it on your machine and run `./dev/init` inside the repository directory for automatic configuration. For more information, see [dev/README.md](dev/README.md)
10-
11-
<div align="center"><img src="https://www.integer-net.de/wp-content/uploads/2012/11/firmenprofil.jpg" alt="Waschbär Approved Module" /></div>
12-
13-
---
14-
15-
<!-- TEMPLATE -->
16-
17-
# :module-namespace_:module-name Magento Module
1+
# IntegerNet_AddToCartGraphQl Magento Module
182
<div align="center">
193

204
[![Latest Version on Packagist][ico-version]][link-packagist]
@@ -29,13 +13,13 @@ After that, clone it on your machine and run `./dev/init` inside the repository
2913

3014
---
3115

32-
:description
16+
This module provides support to add products to cart via GraphQl
3317

3418
## Installation
3519

3620
1. Install it into your Magento 2 project with composer:
3721
```
38-
composer require :vendor/:package
22+
composer require integer-net/magento2-addtocartgraphql
3923
```
4024
4125
2. Enable module
@@ -77,29 +61,29 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
7761
7862
## Security
7963
80-
If you discover any security related issues, please email :author-email instead of using the issue tracker.
64+
If you discover any security related issues, please email lb@integer-net.de instead of using the issue tracker.
8165
8266
## Credits
8367
84-
- [:author-name][link-author]
68+
- [Lisa Buchholz][link-author]
8569
- [All Contributors][link-contributors]
8670
8771
## License
8872
8973
The MIT License (MIT). Please see [License File](LICENSE) for more information.
9074
91-
[ico-version]: https://img.shields.io/packagist/v/:vendor/:package.svg?style=flat-square
75+
[ico-version]: https://img.shields.io/packagist/v/integer-net/magento2-addtocartgraphql.svg?style=flat-square
9276
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
93-
[ico-travis]: https://img.shields.io/travis/:vendor/:package/master.svg?style=flat-square
94-
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/:vendor/:package?style=flat-square
95-
[ico-code-quality]: https://img.shields.io/scrutinizer/g/:vendor/:package.svg?style=flat-square
96-
[ico-maintainability]: https://img.shields.io/codeclimate/maintainability/:vendor/:package?style=flat-square
97-
[ico-compatibility]: https://img.shields.io/badge/magento-:version-badge-brightgreen.svg?logo=magento&longCache=true&style=flat-square
98-
99-
[link-packagist]: https://packagist.org/packages/:vendor/:package
100-
[link-travis]: https://travis-ci.org/:vendor/:package
101-
[link-scrutinizer]: https://scrutinizer-ci.com/g/:vendor/:package/code-structure
102-
[link-code-quality]: https://scrutinizer-ci.com/g/:vendor/:package
103-
[link-maintainability]: https://codeclimate.com/github/:vendor/:package
104-
[link-author]: https://github.com/:author-github
77+
[ico-travis]: https://img.shields.io/travis/integer-net/magento2-addtocartgraphql/master.svg?style=flat-square
78+
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/integer-net/magento2-addtocartgraphql?style=flat-square
79+
[ico-code-quality]: https://img.shields.io/scrutinizer/g/integer-net/magento2-addtocartgraphql.svg?style=flat-square
80+
[ico-maintainability]: https://img.shields.io/codeclimate/maintainability/integer-net/magento2-addtocartgraphql?style=flat-square
81+
[ico-compatibility]: https://img.shields.io/badge/magento-2.4-brightgreen.svg?logo=magento&longCache=true&style=flat-square
82+
83+
[link-packagist]: https://packagist.org/packages/integer-net/magento2-addtocartgraphql
84+
[link-travis]: https://travis-ci.org/integer-net/magento2-addtocartgraphql
85+
[link-scrutinizer]: https://scrutinizer-ci.com/g/integer-net/magento2-addtocartgraphql/code-structure
86+
[link-code-quality]: https://scrutinizer-ci.com/g/integer-net/magento2-addtocartgraphql
87+
[link-maintainability]: https://codeclimate.com/github/integer-net/magento2-addtocartgraphql
88+
[link-author]: https://github.com/lbuchholz
10589
[link-contributors]: ../../contributors

‎auth.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"http-basic": {
33
"repo.magento.com": {
4-
"username": ":magento-repo-public-key",
5-
"password": ":magento-repo-private-key"
4+
"username": "438956769d577f67f247510ffa624225",
5+
"password": "b5d1664bb6ee2d27ec75dd36d6a2ac4e"
66
}
77
}
88
}

‎composer.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": ":vendor/:package",
3-
"description": ":description",
2+
"name": "integer-net/magento2-addtocartgraphql",
3+
"description": "This module provides support to add products to cart via GraphQl",
44
"type": "magento2-module",
55
"license": "MIT",
66
"authors": [
77
{
8-
"name": ":author-name",
9-
"email": ":author-email"
8+
"name": "Lisa Buchholz",
9+
"email": "lb@integer-net.de"
1010
}
1111
],
1212
"minimum-stability": "stable",
@@ -15,12 +15,12 @@
1515
"registration.php"
1616
],
1717
"psr-4": {
18-
":module-namespace\\:module-name\\": "src"
18+
"IntegerNet\\AddToCartGraphQl\\": "src"
1919
}
2020
},
2121
"autoload-dev": {
2222
"psr-4": {
23-
":module-namespace\\:module-name\\": "tests/src"
23+
"IntegerNet\\AddToCartGraphQl\\": "tests/src"
2424
}
2525
},
2626
"repositories": [
@@ -30,8 +30,8 @@
3030
}
3131
],
3232
"require": {
33-
"php": ":php-constraint",
34-
"magento/framework": ":framework-constraint"
33+
"php": "~7.3||~7.4",
34+
"magento/framework": "^103.0.0"
3535
},
3636
"require-dev": {
3737
"roave/security-advisories": "dev-master",

‎dev/.gitignore

-2
This file was deleted.

‎dev/LICENSE

-21
This file was deleted.

‎dev/README.md

-61
This file was deleted.

‎dev/bin/init

-22
This file was deleted.

‎dev/composer.json

-28
This file was deleted.

‎dev/favicon.png

-1.04 KB
Binary file not shown.

‎dev/init

-4
This file was deleted.

0 commit comments

Comments
 (0)