@tsed/cli 6.0.1 → 6.0.3
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/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": "6.0.
|
|
4
|
+
"version": "6.0.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/esm/index.js",
|
|
7
7
|
"source": "./src/index.ts",
|
|
@@ -66,13 +66,13 @@
|
|
|
66
66
|
"@swc-node/register": "^1.10.9",
|
|
67
67
|
"@swc/core": "1.7.26",
|
|
68
68
|
"@swc/helpers": "^0.5.13",
|
|
69
|
-
"@tsed/cli-core": "6.0.
|
|
70
|
-
"@tsed/core": ">=8.0.0
|
|
71
|
-
"@tsed/di": ">=8.0.0
|
|
72
|
-
"@tsed/hooks": ">=8.0.0
|
|
73
|
-
"@tsed/logger": ">=
|
|
74
|
-
"@tsed/openspec": ">=8.0.0
|
|
75
|
-
"@tsed/schema": ">=8.0.0
|
|
69
|
+
"@tsed/cli-core": "6.0.3",
|
|
70
|
+
"@tsed/core": ">=8.0.0",
|
|
71
|
+
"@tsed/di": ">=8.0.0",
|
|
72
|
+
"@tsed/hooks": ">=8.0.0",
|
|
73
|
+
"@tsed/logger": ">=7.0.1",
|
|
74
|
+
"@tsed/openspec": ">=8.0.0",
|
|
75
|
+
"@tsed/schema": ">=8.0.0",
|
|
76
76
|
"chalk": "^5.3.0",
|
|
77
77
|
"change-case": "^5.4.4",
|
|
78
78
|
"esm-module-alias": "^2.2.1",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"tslib": "^2.7.0"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@tsed/typescript": "6.0.
|
|
85
|
+
"@tsed/typescript": "6.0.3",
|
|
86
86
|
"@types/change-case": "^2.3.1",
|
|
87
87
|
"cross-env": "7.0.3",
|
|
88
88
|
"typescript": "5.6.2",
|
|
@@ -90,12 +90,12 @@
|
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
92
|
"@tsed/cli-core": "workspace:*",
|
|
93
|
-
"@tsed/core": ">=8.0.0
|
|
94
|
-
"@tsed/di": ">=8.0.0
|
|
95
|
-
"@tsed/hooks": ">=8.0.0
|
|
96
|
-
"@tsed/logger": ">=
|
|
97
|
-
"@tsed/openspec": ">=8.0.0
|
|
98
|
-
"@tsed/schema": ">=8.0.0
|
|
93
|
+
"@tsed/core": ">=8.0.0",
|
|
94
|
+
"@tsed/di": ">=8.0.0",
|
|
95
|
+
"@tsed/hooks": ">=8.0.0",
|
|
96
|
+
"@tsed/logger": ">=7.0.1",
|
|
97
|
+
"@tsed/openspec": ">=8.0.0",
|
|
98
|
+
"@tsed/schema": ">=8.0.0"
|
|
99
99
|
},
|
|
100
100
|
"repository": "https://github.com/tsedio/tsed-cli",
|
|
101
101
|
"bugs": {
|
package/readme.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @tsed/cli
|
|
2
2
|
|
|
3
3
|
<p style="text-align: center" align="center">
|
|
4
|
-
<a href="https://tsed.
|
|
4
|
+
<a href="https://tsed.dev" target="_blank"><img src="https://tsed.dev/tsed-og.png" width="200" alt="Ts.ED logo"/></a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
[](https://github.com/tsedio/tsed-cli/actions?query=workflow%3A%22Build+%26+Release%22)
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
## Features
|
|
17
17
|
|
|
18
|
-
Please refer to the [documentation](https://cli.tsed.
|
|
18
|
+
Please refer to the [documentation](https://cli.tsed.dev/) for more details.
|
|
19
19
|
|
|
20
20
|
## Requirement
|
|
21
21
|
|
|
@@ -57,7 +57,7 @@ Options:
|
|
|
57
57
|
-V, --version output the version number
|
|
58
58
|
-h, --help display help for command
|
|
59
59
|
|
|
60
|
-
Commands:
|
|
60
|
+
Commands:
|
|
61
61
|
add [options] [name] Add cli plugin to the current project
|
|
62
62
|
generate|g [options] [type] [name] Generate a new provider class
|
|
63
63
|
update [options] Update all Ts.ED packages used by your project
|
|
@@ -73,9 +73,9 @@ Usage: tsed init [options] [root]
|
|
|
73
73
|
|
|
74
74
|
Init a new Ts.ED project
|
|
75
75
|
|
|
76
|
-
Arguments:
|
|
76
|
+
Arguments:
|
|
77
77
|
root Root directory to initialize the Ts.ED project (default: ".")
|
|
78
|
-
|
|
78
|
+
|
|
79
79
|
Options:
|
|
80
80
|
-n, --project-name <projectName> Set the project name. By default, the project is the same as the name directory. (default: "")
|
|
81
81
|
-a, --arch <architecture> Set the default architecture convention (default or feature) (default: "default")
|
|
@@ -115,28 +115,29 @@ convention: default
|
|
|
115
115
|
skipPrompt: true
|
|
116
116
|
packageManager: yarn
|
|
117
117
|
features:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
118
|
+
- graphql
|
|
119
|
+
- socketio
|
|
120
|
+
- swagger
|
|
121
|
+
- oidc
|
|
122
|
+
- passportjs
|
|
123
|
+
- commands
|
|
124
|
+
- db
|
|
125
|
+
- prisma
|
|
126
|
+
- mongoose
|
|
127
|
+
- typeorm
|
|
128
|
+
- typeorm:mysql
|
|
129
|
+
- testing
|
|
130
|
+
- jest
|
|
131
|
+
- mocha
|
|
132
|
+
- linter
|
|
133
|
+
- eslint
|
|
134
|
+
- lintstaged
|
|
135
|
+
- prettier
|
|
136
|
+
- bundler
|
|
137
|
+
- babel
|
|
138
|
+
- babel:webpack
|
|
139
139
|
```
|
|
140
|
+
|
|
140
141
|
> Note: The CLI support `yml` and `json` file!
|
|
141
142
|
|
|
142
143
|
Then:
|
|
@@ -153,12 +154,11 @@ import {Cli} from "@tsed/cli";
|
|
|
153
154
|
Cli.dispatch("init", {
|
|
154
155
|
//... init options
|
|
155
156
|
});
|
|
156
|
-
|
|
157
157
|
```
|
|
158
158
|
|
|
159
159
|
## Contributors
|
|
160
160
|
|
|
161
|
-
Please read [contributing guidelines here](https://tsed.
|
|
161
|
+
Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
|
|
162
162
|
|
|
163
163
|
<a href="https://github.com/tsedio/ts-express-decorators/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
|
|
164
164
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
<p style="text-align: center" align="center">
|
|
2
|
-
<a href="https://tsed.
|
|
2
|
+
<a href="https://tsed.dev" target="_blank"><img src="https://tsed.dev/tsed-og.png" width="200" alt="Ts.ED logo"/></a>
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<div align="center">
|
|
6
6
|
<h1>Ts.ED - {{projectName}}</h1>
|
|
7
7
|
<br />
|
|
8
8
|
<div align="center">
|
|
9
|
-
<a href="https://cli.tsed.
|
|
9
|
+
<a href="https://cli.tsed.dev/">Website</a>
|
|
10
10
|
<span> • </span>
|
|
11
|
-
<a href="https://cli.tsed.
|
|
11
|
+
<a href="https://cli.tsed.dev/getting-started.html">Getting started</a>
|
|
12
12
|
<span> • </span>
|
|
13
|
-
<a href="https://
|
|
13
|
+
<a href="https://slack.tsed.io">Slack</a>
|
|
14
14
|
<span> • </span>
|
|
15
15
|
<a href="https://twitter.com/TsED_io">Twitter</a>
|
|
16
16
|
</div>
|