Skip to content

Commit aab4f2f

Browse files
Merge branch 'dev'
2 parents 7506afc + 0fb9b21 commit aab4f2f

File tree

5 files changed

+8754
-7348
lines changed

5 files changed

+8754
-7348
lines changed

.gitattributes

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
.distignore export-ignore
55
.editorconfig export-ignore
66
.eslintignore export-ignore
7-
.eslintrc export-ignore
7+
.eslintrc.json export-ignore
88
.gitattributes export-ignore
99
.gitignore export-ignore
10-
.remarkrc export-ignore
11-
.stylelintrc export-ignore
10+
.remarkrc.json export-ignore
11+
.stylelintrc.json export-ignore
1212
package-lock.json export-ignore
1313
package.json export-ignore
1414
phpcompat.xml export-ignore
1515
phpcs.xml export-ignore
1616
phpstan.neon export-ignore
17-
readme.txt export-ignore
17+
README.md export-ignore

composer.json

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
1919
"wp-coding-standards/wpcs": "^2.3.0",
2020
"phpcompatibility/phpcompatibility-wp": "^2.1.1",
21-
"szepeviktor/phpstan-wordpress": "^0.7.5"
21+
"szepeviktor/phpstan-wordpress": "^0.7.6"
2222
},
2323
"config": {
2424
"optimize-autoloader": true
@@ -33,7 +33,11 @@
3333
"format": "phpcbf -v --standard=phpcs.xml",
3434
"compat": "phpcs -v --standard=phpcompat.xml",
3535
"analyse": "phpstan analyse -c phpstan.neon --memory-limit=1G",
36-
"scripts-list": "composer run-script --list"
36+
"scripts-list": "composer run-script --list",
37+
"build": [
38+
"composer install --no-dev",
39+
"composer archive --file=translation-tools --format=zip"
40+
]
3741
},
3842
"scripts-descriptions": {
3943
"test": "Runs all available code tests (PHP_CodeSniffer and PHPStan).",
@@ -42,6 +46,19 @@
4246
"format": "Runs the PHP code sniffer and automatically fix errors.",
4347
"compat": "Runs the PHPCompatibilityWP code sniffer.",
4448
"analyse": "Runs the PHPStan code static analysis.",
45-
"scripts-list": "List all Composer scripts."
46-
}
49+
"scripts-list": "List all Composer scripts.",
50+
"build": "Remove dev dependencies, build zip archive."
51+
},
52+
"archive": {
53+
"exclude": [
54+
"composer.*",
55+
"!/vendor"
56+
]
57+
},
58+
"funding": [
59+
{
60+
"type": "github",
61+
"url": "https://github.com/sponsors/pedro-mendonca"
62+
}
63+
]
4764
}

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)