0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Added a gscan check to prevent the declaration of unused custom theme setting

ref 136e02adfd
ref https://github.com/TryGhost/Team/issues/1105

- Custom theme settings are defined in package.json, this rule triggers an error if a defined rule doesn't appear in any handlebars templates.
This commit is contained in:
Thibaut Patel 2021-10-13 18:30:58 +02:00
parent 7cb93be60b
commit dc4694d8d3
2 changed files with 5 additions and 5 deletions

View file

@ -127,7 +127,7 @@
"ghost-storage-base": "0.0.6", "ghost-storage-base": "0.0.6",
"glob": "7.2.0", "glob": "7.2.0",
"got": "9.6.0", "got": "9.6.0",
"gscan": "4.5.0", "gscan": "4.6.0",
"html-to-text": "5.1.1", "html-to-text": "5.1.1",
"image-size": "1.0.0", "image-size": "1.0.0",
"intl": "1.2.5", "intl": "1.2.5",

View file

@ -5368,10 +5368,10 @@ grunt@1.4.1:
nopt "~3.0.6" nopt "~3.0.6"
rimraf "~3.0.2" rimraf "~3.0.2"
gscan@4.5.0: gscan@4.6.0:
version "4.5.0" version "4.6.0"
resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.5.0.tgz#e72824b5f4725331817c6f3298687eb1049636af" resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.6.0.tgz#9d5b12d516194f4c71de5b00679804ac62e521c9"
integrity sha512-gAQV/ISjrlMPIDWv2e0G4hl6/toVkdB87LPnrNYcy5jls7wCMohv2RqN2K7IoQCEFUn7SMRpkzWl5DOYEQMOXg== integrity sha512-hIuYzl1mbfgCfHsDa/pApSNkhgLJpneDs7P1iZEIiSdqElzY7urtFXI2SGqDqi2kgp5TzYNgqrsM/lRx8nHKfQ==
dependencies: dependencies:
"@sentry/node" "6.13.3" "@sentry/node" "6.13.3"
"@tryghost/pretty-cli" "1.2.21" "@tryghost/pretty-cli" "1.2.21"