@usequeek/theme-check 0.6.1 → 0.7.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 CHANGED
@@ -1,8 +1,8 @@
1
1
  # @usequeek/theme-check
2
2
 
3
3
  The rules a [Queek](https://usequeek.com) storefront theme is checked against, as a library.
4
- Most people want the command line instead: `npx queek-theme check` from
5
- [`@usequeek/theme-cli`](https://www.npmjs.com/package/@usequeek/theme-cli).
4
+ Most people want the command line instead: `npx queek theme check` from
5
+ [`@usequeek/cli`](https://www.npmjs.com/package/@usequeek/cli).
6
6
 
7
7
  ```bash
8
8
  npm install --save-dev @usequeek/theme-check
package/dist/context.js CHANGED
@@ -19,7 +19,7 @@ export function localEnv(dir, cwd = process.cwd()) {
19
19
  vocabulary: 'the business vocabulary (docs/business-vocabulary.json in the starter)',
20
20
  scaffold: '`npm create @usequeek/theme`',
21
21
  preview: (templateId) => `http://localhost:7833/${templateId}`,
22
- capture: (designId) => designId === PRIMARY_DEMO_ID ? 'npx queek-theme screenshot' : `npx queek-theme screenshot ${designId}`,
22
+ capture: (designId) => designId === PRIMARY_DEMO_ID ? 'npx queek theme screenshot' : `npx queek theme screenshot ${designId}`,
23
23
  submission: false,
24
24
  };
25
25
  }
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @usequeek/theme-check — the rules a Queek storefront theme is checked
3
- * against, as a library. The `queek-theme check` command of
4
- * @usequeek/theme-cli is its command-line front end.
3
+ * against, as a library. The `queek theme check` command of
4
+ * @usequeek/cli is its command-line front end.
5
5
  */
6
6
  export { checkTheme, rejects, RULES, AT_SUBMISSION, type CheckOptions, type CheckResult, type CheckVocabulary } from './run.js';
7
7
  export { resolveVocabulary, vocabularyCacheDir, readCachedVocabulary, bundledVocabulary, bundledVersion, parseEndpointPayload, parseVocabularyData, VOCABULARY_URL, VOCABULARY_CACHE_TTL_MS, type BusinessVocabularyData, type ResolveVocabularyOptions, type ResolvedVocabulary, type VocabularySource, } from './vocabulary.js';
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @usequeek/theme-check — the rules a Queek storefront theme is checked
3
- * against, as a library. The `queek-theme check` command of
4
- * @usequeek/theme-cli is its command-line front end.
3
+ * against, as a library. The `queek theme check` command of
4
+ * @usequeek/cli is its command-line front end.
5
5
  */
6
6
  export { checkTheme, rejects, RULES, AT_SUBMISSION } from './run.js';
7
7
  export { resolveVocabulary, vocabularyCacheDir, readCachedVocabulary, bundledVocabulary, bundledVersion, parseEndpointPayload, parseVocabularyData, VOCABULARY_URL, VOCABULARY_CACHE_TTL_MS, } from './vocabulary.js';
@@ -29,7 +29,7 @@
29
29
  * it did.
30
30
  *
31
31
  * One resolver for every consumer: the registry, the design index the proxy
32
- * and the preview read, both copies of theme-check, and theme-cli. So it
32
+ * and the preview read, both copies of theme-check, and the CLI. So it
33
33
  * imports nothing. `yarn tools:sync-lists` copies this file byte for byte to
34
34
  * theme-tools (packages/theme-check/src/utils/theme-designs.ts), and a copy
35
35
  * that drifts fails `yarn tools:sync-lists --check`. Change it here, then sync.
@@ -29,7 +29,7 @@
29
29
  * it did.
30
30
  *
31
31
  * One resolver for every consumer: the registry, the design index the proxy
32
- * and the preview read, both copies of theme-check, and theme-cli. So it
32
+ * and the preview read, both copies of theme-check, and the CLI. So it
33
33
  * imports nothing. `yarn tools:sync-lists` copies this file byte for byte to
34
34
  * theme-tools (packages/theme-check/src/utils/theme-designs.ts), and a copy
35
35
  * that drifts fails `yarn tools:sync-lists --check`. Change it here, then sync.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The live business vocabulary: one resolver, one cache, shared by
3
- * theme-check, theme-cli and create-theme.
3
+ * theme-check, the CLI and create-theme.
4
4
  *
5
5
  * Production serves `{ status, data }` at VOCABULARY_URL, where `data` holds
6
6
  * the vocabulary (`version`, `services`, `catalogue`, `subcategories`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usequeek/theme-check",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "description": "The rules a Queek storefront theme is checked against, as a library.",
5
5
  "license": "MIT",
6
6
  "type": "module",