gscan 4.31.2 → 4.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/specs/canary.js +1 -1
- package/package.json +2 -2
package/lib/specs/canary.js
CHANGED
|
@@ -15,7 +15,7 @@ const authorHelperDocs = `Find more information about the <code>{{authors}}</cod
|
|
|
15
15
|
const tierDesc = `Ghost now supports multiple tiers and subscriptions. All product and price related helpers have been reworked to account for this.`;
|
|
16
16
|
|
|
17
17
|
// assign new or overwrite existing knownHelpers, templates, or rules here:
|
|
18
|
-
let knownHelpers = [];
|
|
18
|
+
let knownHelpers = ['total_members', 'total_paid_members'];
|
|
19
19
|
let templates = [];
|
|
20
20
|
let rules = {
|
|
21
21
|
// New rules
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gscan",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.32.0",
|
|
4
4
|
"description": "Scans Ghost themes looking for errors, deprecations, features and compatibility",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ghost",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"posttest": "yarn lint",
|
|
35
35
|
"coverage": "NODE_ENV=testing istanbul cover --dir test/coverage _mocha -- $(find test -name '*.test.js')",
|
|
36
36
|
"preship": "yarn test",
|
|
37
|
-
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn publish && git push ${GHOST_UPSTREAM:-
|
|
37
|
+
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn publish && git push ${GHOST_UPSTREAM:-origin} main --follow-tags; fi"
|
|
38
38
|
},
|
|
39
39
|
"bin": {
|
|
40
40
|
"gscan": "./bin/cli.js"
|