From 392626f3b28314d8e19ad450cbde8e0750c960b5 Mon Sep 17 00:00:00 2001 From: Naz Gargol Date: Sun, 20 Oct 2019 08:51:27 +0200 Subject: [PATCH] Bumped Gscan and made rule check explicit to v2 set (#622) * Bumped gscan to v3.0.0 * Added explicit v2 version check for gscan command --- package.json | 4 ++-- yarn.lock | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 73c1ac0..588f993 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "scripts": { "dev": "gulp", "zip": "gulp zip", - "test": "gscan .", + "test": "gscan --v2 .", "pretest": "gulp build", "preship": "yarn test", "ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version && git push --follow-tags; else echo \"Uncomitted changes found.\" && exit 1; fi", @@ -49,7 +49,7 @@ "autoprefixer": "9.6.1", "beeper": "1.1.1", "cssnano": "4.1.10", - "gscan": "2.9.0", + "gscan": "3.0.0", "gulp": "4.0.2", "gulp-livereload": "4.0.2", "gulp-postcss": "8.0.0", diff --git a/yarn.lock b/yarn.lock index c0f682d..39b3564 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1654,9 +1654,10 @@ graceful-fs@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.0.tgz#8d8fdc73977cb04104721cb53666c1ca64cd328b" -gscan@2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/gscan/-/gscan-2.9.0.tgz#de169bd971043872ac830a65cd632149ecddbb8c" +gscan@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/gscan/-/gscan-3.0.0.tgz#04e7a8eebff365c08d93323f281d652f32156c65" + integrity sha512-ihVSl8pBZjQwJvbdCZ5tmx808XjWcTdGUNIl+Drquohpo7738ybSScLGuKFgbnrtZwV5gYQ9FPwv0EK6HMMDzA== dependencies: "@tryghost/extract-zip" "1.6.6" "@tryghost/pretty-cli" "1.2.1"