itinerisltd/preflight-extra

为专业开发者提供的额外预检命令检查器。

安装: 151

依赖项: 1

建议者: 1

安全性: 0

星星: 2

关注者: 5

分支: 0

公开问题: 0

类型:wp-cli-package

0.3.1 2018-08-22 03:01 UTC

This package is auto-updated.

Last update: 2024-09-07 16:18:55 UTC


README

Packagist Version PHP from Packagist Packagist Downloads GitHub License Hire Itineris

为专业开发者提供的额外 preflight-command 检查器。

待办事项:编写README!

安装

$ wp package install itinerisltd/preflight-extra:@stable

preflight.toml

# Note: extra-expected-status-codes is experimental.
[extra-expected-status-codes]
enabled = true # Default is enabled.
[[extra-expected-status-codes.groups]]
  code = 404
  paths = [
    '/not-found',
  ]
[[extra-expected-status-codes.groups]]
  code = 200
  paths = [
    '/',
    '/hello-world',
  ]

[extra-production-home-url]
url = 'https://example.com'

[extra-production-site-url]
url = 'https://example.com/wp' # Maybe same as home URL

[extra-required-constants]
includes = [
  'WP_ENV',
  'MY_CONSTANT_A',
  'MY_CONSTANT_B',
]

[extra-required-packages]
includes = [
  'aaemnnosttv/wp-cli-login-command',
  'itinerisltd/preflight-yoast-seo',
]

[extra-required-plugins]
includes = [
  'sunny',
  'wp-cloudflare-guard',
]

针对Itineris团队

$ composer test
$ composer check-style

不接受没有测试的拉取请求!