@stackonward/cli 1.2.0 → 1.2.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/index.js +1 -1
- package/dist/resources/registry.json +5 -5
- package/dist/resources/templates/go-backend/scripts/test-migrations.sh +0 -0
- package/dist/resources/templates/nuxt/.husky/commit-msg +0 -0
- package/dist/resources/templates/nuxt/.husky/pre-commit +0 -0
- package/dist/resources/templates/nuxt/package.json +1 -1
- package/package.json +13 -14
package/dist/index.js
CHANGED
|
@@ -5576,7 +5576,7 @@ function isFileExistsError(error) {
|
|
|
5576
5576
|
|
|
5577
5577
|
// src/index.ts
|
|
5578
5578
|
var program = new Command();
|
|
5579
|
-
program.name("stackonward").description("Create projects and install reusable components and snippets").version("1.2.
|
|
5579
|
+
program.name("stackonward").description("Create projects and install reusable components and snippets").version("1.2.1");
|
|
5580
5580
|
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);
|
|
5581
5581
|
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);
|
|
5582
5582
|
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);
|
|
@@ -9,19 +9,19 @@
|
|
|
9
9
|
"name": "@stackonward/analytics-core",
|
|
10
10
|
"description": "Provider-neutral analytics pipeline and browser autocapture",
|
|
11
11
|
"type": "npm",
|
|
12
|
-
"version": "^0.2.
|
|
12
|
+
"version": "^0.2.1"
|
|
13
13
|
},
|
|
14
14
|
"@stackonward/analytics-nuxt": {
|
|
15
15
|
"name": "@stackonward/analytics-nuxt",
|
|
16
16
|
"description": "Provider-neutral Nuxt analytics lifecycle",
|
|
17
17
|
"type": "npm",
|
|
18
|
-
"version": "^0.1.
|
|
18
|
+
"version": "^0.1.2"
|
|
19
19
|
},
|
|
20
20
|
"@stackonward/cli": {
|
|
21
21
|
"name": "@stackonward/cli",
|
|
22
22
|
"description": "StackOnward project and resource CLI",
|
|
23
23
|
"type": "npm",
|
|
24
|
-
"version": "^1.2.
|
|
24
|
+
"version": "^1.2.1"
|
|
25
25
|
},
|
|
26
26
|
"@stackonward/cms-client": {
|
|
27
27
|
"name": "@stackonward/cms-client",
|
|
@@ -69,13 +69,13 @@
|
|
|
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.1"
|
|
73
73
|
},
|
|
74
74
|
"@stackonward/google-tag-manager": {
|
|
75
75
|
"name": "@stackonward/google-tag-manager",
|
|
76
76
|
"description": "Google Tag Manager transport and declarative container generator",
|
|
77
77
|
"type": "npm",
|
|
78
|
-
"version": "^0.1.
|
|
78
|
+
"version": "^0.1.1"
|
|
79
79
|
},
|
|
80
80
|
"@stackonward/identity-browser": {
|
|
81
81
|
"name": "@stackonward/identity-browser",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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.1",
|
|
33
33
|
"@stackonward/nuxt-layer-base": "^0.0.3",
|
|
34
34
|
"@stackonward/nuxt-site-shell": "^0.1.0"
|
|
35
35
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackonward/cli",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "StackOnward CLI for creating projects and installing reusable components and snippets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -10,15 +10,6 @@
|
|
|
10
10
|
"files": [
|
|
11
11
|
"dist"
|
|
12
12
|
],
|
|
13
|
-
"scripts": {
|
|
14
|
-
"dev": "tsup --watch",
|
|
15
|
-
"build": "tsup",
|
|
16
|
-
"prepack": "pnpm build",
|
|
17
|
-
"clean": "rm -rf dist",
|
|
18
|
-
"typecheck": "tsc --noEmit",
|
|
19
|
-
"test": "vitest run",
|
|
20
|
-
"check:package": "node scripts/check-package.mjs"
|
|
21
|
-
},
|
|
22
13
|
"keywords": [
|
|
23
14
|
"cli",
|
|
24
15
|
"stackonward",
|
|
@@ -37,8 +28,6 @@
|
|
|
37
28
|
"directory": "packages/cli"
|
|
38
29
|
},
|
|
39
30
|
"dependencies": {
|
|
40
|
-
"@stackonward/api-client": "workspace:*",
|
|
41
|
-
"@stackonward/google-tag-manager": "workspace:*",
|
|
42
31
|
"commander": "^12.0.0",
|
|
43
32
|
"execa": "^9.0.0",
|
|
44
33
|
"fs-extra": "^11.2.0",
|
|
@@ -46,7 +35,9 @@
|
|
|
46
35
|
"kolorist": "^1.8.0",
|
|
47
36
|
"ora": "^8.0.0",
|
|
48
37
|
"prompts": "^2.4.2",
|
|
49
|
-
"zod": "4"
|
|
38
|
+
"zod": "4",
|
|
39
|
+
"@stackonward/api-client": "0.0.2",
|
|
40
|
+
"@stackonward/google-tag-manager": "0.1.1"
|
|
50
41
|
},
|
|
51
42
|
"devDependencies": {
|
|
52
43
|
"@types/fs-extra": "^11.0.4",
|
|
@@ -57,5 +48,13 @@
|
|
|
57
48
|
},
|
|
58
49
|
"engines": {
|
|
59
50
|
"node": ">=20.0.0"
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"dev": "tsup --watch",
|
|
54
|
+
"build": "tsup",
|
|
55
|
+
"clean": "rm -rf dist",
|
|
56
|
+
"typecheck": "tsc --noEmit",
|
|
57
|
+
"test": "vitest run",
|
|
58
|
+
"check:package": "node scripts/check-package.mjs"
|
|
60
59
|
}
|
|
61
|
-
}
|
|
60
|
+
}
|