gscan 4.44.0 → 4.45.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/README.md +6 -1
- package/lib/specs/canary.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -83,12 +83,17 @@ gscan.checkZip({
|
|
|
83
83
|
|
|
84
84
|
## Development
|
|
85
85
|
|
|
86
|
-
### Run
|
|
86
|
+
### Run in browser (for zip uploads)
|
|
87
87
|
|
|
88
88
|
- Either dev mode: `yarn dev`
|
|
89
89
|
- Or standard server: `yarn start`
|
|
90
90
|
- View: http://localhost:2369
|
|
91
91
|
|
|
92
|
+
### Run on command line
|
|
93
|
+
|
|
94
|
+
- zip file: `./bin/cli.js -z /path/to/your/theme.zip`
|
|
95
|
+
- directory: `./bin/cli.js /path/to/directory`
|
|
96
|
+
|
|
92
97
|
### Publish
|
|
93
98
|
|
|
94
99
|
(Core team only)
|
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 = ['total_members', 'total_paid_members', 'comment_count', 'comments', 'recommendations', 'readable_url'];
|
|
18
|
+
let knownHelpers = ['total_members', 'total_paid_members', 'comment_count', 'comments', 'recommendations', 'readable_url', 'content_api_url', 'content_api_key'];
|
|
19
19
|
let templates = [];
|
|
20
20
|
let rules = {
|
|
21
21
|
// New rules
|