@usequeek/theme-check 0.6.0 → 0.6.1
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/dist/rules/static.js +2 -2
- package/package.json +1 -1
package/dist/rules/static.js
CHANGED
|
@@ -53,7 +53,7 @@ export const structureRule = {
|
|
|
53
53
|
where: `${context.env.root}`,
|
|
54
54
|
found: `no theme screenshot (${SCREENSHOTS.join(' or ')})`,
|
|
55
55
|
fix: `Run \`${context.env.capture('default')}\` — it captures the homepage at 1280×800 into theme.jpg.`,
|
|
56
|
-
docs: `${context.env.docs}#
|
|
56
|
+
docs: `${context.env.docs}#themepng`,
|
|
57
57
|
}));
|
|
58
58
|
}
|
|
59
59
|
return findings;
|
|
@@ -156,7 +156,7 @@ export const demoStoresRule = {
|
|
|
156
156
|
const findings = [];
|
|
157
157
|
const at = `${context.env.root}theme.config.ts`;
|
|
158
158
|
const add = (where, found, fix) => {
|
|
159
|
-
findings.push(finding(context, 'theme/demo-stores', 'reject', { where, found, fix, docs: `${context.env.docs}#
|
|
159
|
+
findings.push(finding(context, 'theme/demo-stores', 'reject', { where, found, fix, docs: `${context.env.docs}#designs-more-than-one-demo-store` }));
|
|
160
160
|
};
|
|
161
161
|
const declared = context.declaredDemos ?? [];
|
|
162
162
|
const secondaries = context.demos.filter((store) => store.id !== PRIMARY_DEMO_ID);
|