@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 +1 -1
- package/dist/resources/components/nuxt/site-source/app/components/site/MarketingHeader.vue +6 -2
- package/dist/resources/components/nuxt/site-source/app/components/site/MarketingShell.vue +3 -1
- package/dist/resources/components/nuxt/site-source/app/plugins/consent.ts +1 -1
- package/dist/resources/registry.json +2 -2
- package/dist/resources/templates/nuxt/package.json +1 -1
- package/package.json +3 -3
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.
|
|
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
|
-
<
|
|
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
|
-
<
|
|
115
|
+
<ClientOnly>
|
|
116
|
+
<ThemeSwitcher @changed="closeMenu" />
|
|
117
|
+
</ClientOnly>
|
|
114
118
|
<LocaleSwitcher @changed="closeMenu" />
|
|
115
119
|
</div>
|
|
116
120
|
</nav>
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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/
|
|
40
|
-
"@stackonward/
|
|
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",
|