From dc4694d8d323f95ea080ce5aaec3157466fe6214 Mon Sep 17 00:00:00 2001 From: Thibaut Patel Date: Wed, 13 Oct 2021 18:30:58 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Added=20a=20gscan=20check=20to=20pr?= =?UTF-8?q?event=20the=20declaration=20of=20unused=20custom=20theme=20sett?= =?UTF-8?q?ing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ref https://github.com/TryGhost/gscan/commit/136e02adfd16618dd4bab5e8281d8baa16d5f0d5 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. --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index eb6361e8bc..6fb2c2b6c0 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "ghost-storage-base": "0.0.6", "glob": "7.2.0", "got": "9.6.0", - "gscan": "4.5.0", + "gscan": "4.6.0", "html-to-text": "5.1.1", "image-size": "1.0.0", "intl": "1.2.5", diff --git a/yarn.lock b/yarn.lock index 14856f1433..aa82f4ce42 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5368,10 +5368,10 @@ grunt@1.4.1: nopt "~3.0.6" rimraf "~3.0.2" -gscan@4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.5.0.tgz#e72824b5f4725331817c6f3298687eb1049636af" - integrity sha512-gAQV/ISjrlMPIDWv2e0G4hl6/toVkdB87LPnrNYcy5jls7wCMohv2RqN2K7IoQCEFUn7SMRpkzWl5DOYEQMOXg== +gscan@4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.6.0.tgz#9d5b12d516194f4c71de5b00679804ac62e521c9" + integrity sha512-hIuYzl1mbfgCfHsDa/pApSNkhgLJpneDs7P1iZEIiSdqElzY7urtFXI2SGqDqi2kgp5TzYNgqrsM/lRx8nHKfQ== dependencies: "@sentry/node" "6.13.3" "@tryghost/pretty-cli" "1.2.21"