dhtpublic/dht_gin_custom

DHT Gin 自定义样式

安装次数: 1,117

依赖项: 0

建议者: 0

安全: 0

类型:drupal-module

1.7.5 2024-09-13 12:35 UTC

README

信息

安装

composer require dhtpublic/dht_gin_custom

开发

Drupal 编码标准 必须遵守。代码、机器名和注释必须使用英语。

Gulp 现在可用

npm install

新版本

为新的发布创建一个新的标签,遵循 semver.org 标准。

查看当前的标签和版本

git tag

创建一个新版本

git tag x.x.x

git push

1. To push your changes into git use the common git push command
2. To update the version of the contrib module use the git push --tags

在模块中解决 .git 文件夹问题

Regardless of whether composer require or update the module in a project, please head to the contrib/dht_gin_custom folder and delete the .git folder
It could help adding following script to the composer.json if not allready included.

"scripts": {
    "post-install-cmd": [
        "@composer drupal:scaffold",
        "find htdocs/vendor -name '.git' | xargs rm -rf",
        "find htdocs/vendor -name '.git' | xargs rm -rf",
        "find htdocs/modules -name '.git' | xargs rm -rf",
        "find htdocs/modules -name '.github' | xargs rm -rf"
    ],
    "post-update-cmd": [
        "@composer drupal:scaffold",
        "find htdocs/vendor -name '.git' | xargs rm -rf",
        "find htdocs/vendor -name '.git' | xargs rm -rf",
        "find htdocs/modules -name '.git' | xargs rm -rf",
        "find htdocs/modules -name '.github' | xargs rm -rf"
    ]
}