@tsed/cli 7.0.1 → 7.1.0
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/lib/esm/commands/template/CreateTemplateCommand.js +3 -1
- package/lib/esm/services/CliStats.js +3 -1
- package/lib/esm/services/CliTemplatesService.js +6 -7
- package/lib/esm/templates/new-template.template.js +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/types/services/CliStats.d.ts +3 -0
- package/package.json +6 -6
- package/templates/views/home.ejs +3 -0
|
@@ -13,6 +13,7 @@ type InitStatPayload = {
|
|
|
13
13
|
tsed_version: string;
|
|
14
14
|
platform: string;
|
|
15
15
|
convention: string;
|
|
16
|
+
style: string;
|
|
16
17
|
package_manager: string;
|
|
17
18
|
runtime: string;
|
|
18
19
|
features: string[];
|
|
@@ -20,6 +21,8 @@ type InitStatPayload = {
|
|
|
20
21
|
cli_version: string;
|
|
21
22
|
os: string;
|
|
22
23
|
is_success: boolean;
|
|
24
|
+
error_message?: string;
|
|
25
|
+
error_name?: string;
|
|
23
26
|
};
|
|
24
27
|
export declare class CliStats extends CliHttpClient {
|
|
25
28
|
protected disabled: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/cli",
|
|
3
3
|
"description": "CLI to bootstrap your Ts.ED project",
|
|
4
|
-
"version": "7.0
|
|
4
|
+
"version": "7.1.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/esm/index.js",
|
|
7
7
|
"source": "./src/index.ts",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"@swc-node/register": "^1.11.1",
|
|
51
51
|
"@swc/core": "^1.15.7",
|
|
52
52
|
"@swc/helpers": "^0.5.17",
|
|
53
|
-
"@tsed/cli-core": "7.0
|
|
54
|
-
"@tsed/cli-mcp": "7.0
|
|
55
|
-
"@tsed/cli-prompts": "7.0
|
|
56
|
-
"@tsed/cli-tasks": "7.0
|
|
53
|
+
"@tsed/cli-core": "7.1.0",
|
|
54
|
+
"@tsed/cli-mcp": "7.1.0",
|
|
55
|
+
"@tsed/cli-prompts": "7.1.0",
|
|
56
|
+
"@tsed/cli-tasks": "7.1.0",
|
|
57
57
|
"@tsed/core": ">=8.21.0",
|
|
58
58
|
"@tsed/di": ">=8.21.0",
|
|
59
59
|
"@tsed/hooks": ">=8.21.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"zod": "3.25.76"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@tsed/typescript": "7.0
|
|
80
|
+
"@tsed/typescript": "7.1.0",
|
|
81
81
|
"@types/change-case": "^2.3.1",
|
|
82
82
|
"@types/consolidate": "0.14.4",
|
|
83
83
|
"cross-env": "7.0.3",
|
package/templates/views/home.ejs
CHANGED
|
@@ -268,6 +268,9 @@
|
|
|
268
268
|
<p class="pill-title" style="margin-top:1.5rem;">Scaffold with the CLI</p>
|
|
269
269
|
<pre>tsed generate controller users
|
|
270
270
|
tsed generate service users</pre>
|
|
271
|
+
<p class="pill-title" style="margin-top:1.5rem;">Create a new custom template</p>
|
|
272
|
+
<pre>tsed template</pre>
|
|
273
|
+
|
|
271
274
|
<div class="mcp-card">
|
|
272
275
|
<p>Need AI-assisted scaffolding? Run Ts.ED MCP:</p>
|
|
273
276
|
<pre>npx -p @tsed/cli tsed mcp</pre>
|