mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Switched gscan to validate against v5 set of rules
refs https://github.com/TryGhost/Toolbox/issues/226 - We are on the finish line to release 5.0 - the instance should be validating it's themes agains v5 set of rules. - The prominent deprecations are `{{author}}` and `@blog` helpers removals - will throw 'fatal' errors when encountered.
This commit is contained in:
parent
c9ab21f821
commit
03c8e7f010
3 changed files with 1 additions and 4 deletions
|
@ -22,7 +22,7 @@ const check = async function check(theme, isZip) {
|
|||
debug('Begin: Check');
|
||||
// gscan can slow down boot time if we require on boot, for now nest the require.
|
||||
const gscan = require('gscan');
|
||||
const checkedVersion = 'v4';
|
||||
const checkedVersion = 'v5';
|
||||
let checkedTheme;
|
||||
|
||||
if (isZip) {
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
"description": "The default personal blogging theme for Ghost. Beautiful, minimal and responsive.",
|
||||
"demo": "https://demo.ghost.io",
|
||||
"version": "2.4.2",
|
||||
"engines": {
|
||||
"ghost-api": "v4"
|
||||
},
|
||||
"license": "MIT",
|
||||
"screenshots": {
|
||||
"desktop": "assets/screenshot-desktop.jpg",
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue