diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..d2edabe --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 +updates: + # Maintain dependencies for Composer + - package-ecosystem: "composer" + # Look for `composer.json` and `composer.lock` files in the root directory + directory: "/" + # Check for updates weekly + schedule: + interval: "weekly" + allow: + # Allow direct updates only (for packages named in composer.json) + - dependency-type: "direct" + # Allow up to 10 open pull requests for composer dependencies + open-pull-requests-limit: 10 diff --git a/.github/workflows/.pipeline.yml b/.github/workflows/.pipeline.yml index ebc5c53..4f138d8 100644 --- a/.github/workflows/.pipeline.yml +++ b/.github/workflows/.pipeline.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ '14' ] + node: [ '16' ] name: Node ${{ matrix.node }} steps: diff --git a/composer.json b/composer.json index a5e4876..262ab21 100644 --- a/composer.json +++ b/composer.json @@ -4,10 +4,9 @@ "This theme is named after American-Canadian activist, journalist, and author Jane Jacobs, who is responsible for the New Urbanism movement in urban studies. It is designed for academic writing, particularly textbooks, but is also suitable for fiction. Headings and body type are set in Montserrat.", "type": "wordpress-theme", "require": { - "composer/installers": "~1.3" + "composer/installers": "^2" }, "require-dev": { - "humanmade/coding-standards": "^0.2.1" }, "archive": { "exclude": [".github"] diff --git a/composer.lock b/composer.lock index f0f61a2..178362b 100644 --- a/composer.lock +++ b/composer.lock @@ -1,42 +1,44 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8bea17ba3bccd058f53717682aa682de", + "content-hash": "36015b0b12adf924038117d8aa6afef2", "packages": [ { "name": "composer/installers", - "version": "v1.3.0", + "version": "v2.1.1", "source": { "type": "git", "url": "https://github.com/composer/installers.git", - "reference": "79ad876c7498c0bbfe7eed065b8651c93bfd6045" + "reference": "af93ba6e52236418f07a278033eba6959ee5b983" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/installers/zipball/79ad876c7498c0bbfe7eed065b8651c93bfd6045", - "reference": "79ad876c7498c0bbfe7eed065b8651c93bfd6045", + "url": "https://api.github.com/repos/composer/installers/zipball/af93ba6e52236418f07a278033eba6959ee5b983", + "reference": "af93ba6e52236418f07a278033eba6959ee5b983", "shasum": "" }, "require": { - "composer-plugin-api": "^1.0" - }, - "replace": { - "roundcube/plugin-installer": "*", - "shama/baton": "*" + "composer-plugin-api": "^1.0 || ^2.0", + "php": "^7.2 || ^8.0" }, "require-dev": { - "composer/composer": "1.0.*@dev", - "phpunit/phpunit": "4.1.*" + "composer/composer": "1.6.* || ^2.0", + "composer/semver": "^1 || ^3", + "phpstan/phpstan": "^0.12.55", + "phpstan/phpstan-phpunit": "^0.12.16", + "symfony/phpunit-bridge": "^5.3", + "symfony/process": "^5" }, "type": "composer-plugin", "extra": { "class": "Composer\\Installers\\Plugin", "branch-alias": { - "dev-master": "1.0-dev" - } + "dev-main": "2.x-dev" + }, + "plugin-modifies-install-path": true }, "autoload": { "psr-4": { @@ -57,13 +59,14 @@ "description": "A multi-framework Composer library installer", "homepage": "https://composer.github.io/installers/", "keywords": [ - "Craft", "Dolibarr", "Eliasis", "Hurad", "ImageCMS", "Kanboard", + "Lan Management System", "MODX Evo", + "MantisBT", "Mautic", "Maya", "OXID", @@ -71,10 +74,11 @@ "Porto", "RadPHP", "SMF", + "Starbug", "Thelia", + "Whmcs", "WolfCMS", "agl", - "aimeos", "annotatecms", "attogram", "bitrix", @@ -86,230 +90,70 @@ "croogo", "dokuwiki", "drupal", + "eZ Platform", "elgg", "expressionengine", "fuelphp", "grav", "installer", "itop", - "joomla", + "known", "kohana", "laravel", "lavalite", "lithium", "magento", + "majima", "mako", "mediawiki", + "miaoxing", "modulework", + "modx", "moodle", + "osclass", + "pantheon", "phpbb", "piwik", "ppi", + "processwire", "puppet", + "pxcms", "reindex", "roundcube", "shopware", "silverstripe", "sydes", - "symfony", - "typo3", + "sylius", + "tastyigniter", "wordpress", "yawik", "zend", "zikula" ], - "time": "2017-04-24T06:37:16+00:00" - } - ], - "packages-dev": [ - { - "name": "fig-r/psr2r-sniffer", - "version": "0.3.1", - "source": { - "type": "git", - "url": "https://github.com/php-fig-rectified/psr2r-sniffer.git", - "reference": "cdf61b2922efb225903e52c6222d7192d3b97ebf" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig-rectified/psr2r-sniffer/zipball/cdf61b2922efb225903e52c6222d7192d3b97ebf", - "reference": "cdf61b2922efb225903e52c6222d7192d3b97ebf", - "shasum": "" - }, - "require": { - "php": ">=5.4.16", - "squizlabs/php_codesniffer": "~2.3" - }, - "bin": [ - "bin/tokenize", - "bin/sniff" - ], - "type": "library", - "autoload": { - "psr-4": { - "PSR2R\\": "PSR2R" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ + "funding": [ { - "name": "Mark Scherer", - "homepage": "http://www.dereuromark.de", - "role": "Contributor" - } - ], - "description": "Code-Sniffer, Auto-Fixer and Tokenizer for PSR2-R", - "time": "2016-07-11T14:35:34+00:00" - }, - { - "name": "humanmade/coding-standards", - "version": "0.2.1", - "source": { - "type": "git", - "url": "https://github.com/humanmade/coding-standards.git", - "reference": "1f1d90c937b1057f1c0999ac65f501db7c72f46c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/humanmade/coding-standards/zipball/1f1d90c937b1057f1c0999ac65f501db7c72f46c", - "reference": "1f1d90c937b1057f1c0999ac65f501db7c72f46c", - "shasum": "" - }, - "require": { - "fig-r/psr2r-sniffer": "^0.3.1", - "wp-coding-standards/wpcs": "^0.10.0" - }, - "type": "project", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0" - ], - "description": "Human Made coding standards", - "time": "2016-12-08T08:41:35+00:00" - }, - { - "name": "squizlabs/php_codesniffer", - "version": "2.9.1", - "source": { - "type": "git", - "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/dcbed1074f8244661eecddfc2a675430d8d33f62", - "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62", - "shasum": "" - }, - "require": { - "ext-simplexml": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": ">=5.1.2" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "bin": [ - "scripts/phpcs", - "scripts/phpcbf" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, - "autoload": { - "classmap": [ - "CodeSniffer.php", - "CodeSniffer/CLI.php", - "CodeSniffer/Exception.php", - "CodeSniffer/File.php", - "CodeSniffer/Fixer.php", - "CodeSniffer/Report.php", - "CodeSniffer/Reporting.php", - "CodeSniffer/Sniff.php", - "CodeSniffer/Tokens.php", - "CodeSniffer/Reports/", - "CodeSniffer/Tokenizers/", - "CodeSniffer/DocGenerators/", - "CodeSniffer/Standards/AbstractPatternSniff.php", - "CodeSniffer/Standards/AbstractScopeSniff.php", - "CodeSniffer/Standards/AbstractVariableSniff.php", - "CodeSniffer/Standards/IncorrectPatternException.php", - "CodeSniffer/Standards/Generic/Sniffs/", - "CodeSniffer/Standards/MySource/Sniffs/", - "CodeSniffer/Standards/PEAR/Sniffs/", - "CodeSniffer/Standards/PSR1/Sniffs/", - "CodeSniffer/Standards/PSR2/Sniffs/", - "CodeSniffer/Standards/Squiz/Sniffs/", - "CodeSniffer/Standards/Zend/Sniffs/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ + "url": "https://packagist.com", + "type": "custom" + }, { - "name": "Greg Sherwood", - "role": "lead" - } - ], - "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", - "homepage": "http://www.squizlabs.com/php-codesniffer", - "keywords": [ - "phpcs", - "standards" - ], - "time": "2017-05-22T02:43:20+00:00" - }, - { - "name": "wp-coding-standards/wpcs", - "version": "0.10.0", - "source": { - "type": "git", - "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git", - "reference": "b39490465f6fd7375743a395019cd597e12119c9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/zipball/b39490465f6fd7375743a395019cd597e12119c9", - "reference": "b39490465f6fd7375743a395019cd597e12119c9", - "shasum": "" - }, - "require": { - "squizlabs/php_codesniffer": "^2.6" - }, - "type": "library", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ + "url": "https://github.com/composer", + "type": "github" + }, { - "name": "Contributors", - "homepage": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/graphs/contributors" + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" } ], - "description": "PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions", - "keywords": [ - "phpcs", - "standards", - "wordpress" - ], - "time": "2016-08-29T20:04:47+00:00" + "time": "2022-04-13T09:13:00+00:00" } ], + "packages-dev": [], "aliases": [], "minimum-stability": "stable", "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": [], - "platform-dev": [] + "platform-dev": [], + "plugin-api-version": "1.1.0" } diff --git a/package.json b/package.json index e4168d7..0fe687e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "author": "Pressbooks (Book Oven Inc.)", "license": "GPL-3.0-or-later", "engines": { - "node": ">= 6.9.4" + "node": ">= 16" }, "repository": { "type": "git",