@stackonward/cli 1.3.0 → 1.3.2

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/index.js CHANGED
@@ -5583,7 +5583,7 @@ function isFileExistsError(error) {
5583
5583
 
5584
5584
  // src/index.ts
5585
5585
  var program = new Command();
5586
- program.name("stackonward").description("Create projects and install reusable components and snippets").version("1.3.0");
5586
+ program.name("stackonward").description("Create projects and install reusable components and snippets").version("1.3.2");
5587
5587
  program.command("init [name]").description("Create a new project from template").option("-t, --template <template>", "Template to use").option("-d, --dir <directory>", "Target directory").option("--skip-install", "Skip dependency installation").option("--skip-git", "Skip git initialization").option("--module <module>", "Go module path (required for go-backend)").option("--author <author>", "Author name").option("-y, --yes", "Use defaults without interactive prompts").action(init);
5588
5588
  program.command("add [items...]").description("Add components or snippets to your project").option("-c, --component", "Add component(s)").option("-s, --snippet", "Add snippet(s)").option("-a, --all", "Add all items in category").option("-y, --yes", "Skip confirmation prompts").option("-o, --overwrite", "Overwrite existing files").option("-p, --path <path>", "Custom install path").action(add);
5589
5589
  program.command("list [type]").description("List available templates, components, or snippets").option("-t, --templates", "List templates").option("-c, --components", "List components").option("-s, --snippets", "List snippets").action(list);
@@ -53,7 +53,9 @@ function hasChildren(item: MarketingNavigationItem): boolean {
53
53
 
54
54
  <div class="marketing-header__actions">
55
55
  <div class="marketing-header__preferences">
56
- <ThemeSwitcher />
56
+ <ClientOnly>
57
+ <ThemeSwitcher />
58
+ </ClientOnly>
57
59
  <LocaleSwitcher />
58
60
  </div>
59
61
  <slot name="actions">
@@ -110,7 +112,9 @@ function hasChildren(item: MarketingNavigationItem): boolean {
110
112
  </details>
111
113
  </template>
112
114
  <div class="mobile-nav__preferences">
113
- <ThemeSwitcher @changed="closeMenu" />
115
+ <ClientOnly>
116
+ <ThemeSwitcher @changed="closeMenu" />
117
+ </ClientOnly>
114
118
  <LocaleSwitcher @changed="closeMenu" />
115
119
  </div>
116
120
  </nav>
@@ -26,7 +26,9 @@ const LazyMarketingFooter = defineLazyHydrationComponent(
26
26
  <div class="site-floating-stack">
27
27
  <BackToTop />
28
28
  <slot name="consent">
29
- <CookieConsent />
29
+ <ClientOnly>
30
+ <CookieConsent />
31
+ </ClientOnly>
30
32
  </slot>
31
33
  </div>
32
34
  </div>
@@ -32,7 +32,7 @@ export default defineNuxtPlugin({
32
32
  });
33
33
 
34
34
  if (import.meta.client) {
35
- nuxtApp.hook("app:mounted", () => {
35
+ onNuxtReady(() => {
36
36
  controller.initialize();
37
37
  });
38
38
  nuxtApp.vueApp.onUnmount(() => controller.dispose());
@@ -21,7 +21,7 @@
21
21
  "name": "@stackonward/cli",
22
22
  "description": "StackOnward project and resource CLI",
23
23
  "type": "npm",
24
- "version": "^1.3.0"
24
+ "version": "^1.3.2"
25
25
  },
26
26
  "@stackonward/cms-client": {
27
27
  "name": "@stackonward/cms-client",
@@ -69,7 +69,7 @@
69
69
  "name": "@stackonward/google-tag-manager-nuxt",
70
70
  "description": "Consent-aware Google Tag Manager analytics integration for Nuxt",
71
71
  "type": "npm",
72
- "version": "^0.2.2"
72
+ "version": "^0.2.3"
73
73
  },
74
74
  "@stackonward/google-tag-manager": {
75
75
  "name": "@stackonward/google-tag-manager",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@stackonward/api-client": "^0.0.2",
32
- "@stackonward/google-tag-manager-nuxt": "^0.2.2",
32
+ "@stackonward/google-tag-manager-nuxt": "^0.2.3",
33
33
  "@stackonward/nuxt-layer-base": "^0.0.3",
34
34
  "@stackonward/nuxt-site-shell": "^0.2.0"
35
35
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackonward/cli",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "StackOnward CLI for creating projects and installing reusable components and snippets",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -36,8 +36,8 @@
36
36
  "ora": "^8.0.0",
37
37
  "prompts": "^2.4.2",
38
38
  "zod": "4",
39
- "@stackonward/google-tag-manager": "0.1.1",
40
- "@stackonward/api-client": "0.0.2"
39
+ "@stackonward/api-client": "0.0.2",
40
+ "@stackonward/google-tag-manager": "0.1.1"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/fs-extra": "^11.0.4",