Added support for theme card_asset config to GScan

refs https://github.com/TryGhost/Team/issues/1232

- Only require the right css rules depending on the `card_assets` configuration
- 🐛 removed `kg-width-wide` and `kg-width-full` from being considered as card asset, as they should always be defined in themes (it was only a problem in v4.11.x)
This commit is contained in:
Thibaut Patel 2021-11-23 14:29:35 +01:00
parent 0ede559d5b
commit 5258e02fd1
2 changed files with 5 additions and 5 deletions

View File

@ -129,7 +129,7 @@
"ghost-storage-base": "1.0.0",
"glob": "7.2.0",
"got": "9.6.0",
"gscan": "4.11.1",
"gscan": "4.12.0",
"html-to-text": "5.1.1",
"image-size": "1.0.0",
"intl": "1.2.5",

View File

@ -5870,10 +5870,10 @@ grunt@1.4.1:
nopt "~3.0.6"
rimraf "~3.0.2"
gscan@4.11.1:
version "4.11.1"
resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.11.1.tgz#119450c1aa51ac1a8abb607d8c074f84e36129e7"
integrity sha512-anWiynkSEh1FW8SmNIuaWuLrPZ/mVm9ylf3dF60vsnCUQVmtCJFOZhvEbINMAk8j2VEqq2zR8cEfz2VWjN004g==
gscan@4.12.0:
version "4.12.0"
resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.12.0.tgz#591c05e93d71d0ff5ea746f614c3dc0541faae49"
integrity sha512-ufv+g/IEsch8NPxHkDcYtpicaN1Smbjq+NveE5JTrbOUBT/oDJP8mQc5XsJqmIHuTwKGKUsr7Cus4F44g5ks7g==
dependencies:
"@sentry/node" "6.15.0"
"@tryghost/config" "0.2.1"