Comparing version 4.1.1 to 4.2.0-dev.20230503
#!/usr/bin/env node | ||
declare const USAGE = "Wrong command has been detected. Use like below:\n\nnpx nestia [command] [options?]\n\n 1. npx nestia start <directory> --manager (npm|pnpm|yarn)\n - npx nestia start project\n - npx nestia start project --manager pnpm\n 2. npx nestia setup \\\n --manager (npm|pnpm|yarn) \\\n --project {tsconfig.json file path}\n - npx nestia setup\n - npx nestia setup --manager pnpm\n - npx nestia setup --project tsconfig.test.json\n 3. npx nestia dependencies --manager (npm|pnpm|yarn)\n - npx nestia dependencies\n - npx nestia dependencies --manager yarn\n 4. npx nestia init\n 5. npx nestia sdk <input> --out <output>\n - npx nestia sdk # when \"nestia.config.ts\" be configured\n - npx nestia sdk src/controllers --out src/api\n - npx nestia sdk src/**/*.controller.ts --out src/api\n 6. npx nestia swagger <input> --out <output>\n - npx nestia swagger # when \"nestia.config.ts\" be configured\n - npx nestia swagger src/controllers --out src/api\n - npx nestia swagger src/**/*.controller.ts --out src/api \n"; | ||
declare const USAGE = "Wrong command has been detected. Use like below:\n\nnpx nestia [command] [options?]\n\n 1. npx nestia start <directory> --manager (npm|pnpm|yarn)\n - npx nestia start project\n - npx nestia start project --manager pnpm\n 2. npx nestia setup\n 3. npx nestia dependencies\n 4. npx nestia init\n 5. npx nestia sdk\n 6. npx nestia swagger\n 7. npx nestia e2e\n"; | ||
declare function halt(desc: string): never; | ||
declare function main(): Promise<void>; |
@@ -42,20 +42,8 @@ #!/usr/bin/env node | ||
- npx nestia start project --manager pnpm | ||
2. npx nestia setup \\ | ||
--manager (npm|pnpm|yarn) \\ | ||
--project {tsconfig.json file path} | ||
- npx nestia setup | ||
- npx nestia setup --manager pnpm | ||
- npx nestia setup --project tsconfig.test.json | ||
3. npx nestia dependencies --manager (npm|pnpm|yarn) | ||
- npx nestia dependencies | ||
- npx nestia dependencies --manager yarn | ||
2. npx nestia setup | ||
3. npx nestia dependencies | ||
4. npx nestia init | ||
5. npx nestia sdk <input> --out <output> | ||
- npx nestia sdk # when "nestia.config.ts" be configured | ||
- npx nestia sdk src/controllers --out src/api | ||
- npx nestia sdk src/**/*.controller.ts --out src/api | ||
6. npx nestia swagger <input> --out <output> | ||
- npx nestia swagger # when "nestia.config.ts" be configured | ||
- npx nestia swagger src/controllers --out src/api | ||
- npx nestia swagger src/**/*.controller.ts --out src/api | ||
5. npx nestia sdk | ||
6. npx nestia swagger | ||
7. npx nestia e2e | ||
`; | ||
@@ -87,3 +75,4 @@ function halt(desc) { | ||
type === "sdk" || | ||
type === "swagger") { | ||
type === "swagger" || | ||
type === "e2e") { | ||
try { | ||
@@ -90,0 +79,0 @@ require.resolve("@nestia/sdk/lib/executable/sdk"); |
{ | ||
"name": "nestia", | ||
"version": "4.1.1", | ||
"version": "4.2.0-dev.20230503", | ||
"description": "Nestia CLI tool", | ||
@@ -11,3 +11,4 @@ "main": "bin/index.js", | ||
"build": "rimraf bin && tsc", | ||
"prettier": "prettier .src/**/*.ts --write" | ||
"prettier": "prettier ./src/**/*.ts --write", | ||
"package:next": "npm publish --access public --tag next" | ||
}, | ||
@@ -41,2 +42,3 @@ "repository": { | ||
"@nestia/sdk": "^1.1.0", | ||
"@trivago/prettier-plugin-sort-imports": "^4.1.1", | ||
"@types/inquirer": "^9.0.3", | ||
@@ -43,0 +45,0 @@ "@types/node": "^18.11.16", |
@@ -9,20 +9,8 @@ #!/usr/bin/env node | ||
- npx nestia start project --manager pnpm | ||
2. npx nestia setup \\ | ||
--manager (npm|pnpm|yarn) \\ | ||
--project {tsconfig.json file path} | ||
- npx nestia setup | ||
- npx nestia setup --manager pnpm | ||
- npx nestia setup --project tsconfig.test.json | ||
3. npx nestia dependencies --manager (npm|pnpm|yarn) | ||
- npx nestia dependencies | ||
- npx nestia dependencies --manager yarn | ||
2. npx nestia setup | ||
3. npx nestia dependencies | ||
4. npx nestia init | ||
5. npx nestia sdk <input> --out <output> | ||
- npx nestia sdk # when "nestia.config.ts" be configured | ||
- npx nestia sdk src/controllers --out src/api | ||
- npx nestia sdk src/**/*.controller.ts --out src/api | ||
6. npx nestia swagger <input> --out <output> | ||
- npx nestia swagger # when "nestia.config.ts" be configured | ||
- npx nestia swagger src/controllers --out src/api | ||
- npx nestia swagger src/**/*.controller.ts --out src/api | ||
5. npx nestia sdk | ||
6. npx nestia swagger | ||
7. npx nestia e2e | ||
`; | ||
@@ -58,3 +46,4 @@ | ||
type === "sdk" || | ||
type === "swagger" | ||
type === "swagger" || | ||
type === "e2e" | ||
) { | ||
@@ -61,0 +50,0 @@ try { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59286
8
959
1