rah / abc_plugin
插件模板
0.5.5
2023-02-18 09:31 UTC
Requires
- textpattern/installer: *
- textpattern/lock: >=4.4.1
Requires (Dev)
- rah/mtxpc: ^0.9.0
- squizlabs/php_codesniffer: 3.*
README
这是一个为 Textpattern CMS 定制的插件模板。它可以作为其他插件的模板使用。它包括用于 PHP 和 Composer 的 Docker 容器运行时、插件编译器和 GitHub Actions 集成,这些功能可以自动创建编译后的插件发布版本,并在提交时运行代码检查器。
此文件将是您插件的帮助文件。
克隆
此插件模板可以使用 git 进行克隆和分支。
$ git clone https://github.com/gocom/abc_plugin.git
开发
有关可用命令,请参阅
$ make help
Composer 支持
一旦使用此模板创建的插件提交到 Packagist 存储库,就可以通过 Composer 依赖管理器从命令行进行安装
$ composer require rah/abc_plugin
编译插件模板
克隆后,可以使用 mtxpc 将模板编译为插件安装包,该工具作为开发依赖项包含在内,并在 Docker 容器中运行
$ make compile
变更日志
版本 0.5.5 – 2023/02/18
- 更新发布变更日志提取,将 Textile 的
code
格式转换为 Markdown 语法,以避免在发布消息中包含虚假提及。
版本 0.5.4 – 2022/11/19
- 更新 actions/upload-artifact。
版本 0.5.3 – 2022/11/19
- 调整 GitHub 发布名称。
版本 0.5.2 – 2022/11/19
- 迁移到 shogo82148/actions-create-release 和 shogo82148/actions-upload-release-asset 动作。
版本 0.5.1 – 2022/11/19
- 修复 GitHub Actions 工作流程中的变更日志引用。
版本 0.5.0 – 2022/11/19
- 删除 GitHub Actions 工作流程文件中的已弃用 set-output 命令。
- 更新 actions/checkout 到版本 3。
版本 0.4.0 – 2022/04/15
- 使用 Docker 容器作为开发环境。
版本 0.3.0 – 2019/10/20
- 修复 textpack 编译。
- 更新到 mtxpc 0.7.0。
版本 0.2.0 – 2019/10/20
- 更新模板。
版本 0.1.0 – 2013/05/05
- 初始发布。