@nestjs/schematics 7.2.6 → 7.2.7

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.
@@ -39,7 +39,7 @@
39
39
  "@typescript-eslint/eslint-plugin": "^4.6.1",
40
40
  "@typescript-eslint/parser": "^4.6.1",
41
41
  "eslint": "^7.12.1",
42
- "eslint-config-prettier": "7.1.0",
42
+ "eslint-config-prettier": "7.2.0",
43
43
  "eslint-plugin-prettier": "^3.1.4",
44
44
  "jest": "^26.6.3",
45
45
  "prettier": "^2.1.2",
@@ -14,10 +14,12 @@
14
14
  "x-prompt": "What name would you like to use for the class?"
15
15
  },
16
16
  "flat": {
17
+ "type": "boolean",
17
18
  "default": true,
18
19
  "description": "Flag to indicate if a directory is created."
19
20
  },
20
21
  "spec": {
22
+ "type": "boolean",
21
23
  "default": true,
22
24
  "description": "Specifies if a spec file is generated."
23
25
  },
@@ -27,6 +27,7 @@
27
27
  "description": "Nest controller source root directory."
28
28
  },
29
29
  "skipImport": {
30
+ "type": "boolean",
30
31
  "description": "Flag to skip the module import.",
31
32
  "default": false
32
33
  },
@@ -35,10 +36,12 @@
35
36
  "description": "Allows specification of the declaring module."
36
37
  },
37
38
  "flat": {
39
+ "type": "boolean",
38
40
  "default": false,
39
41
  "description": "Flag to indicate if a directory is created."
40
42
  },
41
43
  "spec": {
44
+ "type": "boolean",
42
45
  "default": true,
43
46
  "description": "Specifies if a spec file is generated."
44
47
  }
@@ -27,6 +27,7 @@
27
27
  "description": "Nest decorator source root directory."
28
28
  },
29
29
  "flat": {
30
+ "type": "boolean",
30
31
  "default": true,
31
32
  "description": "Flag to indicate if a directory is created."
32
33
  }
@@ -27,10 +27,12 @@
27
27
  "description": "Nest filter source root directory."
28
28
  },
29
29
  "flat": {
30
+ "type": "boolean",
30
31
  "default": true,
31
32
  "description": "Flag to indicate if a directory is created."
32
33
  },
33
34
  "spec": {
35
+ "type": "boolean",
34
36
  "default": true,
35
37
  "description": "Specifies if a spec file is generated."
36
38
  }
@@ -27,10 +27,12 @@
27
27
  "description": "Nest gateway source root directory."
28
28
  },
29
29
  "flat": {
30
+ "type": "boolean",
30
31
  "default": true,
31
32
  "description": "Flag to indicate if a directory is created."
32
33
  },
33
34
  "spec": {
35
+ "type": "boolean",
34
36
  "default": true,
35
37
  "description": "Specifies if a spec file is generated."
36
38
  }
@@ -27,10 +27,12 @@
27
27
  "description": "Nest guard source root directory."
28
28
  },
29
29
  "flat": {
30
+ "type": "boolean",
30
31
  "default": true,
31
32
  "description": "Flag to indicate if a directory is created."
32
33
  },
33
34
  "spec": {
35
+ "type": "boolean",
34
36
  "default": true,
35
37
  "description": "Specifies if a spec file is generated."
36
38
  }
@@ -27,10 +27,12 @@
27
27
  "description": "Nest interceptor source root directory."
28
28
  },
29
29
  "flat": {
30
+ "type": "boolean",
30
31
  "default": true,
31
32
  "description": "Flag to indicate if a directory is created."
32
33
  },
33
34
  "spec": {
35
+ "type": "boolean",
34
36
  "default": true,
35
37
  "description": "Specifies if a spec file is generated."
36
38
  }
@@ -23,6 +23,7 @@
23
23
  "description": "Nest interface source root directory."
24
24
  },
25
25
  "flat": {
26
+ "type": "boolean",
26
27
  "default": true,
27
28
  "description": "Flag to indicate if a directory is created."
28
29
  }
@@ -27,10 +27,12 @@
27
27
  "description": "Nest middleware source root directory."
28
28
  },
29
29
  "flat": {
30
+ "type": "boolean",
30
31
  "default": true,
31
32
  "description": "Flag to indicate if a directory is created."
32
33
  },
33
34
  "spec": {
35
+ "type": "boolean",
34
36
  "default": true,
35
37
  "description": "Specifies if a spec file is generated."
36
38
  }
@@ -32,10 +32,12 @@
32
32
  "description": "Nest module source root directory."
33
33
  },
34
34
  "skipImport": {
35
+ "type": "boolean",
35
36
  "description": "Flag to skip the module import.",
36
37
  "default": false
37
38
  },
38
39
  "flat": {
40
+ "type": "boolean",
39
41
  "default": false,
40
42
  "description": "Flag to indicate if a directory is created."
41
43
  }
@@ -27,10 +27,12 @@
27
27
  "description": "Nest pipe source root directory."
28
28
  },
29
29
  "flat": {
30
+ "type": "boolean",
30
31
  "default": true,
31
32
  "description": "Flag to indicate if a directory is created."
32
33
  },
33
34
  "spec": {
35
+ "type": "boolean",
34
36
  "default": true,
35
37
  "description": "Specifies if a spec file is generated."
36
38
  }
@@ -27,10 +27,12 @@
27
27
  "description": "Nest provider source root directory."
28
28
  },
29
29
  "flat": {
30
+ "type": "boolean",
30
31
  "default": true,
31
32
  "description": "Flag to indicate if a directory is created."
32
33
  },
33
34
  "spec": {
35
+ "type": "boolean",
34
36
  "default": true,
35
37
  "description": "Specifies if a spec file is generated."
36
38
  },
@@ -27,10 +27,12 @@
27
27
  "description": "Nest resolver source root directory."
28
28
  },
29
29
  "flat": {
30
+ "type": "boolean",
30
31
  "default": false,
31
32
  "description": "Flag to indicate if a directory is created."
32
33
  },
33
34
  "spec": {
35
+ "type": "boolean",
34
36
  "default": true,
35
37
  "description": "Specifies if a spec file is generated."
36
38
  }
@@ -27,16 +27,18 @@
27
27
  "description": "Application language (ts/js)."
28
28
  },
29
29
  "flat": {
30
+ "type": "boolean",
30
31
  "default": false,
31
32
  "description": "Flag to indicate if a directory is created."
32
33
  },
33
34
  "spec": {
35
+ "type": "boolean",
34
36
  "default": true,
35
37
  "description": "Specifies if specs file are generated."
36
38
  },
37
39
  "type": {
38
- "description": "The transport layer.",
39
40
  "type": "string",
41
+ "description": "The transport layer.",
40
42
  "default": "rest",
41
43
  "enum": [
42
44
  "rest",
@@ -70,12 +72,13 @@
70
72
  }
71
73
  },
72
74
  "skipImport": {
75
+ "type": "boolean",
73
76
  "description": "Flag to skip the module import.",
74
77
  "default": false
75
78
  },
76
79
  "crud": {
77
- "description": "When true, CRUD entry points are generated.",
78
80
  "type": "boolean",
81
+ "description": "When true, CRUD entry points are generated.",
79
82
  "default": true,
80
83
  "x-prompt": {
81
84
  "message": "Would you like to generate CRUD entry points?",
@@ -27,10 +27,12 @@
27
27
  "description": "Nest service source root directory."
28
28
  },
29
29
  "flat": {
30
+ "type": "boolean",
30
31
  "default": false,
31
32
  "description": "Flag to indicate if a directory is created."
32
33
  },
33
34
  "spec": {
35
+ "type": "boolean",
34
36
  "default": true,
35
37
  "description": "Specifies if a spec file is generated."
36
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/schematics",
3
- "version": "7.2.6",
3
+ "version": "7.2.7",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@schematics)",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -40,26 +40,26 @@
40
40
  },
41
41
  "homepage": "https://github.com/nestjs/schematics#readme",
42
42
  "dependencies": {
43
- "@angular-devkit/core": "11.0.5",
44
- "@angular-devkit/schematics": "11.0.5",
45
- "fs-extra": "9.0.1",
43
+ "@angular-devkit/core": "11.1.0",
44
+ "@angular-devkit/schematics": "11.1.0",
45
+ "fs-extra": "9.1.0",
46
46
  "pluralize": "8.0.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@commitlint/cli": "^11.0.0",
50
50
  "@commitlint/config-angular": "^11.0.0",
51
51
  "@types/fs-extra": "9.0.6",
52
- "@types/jest": "26.0.19",
53
- "@types/node": "14.14.16",
54
- "@typescript-eslint/eslint-plugin": "4.11.0",
55
- "@typescript-eslint/parser": "4.11.0",
52
+ "@types/jest": "26.0.20",
53
+ "@types/node": "14.14.22",
54
+ "@typescript-eslint/eslint-plugin": "4.14.0",
55
+ "@typescript-eslint/parser": "4.14.0",
56
56
  "cpx": "1.5.0",
57
- "eslint": "7.16.0",
58
- "eslint-config-prettier": "7.1.0",
57
+ "eslint": "7.18.0",
58
+ "eslint-config-prettier": "7.2.0",
59
59
  "eslint-plugin-import": "2.22.1",
60
60
  "gulp": "4.0.2",
61
61
  "gulp-clean": "0.4.0",
62
- "husky": "4.3.6",
62
+ "husky": "4.3.8",
63
63
  "jest": "26.6.3",
64
64
  "nyc": "15.1.0",
65
65
  "release-it": "^14.2.1",