@stackonward/cli 1.0.0 → 1.0.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 +6 -6
- 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 +2 -2
- package/package.json +12 -13
package/dist/index.js
CHANGED
|
@@ -5415,7 +5415,7 @@ async function runApple(mode, options) {
|
|
|
5415
5415
|
|
|
5416
5416
|
// src/index.ts
|
|
5417
5417
|
var program = new Command();
|
|
5418
|
-
program.name("stackonward").description("Create projects and install reusable components and snippets").version("1.0.
|
|
5418
|
+
program.name("stackonward").description("Create projects and install reusable components and snippets").version("1.0.1");
|
|
5419
5419
|
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);
|
|
5420
5420
|
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);
|
|
5421
5421
|
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/cli",
|
|
10
10
|
"description": "StackOnward project and resource CLI",
|
|
11
11
|
"type": "npm",
|
|
12
|
-
"version": "^1.0.
|
|
12
|
+
"version": "^1.0.1"
|
|
13
13
|
},
|
|
14
14
|
"@stackonward/cms-client": {
|
|
15
15
|
"name": "@stackonward/cms-client",
|
|
16
16
|
"description": "Typed CMS delivery client",
|
|
17
17
|
"type": "npm",
|
|
18
|
-
"version": "^0.0.
|
|
18
|
+
"version": "^0.0.3"
|
|
19
19
|
},
|
|
20
20
|
"@stackonward/cms-nuxt": {
|
|
21
21
|
"name": "@stackonward/cms-nuxt",
|
|
22
22
|
"description": "Generic CMS Nuxt runtime",
|
|
23
23
|
"type": "npm",
|
|
24
|
-
"version": "^0.0.
|
|
24
|
+
"version": "^0.0.3"
|
|
25
25
|
},
|
|
26
26
|
"@stackonward/commitlint-config": {
|
|
27
27
|
"name": "@stackonward/commitlint-config",
|
|
@@ -81,19 +81,19 @@
|
|
|
81
81
|
"name": "@stackonward/nuxt-layer-base",
|
|
82
82
|
"description": "Nuxt transport, session, SEO, and i18n foundation",
|
|
83
83
|
"type": "layer",
|
|
84
|
-
"version": "^0.0.
|
|
84
|
+
"version": "^0.0.3"
|
|
85
85
|
},
|
|
86
86
|
"@stackonward/nuxt-site-shell": {
|
|
87
87
|
"name": "@stackonward/nuxt-site-shell",
|
|
88
88
|
"description": "Brand-free Nuxt product-site shell",
|
|
89
89
|
"type": "layer",
|
|
90
|
-
"version": "^0.0.
|
|
90
|
+
"version": "^0.0.3"
|
|
91
91
|
},
|
|
92
92
|
"@stackonward/onex-cms-client": {
|
|
93
93
|
"name": "@stackonward/onex-cms-client",
|
|
94
94
|
"description": "OneX CMS HTTP contract adapter",
|
|
95
95
|
"type": "npm",
|
|
96
|
-
"version": "^0.0.
|
|
96
|
+
"version": "^0.0.3"
|
|
97
97
|
},
|
|
98
98
|
"@stackonward/onex-device-context": {
|
|
99
99
|
"name": "@stackonward/onex-device-context",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@stackonward/api-client": "^0.0.2",
|
|
32
|
-
"@stackonward/nuxt-layer-base": "^0.0.
|
|
33
|
-
"@stackonward/nuxt-site-shell": "^0.0.
|
|
32
|
+
"@stackonward/nuxt-layer-base": "^0.0.3",
|
|
33
|
+
"@stackonward/nuxt-site-shell": "^0.0.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@commitlint/cli": "^21.2.2",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackonward/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.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,7 +28,6 @@
|
|
|
37
28
|
"directory": "packages/cli"
|
|
38
29
|
},
|
|
39
30
|
"dependencies": {
|
|
40
|
-
"@stackonward/api-client": "workspace:*",
|
|
41
31
|
"commander": "^12.0.0",
|
|
42
32
|
"execa": "^9.0.0",
|
|
43
33
|
"fs-extra": "^11.2.0",
|
|
@@ -45,7 +35,8 @@
|
|
|
45
35
|
"kolorist": "^1.8.0",
|
|
46
36
|
"ora": "^8.0.0",
|
|
47
37
|
"prompts": "^2.4.2",
|
|
48
|
-
"zod": "4"
|
|
38
|
+
"zod": "4",
|
|
39
|
+
"@stackonward/api-client": "0.0.2"
|
|
49
40
|
},
|
|
50
41
|
"devDependencies": {
|
|
51
42
|
"@types/fs-extra": "^11.0.4",
|
|
@@ -56,5 +47,13 @@
|
|
|
56
47
|
},
|
|
57
48
|
"engines": {
|
|
58
49
|
"node": ">=20.0.0"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"dev": "tsup --watch",
|
|
53
|
+
"build": "tsup",
|
|
54
|
+
"clean": "rm -rf dist",
|
|
55
|
+
"typecheck": "tsc --noEmit",
|
|
56
|
+
"test": "vitest run",
|
|
57
|
+
"check:package": "node scripts/check-package.mjs"
|
|
59
58
|
}
|
|
60
|
-
}
|
|
59
|
+
}
|