climaybe 3.0.6 → 3.0.7

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
@@ -258,6 +258,9 @@ dev config defaults (`.theme-check.yml`, `.shopifyignore`, `.prettierrc`,
258
258
  `.lighthouserc.js`), writes `climaybe.config.json`, appends a managed `.gitignore` block, and optionally adds
259
259
  `.vscode/tasks.json` (default: yes) wired to run `climaybe` dev commands.
260
260
 
261
+ Local serve commands keep Theme Check disabled by default for faster startup. Enable it explicitly with
262
+ `climaybe serve --theme-check` or `climaybe serve:assets --theme-check`.
263
+
261
264
  You can create optional build entrypoints later with:
262
265
 
263
266
  `climaybe create-entrypoints`
package/bin/version.txt CHANGED
@@ -1 +1 @@
1
- 3.0.6
1
+ 3.0.7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "climaybe",
3
- "version": "3.0.6",
3
+ "version": "3.0.7",
4
4
  "description": "Shopify CLI by Electric Maybe for theme CI/CD workflows, branch orchestration, app setup, and dev tooling",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -61,15 +61,15 @@ function registerThemeCommands(cmd) {
61
61
 
62
62
  cmd
63
63
  .command('serve')
64
- .description('Run local theme dev (Shopify + assets + Theme Check)')
65
- .option('--no-theme-check', 'Disable Theme Check watcher')
66
- .action((opts) => serveAll({ includeThemeCheck: opts.themeCheck !== false }));
64
+ .description('Run local theme dev (Shopify + assets; Theme Check off by default)')
65
+ .option('--theme-check', 'Enable Theme Check watcher')
66
+ .action((opts) => serveAll({ includeThemeCheck: opts.themeCheck === true }));
67
67
  cmd.command('serve:shopify').description('Run Shopify theme dev server').action(() => serveShopify());
68
68
  cmd
69
69
  .command('serve:assets')
70
- .description('Run assets watch (Tailwind + scripts + Theme Check)')
71
- .option('--no-theme-check', 'Disable Theme Check watcher')
72
- .action((opts) => serveAssets({ includeThemeCheck: opts.themeCheck !== false }));
70
+ .description('Run assets watch (Tailwind + scripts; Theme Check off by default)')
71
+ .option('--theme-check', 'Enable Theme Check watcher')
72
+ .action((opts) => serveAssets({ includeThemeCheck: opts.themeCheck === true }));
73
73
 
74
74
  cmd.command('lint').description('Run theme linting (liquid, js, css)').action(() => lintAll());
75
75
 
@@ -217,7 +217,7 @@ export function serveShopify({ cwd = process.cwd() } = {}) {
217
217
  return runShopify(args, { cwd, name: 'shopify' });
218
218
  }
219
219
 
220
- export function serveAssets({ cwd = process.cwd(), includeThemeCheck = true } = {}) {
220
+ export function serveAssets({ cwd = process.cwd(), includeThemeCheck = false } = {}) {
221
221
  printServeStartupHeader();
222
222
  const env = { ...process.env, NODE_ENV: 'production' };
223
223
  const styleEntrypoint = join(cwd, '_styles', 'main.css');
@@ -312,7 +312,7 @@ export function serveAssets({ cwd = process.cwd(), includeThemeCheck = true } =
312
312
  return { tailwind, devMcp, scriptsWatch, themeCheckWatch, cleanup };
313
313
  }
314
314
 
315
- export function serveAll({ cwd = process.cwd(), includeThemeCheck = true } = {}) {
315
+ export function serveAll({ cwd = process.cwd(), includeThemeCheck = false } = {}) {
316
316
  // Start assets first, then bring up Shopify after a short delay.
317
317
  const assets = serveAssets({ cwd, includeThemeCheck });
318
318
  let shopify = null;