Socket
Socket
Sign inDemoInstall

@nestjs/schematics

Package Overview
Dependencies
Maintainers
3
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/schematics - npm Package Compare versions

Comparing version 1.0.0-rc.1 to 4.0.0-rc1

.travis.yml

9

package.json
{
"name": "@nestjs/schematics",
"version": "1.0.0-rc.1",
"version": "4.0.0-rc1",
"description": "Nestjs schematics project for @nestjs/cli",

@@ -25,6 +25,7 @@ "main": "index.js",

"homepage": "https://github.com/ThomRick/nest-cli-schematics#readme",
"dependencies": {},
"dependencies": {
"@angular-devkit/core": "^0.4.8",
"@angular-devkit/schematics": "^0.4.8"
},
"devDependencies": {
"@angular-devkit/core": "^0.4.2",
"@angular-devkit/schematics": "^0.4.2",
"@types/chai": "^4.1.2",

@@ -31,0 +32,0 @@ "@types/mocha": "^2.2.48",

@@ -19,5 +19,4 @@ [![Build Status](https://travis-ci.org/nestjs/schematics.svg?branch=master)](https://travis-ci.org/nestjs/schematics)

- `cp -R src/* schematics`
- `find schematics/ -name '*.ts' -delete`
- `cp -R LICENSE package.json package-lock.json README.md .npmrc schematics`
- `find src -name '*.js' -delete`
- `cp -R LICENSE package.json package-lock.json README.md .npmrc schematics`

@@ -31,13 +30,45 @@ ## Usages:

## Schematics:
### application:
| Option | description | required | default value |
|--------|-------------|:--------:|:-------------:|
| directory | The directory name to create the app in. | true | |
| Name | Usage |
|-------------|---------------------------------------------------------------------------------------------------------------|
| application | .:application --extension=[ts OR js] --path=[your_path] |
| controller | .:controller --extension=[ts OR js] --name=[your_name] --path=[relative_to_rooDir] --rootDir=[your_root_dir] |
| exception | .:exception --extension=[ts OR js] --name=[your_name] --path=[relative_to_rooDir] --rootDir=[your_root_dir] |
| guard | .:guard --extension=[ts OR js] --name=[your_name] --path=[relative_to_rooDir] --rootDir=[your_root_dir] |
| interceptor | .:interceptor --extension=[ts OR js] --name=[your_name] --path=[relative_to_rooDir] --rootDir=[your_root_dir] |
| middleware | .:middleware --extension=[ts OR js] --name=[your_name] --path=[relative_to_rooDir] --rootDir=[your_root_dir] |
| module | .:module --extension=[ts OR js] --name=[your_name] --path=[relative_to_rooDir] --rootDir=[your_root_dir] |
| pipe | .:pipe --extension=[ts OR js] --name=[your_name] --path=[relative_to_rooDir] --rootDir=[your_root_dir] |
| service | .:service --extension=[ts OR js] --name=[your_name] --path=[relative_to_rooDir] --rootDir=[your_root_dir] |
### controller:
| Option | description | required | default value |
|--------|-------------|:--------:|:-------------:|
| name | The name of the controller. | true | |
### exception:
| Option | description | required | default value |
|--------|-------------|:--------:|:-------------:|
| name | The name of the exception. | true | |
### guard:
| Option | description | required | default value |
|--------|-------------|:--------:|:-------------:|
| name | The name of the guard. | true | |
### interceptor:
| Option | description | required | default value |
|--------|-------------|:--------:|:-------------:|
| name | The name of the interceptor. | true | |
### middleware:
| Option | description | required | default value |
|--------|-------------|:--------:|:-------------:|
| name | The name of the middleware. | true | |
### module:
| Option | description | required | default value |
|--------|-------------|:--------:|:-------------:|
| name | The name of the module. | true | |
### pipe:
| Option | description | required | default value |
|--------|-------------|:--------:|:-------------:|
| name | The name of the pipe. | true | |
### service:
| Option | description | required | default value |
|--------|-------------|:--------:|:-------------:|
| name | The name of the service. | true | |
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc