-
> Ts.ED CLI plugin. Generate your HttpClient from OpenApiSpec!
## Features
@@ -44,12 +43,12 @@ Then create or edit the `src/bin/index.ts` in your project:
```typescript
#!/usr/bin/env node
-import { CliCore } from "@tsed/cli-core";
-import { GenerateHttpClientCmd } from "@tsed/cli-generate-http-client";
+import {CliCore} from "@tsed/cli-core";
+import {GenerateHttpClientCmd} from "@tsed/cli-generate-http-client";
import configuration from "../config";
-import { CronCmd } from "./commands/CronCmd";
+import {CronCmd} from "./commands/CronCmd";
import "./db/connections";
-import { Server } from "../Server";
+import {Server} from "../Server";
CliCore.bootstrap({
...configuration,
@@ -77,18 +76,16 @@ Add a new script your `package.json`:
## Contributors
-Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
+Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
-
## Backers
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]
-
## Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
diff --git a/packages/cli-generate-swagger/readme.md b/packages/cli-generate-swagger/readme.md
index 8cd07e3ae..3f98d7bb4 100644
--- a/packages/cli-generate-swagger/readme.md
+++ b/packages/cli-generate-swagger/readme.md
@@ -1,5 +1,5 @@
-
> Ts.ED CLI plugin. Generate all Swagger in `json` and `yaml` format from your Ts.ED Server.
## Features
@@ -43,12 +42,12 @@ Then create or edit the `src/bin/index.ts` in your project:
```typescript
#!/usr/bin/env node
-import { CliCore } from "@tsed/cli-core";
-import { GenerateSwaggerCmd } from "@tsed/cli-generate-swagger";
+import {CliCore} from "@tsed/cli-core";
+import {GenerateSwaggerCmd} from "@tsed/cli-generate-swagger";
import configuration from "../config";
-import { CronCmd } from "./commands/CronCmd";
+import {CronCmd} from "./commands/CronCmd";
import "./db/connections";
-import { Server } from "../Server";
+import {Server} from "../Server";
CliCore.bootstrap({
...configuration,
@@ -72,18 +71,16 @@ This command generate all Swagger specification in `json` and `yaml` format.
## Contributors
-Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
+Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
-
## Backers
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]
-
## Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
diff --git a/packages/cli-plugin-eslint/readme.md b/packages/cli-plugin-eslint/readme.md
index 489558dbb..0d8ee32d3 100644
--- a/packages/cli-plugin-eslint/readme.md
+++ b/packages/cli-plugin-eslint/readme.md
@@ -1,17 +1,16 @@
# @tsed/cli-plugin-eslint
-
+
[![Build & Release](https://github.com/tsedio/tsed-cli/workflows/Build%20&%20Release/badge.svg?branch=master)](https://github.com/tsedio/tsed-cli/actions?query=workflow%3A%22Build+%26+Release%22)
-
> Ts.ED CLI plugin. Add TsLint support.
## Features
-Please refer to the [documentation](https://cli.tsed.io/) for more details.
+Please refer to the [documentation](https://cli.tsed.dev/) for more details.
## Installation
@@ -20,10 +19,10 @@ npm install -g @tsed/cli-plugin-eslint
```
## Contributors
-Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
-
+Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
+
## Backers
diff --git a/packages/cli-plugin-jest/readme.md b/packages/cli-plugin-jest/readme.md
index b9a261af2..bb0aac1d1 100644
--- a/packages/cli-plugin-jest/readme.md
+++ b/packages/cli-plugin-jest/readme.md
@@ -1,7 +1,7 @@
-# @tsed/cli-plugin-jest
+# @tsed/cli-plugin-jest
-
+
[![Build & Release](https://github.com/tsedio/tsed-cli/workflows/Build%20&%20Release/badge.svg?branch=master)](https://github.com/tsedio/tsed-cli/actions?query=workflow%3A%22Build+%26+Release%22)
@@ -10,7 +10,7 @@
## Features
-Please refer to the [documentation](https://cli.tsed.io/) for more details.
+Please refer to the [documentation](https://cli.tsed.dev/) for more details.
## Installation
@@ -19,10 +19,10 @@ npm install -g @tsed/cli-plugin-jest
```
## Contributors
-Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
-
+Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
+
## Backers
diff --git a/packages/cli-plugin-mongoose/readme.md b/packages/cli-plugin-mongoose/readme.md
index 48ea4dea5..04f3de603 100644
--- a/packages/cli-plugin-mongoose/readme.md
+++ b/packages/cli-plugin-mongoose/readme.md
@@ -1,17 +1,16 @@
-# @tsed/cli-plugin-mongoose
+# @tsed/cli-plugin-mongoose
-
+
[![Build & Release](https://github.com/tsedio/tsed-cli/workflows/Build%20&%20Release/badge.svg?branch=master)](https://github.com/tsedio/tsed-cli/actions?query=workflow%3A%22Build+%26+Release%22)
-
> Ts.ED CLI plugin. Add Mongoose support
## Features
-Please refer to the [documentation](https://cli.tsed.io/) for more details.
+Please refer to the [documentation](https://cli.tsed.dev/) for more details.
## Installation
@@ -20,10 +19,10 @@ npm install -g @tsed/cli-plugin-mongoose
```
## Contributors
-Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
-
+Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
+
## Backers
diff --git a/packages/cli-plugin-oidc-provider/readme.md b/packages/cli-plugin-oidc-provider/readme.md
index 87d1b056f..0fd8b677a 100644
--- a/packages/cli-plugin-oidc-provider/readme.md
+++ b/packages/cli-plugin-oidc-provider/readme.md
@@ -1,5 +1,5 @@
-
[![Build & Release](https://github.com/tsedio/tsed-cli/workflows/Build%20&%20Release/badge.svg?branch=master)](https://github.com/tsedio/tsed-cli/actions?query=workflow%3A%22Build+%26+Release%22)
> Plugin to generate an OIDC project with Ts.ED
## Features
-Please refer to the [documentation](https://cli.tsed.io/) for more details.
+Please refer to the [documentation](https://cli.tsed.dev/) for more details.
## Installation
@@ -44,18 +42,16 @@ npm install @tsed/cli-plugin-oidc-provider
## Contributors
-Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
+Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
-
## Backers
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]
-
## Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
diff --git a/packages/cli-plugin-passport/readme.md b/packages/cli-plugin-passport/readme.md
index 5c7609d57..679f48aa4 100644
--- a/packages/cli-plugin-passport/readme.md
+++ b/packages/cli-plugin-passport/readme.md
@@ -1,17 +1,16 @@
-# @tsed/cli-plugin-passport
+# @tsed/cli-plugin-passport
-
+
[![Build & Release](https://github.com/tsedio/tsed-cli/workflows/Build%20&%20Release/badge.svg?branch=master)](https://github.com/tsedio/tsed-cli/actions?query=workflow%3A%22Build+%26+Release%22)
-
> Ts.ED CLI plugin. Add Passport.js support
## Features
-Please refer to the [documentation](https://cli.tsed.io/) for more details.
+Please refer to the [documentation](https://cli.tsed.dev/) for more details.
## Installation
@@ -20,10 +19,10 @@ npm install -g @tsed/cli-plugin-passport
```
## Contributors
-Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
-
+Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
+
## Backers
diff --git a/packages/cli-plugin-prisma/readme.md b/packages/cli-plugin-prisma/readme.md
index 598a766f3..fb0edfbdd 100644
--- a/packages/cli-plugin-prisma/readme.md
+++ b/packages/cli-plugin-prisma/readme.md
@@ -1,7 +1,7 @@
-# @tsed/cli-plugin-prisma
+# @tsed/cli-plugin-prisma
-
+
[![Build & Release](https://github.com/tsedio/tsed-cli/workflows/Build%20&%20Release/badge.svg?branch=master)](https://github.com/tsedio/tsed-cli/actions?query=workflow%3A%22Build+%26+Release%22)
@@ -10,7 +10,7 @@
## Features
-Please refer to the [documentation](https://cli.tsed.io/) for more details.
+Please refer to the [documentation](https://cli.tsed.dev/) for more details.
## Installation
@@ -30,18 +30,16 @@ See [Prisma CLI commands](https://github.com/typeorm/typeorm/blob/master/docs/us
## Contributors
-Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
+Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
-
## Backers
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]
-
## Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
diff --git a/packages/cli-plugin-typegraphql/readme.md b/packages/cli-plugin-typegraphql/readme.md
index 87d1b056f..0fd8b677a 100644
--- a/packages/cli-plugin-typegraphql/readme.md
+++ b/packages/cli-plugin-typegraphql/readme.md
@@ -1,5 +1,5 @@
-
[![Build & Release](https://github.com/tsedio/tsed-cli/workflows/Build%20&%20Release/badge.svg?branch=master)](https://github.com/tsedio/tsed-cli/actions?query=workflow%3A%22Build+%26+Release%22)
> Plugin to generate an OIDC project with Ts.ED
## Features
-Please refer to the [documentation](https://cli.tsed.io/) for more details.
+Please refer to the [documentation](https://cli.tsed.dev/) for more details.
## Installation
@@ -44,18 +42,16 @@ npm install @tsed/cli-plugin-oidc-provider
## Contributors
-Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
+Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
-
## Backers
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]
-
## Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
diff --git a/packages/cli-plugin-typeorm/readme.md b/packages/cli-plugin-typeorm/readme.md
index 21a44db11..2949516a3 100644
--- a/packages/cli-plugin-typeorm/readme.md
+++ b/packages/cli-plugin-typeorm/readme.md
@@ -1,7 +1,7 @@
-# @tsed/cli-plugin-typeorm
+# @tsed/cli-plugin-typeorm
-
+
[![Build & Release](https://github.com/tsedio/tsed-cli/workflows/Build%20&%20Release/badge.svg?branch=master)](https://github.com/tsedio/tsed-cli/actions?query=workflow%3A%22Build+%26+Release%22)
@@ -10,7 +10,7 @@
## Features
-Please refer to the [documentation](https://cli.tsed.io/) for more details.
+Please refer to the [documentation](https://cli.tsed.dev/) for more details.
## Installation
@@ -32,10 +32,10 @@ tsed typeorm migration:create -n UserMigration
See [TypeORM commands](https://github.com/typeorm/typeorm/blob/master/docs/using-cli.md) for more details.
## Contributors
-Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
-
+Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
+
## Backers
@@ -43,7 +43,6 @@ Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com
-
## Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
diff --git a/packages/cli-plugin-vitest/readme.md b/packages/cli-plugin-vitest/readme.md
index b9a261af2..bb0aac1d1 100644
--- a/packages/cli-plugin-vitest/readme.md
+++ b/packages/cli-plugin-vitest/readme.md
@@ -1,7 +1,7 @@
-# @tsed/cli-plugin-jest
+# @tsed/cli-plugin-jest
-
+
[![Build & Release](https://github.com/tsedio/tsed-cli/workflows/Build%20&%20Release/badge.svg?branch=master)](https://github.com/tsedio/tsed-cli/actions?query=workflow%3A%22Build+%26+Release%22)
@@ -10,7 +10,7 @@
## Features
-Please refer to the [documentation](https://cli.tsed.io/) for more details.
+Please refer to the [documentation](https://cli.tsed.dev/) for more details.
## Installation
@@ -19,10 +19,10 @@ npm install -g @tsed/cli-plugin-jest
```
## Contributors
-Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
-
+Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
+
## Backers
diff --git a/packages/cli-testing/readme.md b/packages/cli-testing/readme.md
index e8c1b3394..1eb89bd1f 100644
--- a/packages/cli-testing/readme.md
+++ b/packages/cli-testing/readme.md
@@ -1,7 +1,7 @@
# @tsed/cli-testing
-
+
[![Build & Release](https://github.com/tsedio/tsed-cli/workflows/Build%20&%20Release/badge.svg?branch=master)](https://github.com/tsedio/tsed-cli/actions?query=workflow%3A%22Build+%26+Release%22)
@@ -10,7 +10,7 @@
## Features
-Please refer to the [documentation](https://cli.tsed.io/) for more details.
+Please refer to the [documentation](https://cli.tsed.dev/) for more details.
## Installation
@@ -19,10 +19,10 @@ npm install @tsed/cli-testing
```
## Contributors
-Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
-
+Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
+
## Backers
@@ -30,7 +30,6 @@ Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com
-
## Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 3fa39bea7..b8970a872 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -67,12 +67,12 @@
"@swc/core": "1.7.26",
"@swc/helpers": "^0.5.13",
"@tsed/cli-core": "workspace:*",
- "@tsed/core": ">=8.0.0-rc.6",
- "@tsed/di": ">=8.0.0-rc.6",
- "@tsed/hooks": ">=8.0.0-rc.6",
- "@tsed/logger": ">=6.2.1",
- "@tsed/openspec": ">=8.0.0-rc.6",
- "@tsed/schema": ">=8.0.0-rc.6",
+ "@tsed/core": ">=8.0.0",
+ "@tsed/di": ">=8.0.0",
+ "@tsed/hooks": ">=8.0.0",
+ "@tsed/logger": ">=7.0.1",
+ "@tsed/openspec": ">=8.0.0",
+ "@tsed/schema": ">=8.0.0",
"chalk": "^5.3.0",
"change-case": "^5.4.4",
"esm-module-alias": "^2.2.1",
@@ -90,11 +90,11 @@
},
"peerDependencies": {
"@tsed/cli-core": "workspace:*",
- "@tsed/core": ">=8.0.0-rc.6",
- "@tsed/di": ">=8.0.0-rc.6",
- "@tsed/hooks": ">=8.0.0-rc.6",
- "@tsed/logger": ">=6.2.1",
- "@tsed/openspec": ">=8.0.0-rc.6",
- "@tsed/schema": ">=8.0.0-rc.6"
+ "@tsed/core": ">=8.0.0",
+ "@tsed/di": ">=8.0.0",
+ "@tsed/hooks": ">=8.0.0",
+ "@tsed/logger": ">=7.0.1",
+ "@tsed/openspec": ">=8.0.0",
+ "@tsed/schema": ">=8.0.0"
}
}
diff --git a/packages/cli/readme.md b/packages/cli/readme.md
index e0691df07..de7304919 100644
--- a/packages/cli/readme.md
+++ b/packages/cli/readme.md
@@ -1,7 +1,7 @@
# @tsed/cli
-
+
[![Build & Release](https://github.com/tsedio/tsed-cli/workflows/Build%20&%20Release/badge.svg?branch=master)](https://github.com/tsedio/tsed-cli/actions?query=workflow%3A%22Build+%26+Release%22)
@@ -15,7 +15,7 @@
## Features
-Please refer to the [documentation](https://cli.tsed.io/) for more details.
+Please refer to the [documentation](https://cli.tsed.dev/) for more details.
## Requirement
@@ -57,7 +57,7 @@ Options:
-V, --version output the version number
-h, --help display help for command
-Commands:
+Commands:
add [options] [name] Add cli plugin to the current project
generate|g [options] [type] [name] Generate a new provider class
update [options] Update all Ts.ED packages used by your project
@@ -73,9 +73,9 @@ Usage: tsed init [options] [root]
Init a new Ts.ED project
-Arguments:
+Arguments:
root Root directory to initialize the Ts.ED project (default: ".")
-
+
Options:
-n, --project-name Set the project name. By default, the project is the same as the name directory. (default: "")
-a, --arch Set the default architecture convention (default or feature) (default: "default")
@@ -115,28 +115,29 @@ convention: default
skipPrompt: true
packageManager: yarn
features:
- - graphql
- - socketio
- - swagger
- - oidc
- - passportjs
- - commands
- - db
- - prisma
- - mongoose
- - typeorm
- - typeorm:mysql
- - testing
- - jest
- - mocha
- - linter
- - eslint
- - lintstaged
- - prettier
- - bundler
- - babel
- - babel:webpack
+ - graphql
+ - socketio
+ - swagger
+ - oidc
+ - passportjs
+ - commands
+ - db
+ - prisma
+ - mongoose
+ - typeorm
+ - typeorm:mysql
+ - testing
+ - jest
+ - mocha
+ - linter
+ - eslint
+ - lintstaged
+ - prettier
+ - bundler
+ - babel
+ - babel:webpack
```
+
> Note: The CLI support `yml` and `json` file!
Then:
@@ -153,12 +154,11 @@ import {Cli} from "@tsed/cli";
Cli.dispatch("init", {
//... init options
});
-
```
## Contributors
-Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
+Please read [contributing guidelines here](https://tsed.dev/CONTRIBUTING.html)
diff --git a/packages/cli/src/commands/init/config/FeaturesPrompt.ts b/packages/cli/src/commands/init/config/FeaturesPrompt.ts
index f972d9e7b..3da2f95b9 100644
--- a/packages/cli/src/commands/init/config/FeaturesPrompt.ts
+++ b/packages/cli/src/commands/init/config/FeaturesPrompt.ts
@@ -353,7 +353,7 @@ export const FeaturesPrompt = (availableRuntimes: string[], availablePackageMana
// type: "password",
// name: "GH_TOKEN",
// message:
- // "Enter GH_TOKEN to use the premium @tsedio/prisma package or leave blank (see https://tsed.io/tutorials/prisma-client.html)",
+ // "Enter GH_TOKEN to use the premium @tsedio/prisma package or leave blank (see https://tsed.dev/tutorials/prisma-client.html)",
// when: hasValue("featuresDB.type", "prisma")
// },
{
diff --git a/packages/cli/templates/init/README.md.hbs b/packages/cli/templates/init/README.md.hbs
index 0973f2bd8..09188f125 100644
--- a/packages/cli/templates/init/README.md.hbs
+++ b/packages/cli/templates/init/README.md.hbs
@@ -1,16 +1,16 @@