Skip to content

Commit 14c73c9

Browse files
committed
Init.
1 parent f4b777f commit 14c73c9

15 files changed

+6967
-1
lines changed

.editorconfig

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This file is for unifying the coding style for different editors and IDEs
2+
# editorconfig.org
3+
4+
# WordPress Coding Standards
5+
# https://make.wordpress.org/core/handbook/coding-standards/
6+
7+
root = true
8+
9+
[*]
10+
charset = utf-8
11+
end_of_line = lf
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
indent_style = tab
15+
16+
[*.yml]
17+
indent_style = space
18+
indent_size = 2
19+
20+
[*.md]
21+
trim_trailing_whitespace = false
22+
23+
[{*.txt,wp-config-sample.php}]
24+
end_of_line = crlf

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/.editorconfig export-ignore
2+
/.gitattributes export-ignore
3+
/.github/ export-ignore
4+
/.gitignore export-ignore
5+
/.pronamic-build-ignore export-ignore
6+
/.wp-env.json export-ignore
7+
/phpcs.xml.dist export-ignore

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Build
2+
/build/
3+
4+
# Node.js
5+
/node_modules/
6+
7+
# Composer
8+
/vendor/

.pronamic-build-ignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Pronamic build ignore
2+
# https://github.com/pronamic/pronamic-cli/blob/main/exclude.txt
3+
4+
# Build
5+
/build/

.wp-env.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"core": null,
3+
"plugins": [
4+
"pronamic/wp-env-quick-login",
5+
"https://downloads.wordpress.org/plugin/log-http-requests.zip",
6+
"https://downloads.wordpress.org/plugin/plugin-check.0.2.1.zip",
7+
"https://downloads.wordpress.org/plugin/pronamic-client.zip",
8+
"https://downloads.wordpress.org/plugin/pronamic-ideal.zip",
9+
"https://downloads.wordpress.org/plugin/query-monitor.zip",
10+
"https://downloads.wordpress.org/plugin/woocommerce.zip"
11+
],
12+
"mappings": {
13+
"wp-content/plugins/pronamic-mollie-user-agent-dev": "./",
14+
"wp-content/plugins/pronamic-mollie-user-agent": "./build/project/"
15+
}
16+
}

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
## [1.0.0] - 2023-06-30
11+
12+
- First release.
13+
14+
[unreleased]: https://github.com/pronamic/pronamic-mollie-user-agent/compare/v1.0.0...HEAD
15+
[1.0.0]: https://github.com/pronamic/pronamic-mollie-user-agent/releases/tag/v1.0.0

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
1-
# pronamic-mollie-user-agent
1+
# Pronamic Mollie User Agent
2+
3+
[![Latest Stable Version](http://poser.pugx.org/pronamic/pronamic-mollie-user-agent/v)](https://packagist.org/packages/pronamic/pronamic-mollie-user-agent)
4+
[![Total Downloads](http://poser.pugx.org/pronamic/pronamic-mollie-user-agent/downloads)](https://packagist.org/packages/pronamic/pronamic-mollie-user-agent)
5+
[![Latest Unstable Version](http://poser.pugx.org/pronamic/pronamic-mollie-user-agent/v/unstable)](https://packagist.org/packages/pronamic/pronamic-mollie-user-agent)
6+
[![License](http://poser.pugx.org/pronamic/pronamic-mollie-user-agent/license)](https://packagist.org/packages/pronamic/pronamic-mollie-user-agent)
7+
[![PHP Version Require](http://poser.pugx.org/pronamic/pronamic-mollie-user-agent/require/php)](https://packagist.org/packages/pronamic/pronamic-mollie-user-agent)
8+
29
This WordPress plugin sets a specific user agent string for all HTTP API requests to Mollie for the partnership with Pronamic.
10+
11+
## Links
12+
13+
- https://www.pronamic.eu/
14+
15+
[![Pronamic - Work with us](https://github.com/pronamic/brand-resources/blob/main/banners/pronamic-work-with-us-leaderboard-728x90%404x.png)](https://www.pronamic.eu/contact/)

assets/screenshot-1.png

171 KB
Loading

composer.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"name": "pronamic/pronamic-mollie-user-agent",
3+
"description": "This WordPress plugin sets a specific user agent string for all HTTP API requests to Mollie for the partnership with Pronamic.",
4+
"type": "wordpress-plugin",
5+
"keywords": [
6+
"pronamic",
7+
"mollie",
8+
"wordpress",
9+
"wordpress-plugin"
10+
],
11+
"homepage": "https://wp.pronamic.directory/plugins/pronamic-mollie-user-agent/",
12+
"license": "GPL-2.0-or-later",
13+
"autoload": {
14+
"psr-4": {
15+
"Pronamic\\MollieUserAgent\\": "src"
16+
}
17+
},
18+
"authors": [
19+
{
20+
"name": "Pronamic",
21+
"email": "info@pronamic.eu",
22+
"homepage": "https://www.pronamic.eu/"
23+
}
24+
],
25+
"support": {
26+
"email": "support@pronamic.eu",
27+
"issues": "https://github.com/pronamic/pronamic-mollie-user-agent/issues"
28+
},
29+
"config": {
30+
"allow-plugins": {
31+
"dealerdirect/phpcodesniffer-composer-installer": true,
32+
"automattic/jetpack-autoloader": true
33+
},
34+
"platform": {
35+
"php": "8.0"
36+
},
37+
"platform-check": false,
38+
"sort-packages": true,
39+
"wp-slug": "pronamic-mollie-user-agent"
40+
},
41+
"require": {
42+
"php": ">=8.0",
43+
"automattic/jetpack-autoloader": "^2.11",
44+
"pronamic/pronamic-wp-updater": "^1.0"
45+
},
46+
"require-dev": {
47+
"pronamic/pronamic-cli": "^1.1",
48+
"pronamic/wp-coding-standards": "^2.0"
49+
},
50+
"scripts": {
51+
"phpcs": "vendor/bin/phpcs -s -v",
52+
"build": "vendor/bin/pronamic wp-build",
53+
"translate": [
54+
"@build",
55+
"rsync --recursive --delete --verbose ./build/project/languages/ ./languages/"
56+
],
57+
"version": "@build",
58+
"release": [
59+
"@build",
60+
"vendor/bin/pronamic release-to-pronamic"
61+
]
62+
}
63+
}

0 commit comments

Comments
 (0)