-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fdbb6b1
commit 8eec010
Showing
143 changed files
with
5,439 additions
and
2,299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
14 changes: 7 additions & 7 deletions
14
packages/schematics/.eslintignore → packages/nx-nest/.eslintignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
src/lib/**/files/**/* | ||
**/src/lib/**/files/**/* | ||
src/generators/**/files/**/* | ||
**/src/generators/**/files/**/* | ||
*.d.ts | ||
**/*.d.ts | ||
node_modules | ||
src/lib/**/files/**/* | ||
**/src/lib/**/files/**/* | ||
src/generators/**/files/**/* | ||
**/src/generators/**/files/**/* | ||
*.d.ts | ||
**/*.d.ts | ||
node_modules |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 26 additions & 19 deletions
45
packages/schematics/generators.json → packages/nx-nest/generators.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,54 @@ | ||
{ | ||
"$schema": "http://json-schema.org/schema", | ||
"name": "@devon4ts/schematics", | ||
"name": "@devon4ts/nx-nest", | ||
"version": "6.0.0", | ||
"generators": { | ||
"typeorm": { | ||
"description": "Initialice typeorm into your current project in a correct way.", | ||
"factory": "./src/generators/init-typeorm/generator", | ||
"schema": "./src/generators/init-typeorm/schema.json" | ||
"application": { | ||
"description": "Generates a basic NestJS application using Devonfw Architecture", | ||
"factory": "./src/generators/application/application", | ||
"schema": "./src/generators/application/schema.json" | ||
}, | ||
"entity": { | ||
"description": "Add a TypeOrm entity to your project", | ||
"factory": "./src/generators/entity/generator", | ||
"factory": "./src/generators/entity/entity", | ||
"schema": "./src/generators/entity/schema.json" | ||
}, | ||
"orm": { | ||
"description": "Initialice typeorm into your current project in a correct way.", | ||
"factory": "./src/generators/orm/orm", | ||
"schema": "./src/generators/orm/schema.json" | ||
}, | ||
"convict": { | ||
"description": "Initialize convict to manage the configuration into the project.", | ||
"factory": "./src/generators/convict/generator", | ||
"factory": "./src/generators/convict/convict", | ||
"schema": "./src/generators/convict/schema.json" | ||
}, | ||
"mailer": { | ||
"description": "Add mailer module to project.", | ||
"factory": "./src/generators/mailer/generator", | ||
"factory": "./src/generators/mailer/mailer", | ||
"schema": "./src/generators/mailer/schema.json" | ||
}, | ||
"security": { | ||
"description": "Add cors and helmet to your project.", | ||
"factory": "./src/generators/security/security", | ||
"schema": "./src/generators/security/schema.json" | ||
}, | ||
"swagger": { | ||
"description": "Add swagger module to project.", | ||
"factory": "./src/generators/swagger/generator", | ||
"factory": "./src/generators/swagger/swagger", | ||
"schema": "./src/generators/swagger/schema.json" | ||
}, | ||
"auth-jwt": { | ||
"description": "Add the auth JWT module to the project.", | ||
"factory": "./src/generators/auth-jwt/generator", | ||
"factory": "./src/generators/auth-jwt/auth", | ||
"schema": "./src/generators/auth-jwt/schema.json" | ||
}, | ||
"security": { | ||
"description": "Add cors and helmet to your project.", | ||
"factory": "./src/generators/security/generator", | ||
"schema": "./src/generators/security/schema.json" | ||
}, | ||
"application": { | ||
"description": "Generates a basic NestJS application using Devonfw Architecture", | ||
"factory": "./src/generators/application/generator", | ||
"schema": "./src/generators/application/schema.json" | ||
"preset": { | ||
"factory": "./src/generators/preset/preset", | ||
"schema": "./src/generators/preset/schema.json", | ||
"description": "devon4ts nestjs workspace preset", | ||
"x-use-standalone-layout": true, | ||
"hidden": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"name": "@devon4ts/nx-nest", | ||
"version": "5.0.5", | ||
"description": "NX plugin for NestJS using devon4ts", | ||
"scripts": { | ||
"build": "nx build", | ||
"format": "nx format:write", | ||
"lint": "nx lint", | ||
"test": "nx test" | ||
}, | ||
"keywords": [ | ||
"nx plugin", | ||
"nestjs", | ||
"devon4ts" | ||
], | ||
"author": { | ||
"name": "Capgemini", | ||
"url": "https://www.capgemini.com/" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Dario Rodriguez Gonzalez", | ||
"url": "https://github.com/dario-rodriguez" | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/devonfw/devon4ts.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/devonfw/devon4ts/issues" | ||
}, | ||
"homepage": "https://devonfw.com/docs/typescript/current/", | ||
"license": "Apache-2.0", | ||
"generators": "./generators.json", | ||
"dependencies": { | ||
"@nx/devkit": "18.0.5", | ||
"@nx/eslint": "18.0.5", | ||
"@nx/nest": "18.0.5", | ||
"@swc/helpers": "~0.5.2", | ||
"js-yaml": "^4.1.0", | ||
"lodash": "^4.17.21", | ||
"pluralize": "^8.0.0", | ||
"ts-morph": "^21.0.1" | ||
}, | ||
"gitHead": "1f351bcc0fbad70f9c25fa73a398a538ca0c8e55", | ||
"devDependencies": { | ||
"@types/js-yaml": "^4.0.9", | ||
"@types/lodash": "^4.14.202" | ||
} | ||
} |
26 changes: 13 additions & 13 deletions
26
packages/schematics/project.json → packages/nx-nest/project.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.