@nestjs/cli 9.2.0 → 9.3.0

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.
@@ -21,7 +21,7 @@ jobs:
21
21
  build:
22
22
  working_directory: ~/nest
23
23
  docker:
24
- - image: cimg/node:19.5
24
+ - image: cimg/node:19.7
25
25
  steps:
26
26
  - checkout
27
27
  - run:
@@ -43,7 +43,7 @@ jobs:
43
43
  unit_tests:
44
44
  working_directory: ~/nest
45
45
  docker:
46
- - image: cimg/node:19.5
46
+ - image: cimg/node:19.7
47
47
  steps:
48
48
  - checkout
49
49
  - *restore-cache
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.WorkspaceUtils = void 0;
13
- const rimraf = require("rimraf");
13
+ const rimraf_1 = require("rimraf");
14
14
  const get_value_or_default_1 = require("./helpers/get-value-or-default");
15
15
  class WorkspaceUtils {
16
16
  deleteOutDirIfEnabled(configuration, appName, dirPath) {
@@ -19,7 +19,7 @@ class WorkspaceUtils {
19
19
  if (!isDeleteEnabled) {
20
20
  return;
21
21
  }
22
- yield rimraf(dirPath);
22
+ yield (0, rimraf_1.default)(dirPath);
23
23
  });
24
24
  }
25
25
  }
@@ -92,6 +92,11 @@ NestCollection.schematics = [
92
92
  alias: 'itf',
93
93
  description: 'Generate an interface',
94
94
  },
95
+ {
96
+ name: 'library',
97
+ alias: 'lib',
98
+ description: 'Generate a new library within a monorepo',
99
+ },
95
100
  {
96
101
  name: 'middleware',
97
102
  alias: 'mi',
@@ -117,24 +122,19 @@ NestCollection.schematics = [
117
122
  alias: 'r',
118
123
  description: 'Generate a GraphQL resolver declaration',
119
124
  },
125
+ {
126
+ name: 'resource',
127
+ alias: 'res',
128
+ description: 'Generate a new CRUD resource',
129
+ },
120
130
  {
121
131
  name: 'service',
122
132
  alias: 's',
123
133
  description: 'Generate a service declaration',
124
134
  },
125
- {
126
- name: 'library',
127
- alias: 'lib',
128
- description: 'Generate a new library within a monorepo',
129
- },
130
135
  {
131
136
  name: 'sub-app',
132
137
  alias: 'app',
133
138
  description: 'Generate a new application within a monorepo',
134
139
  },
135
- {
136
- name: 'resource',
137
- alias: 'res',
138
- description: 'Generate a new CRUD resource',
139
- },
140
140
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/cli",
3
- "version": "9.2.0",
3
+ "version": "9.3.0",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@cli)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -38,58 +38,52 @@
38
38
  },
39
39
  "homepage": "https://github.com/nestjs/nest-cli#readme",
40
40
  "dependencies": {
41
- "@angular-devkit/core": "15.1.4",
42
- "@angular-devkit/schematics": "15.1.4",
43
- "@angular-devkit/schematics-cli": "15.1.4",
44
- "@nestjs/schematics": "^9.0.0",
45
- "chalk": "3.0.0",
41
+ "@angular-devkit/core": "15.2.4",
42
+ "@angular-devkit/schematics": "15.2.4",
43
+ "@angular-devkit/schematics-cli": "15.2.4",
44
+ "@nestjs/schematics": "^9.0.4",
45
+ "chalk": "4.1.2",
46
46
  "chokidar": "3.5.3",
47
47
  "cli-table3": "0.6.3",
48
48
  "commander": "4.1.1",
49
- "fork-ts-checker-webpack-plugin": "7.3.0",
50
- "inquirer": "7.3.3",
49
+ "fork-ts-checker-webpack-plugin": "8.0.0",
50
+ "inquirer": "8.2.5",
51
51
  "node-emoji": "1.11.0",
52
52
  "ora": "5.4.1",
53
53
  "os-name": "4.0.1",
54
- "rimraf": "4.1.2",
54
+ "rimraf": "4.4.0",
55
55
  "shelljs": "0.8.5",
56
56
  "source-map-support": "0.5.21",
57
57
  "tree-kill": "1.2.2",
58
58
  "tsconfig-paths": "4.1.2",
59
- "tsconfig-paths-webpack-plugin": "4.0.0",
59
+ "tsconfig-paths-webpack-plugin": "4.0.1",
60
60
  "typescript": "4.9.5",
61
- "webpack": "5.75.0",
61
+ "webpack": "5.76.2",
62
62
  "webpack-node-externals": "3.0.0"
63
63
  },
64
64
  "devDependencies": {
65
- "@commitlint/cli": "17.4.2",
66
- "@commitlint/config-angular": "17.4.2",
67
- "@types/copyfiles": "2.4.1",
68
- "@types/inquirer": "8.2.5",
69
- "@types/jest": "29.4.0",
70
- "@types/node": "18.11.18",
65
+ "@commitlint/cli": "17.4.4",
66
+ "@commitlint/config-angular": "17.4.4",
67
+ "@types/inquirer": "8.2.6",
68
+ "@types/jest": "29.5.0",
69
+ "@types/node": "18.15.3",
71
70
  "@types/node-emoji": "1.8.2",
72
- "@types/ora": "3.2.0",
73
- "@types/os-name": "3.1.0",
74
- "@types/rimraf": "3.0.2",
75
71
  "@types/shelljs": "0.8.11",
76
- "@types/webpack-node-externals": "2.5.3",
77
- "@typescript-eslint/eslint-plugin": "5.50.0",
78
- "@typescript-eslint/parser": "5.50.0",
72
+ "@types/webpack-node-externals": "3.0.0",
73
+ "@typescript-eslint/eslint-plugin": "5.55.0",
74
+ "@typescript-eslint/parser": "5.55.0",
79
75
  "delete-empty": "3.0.0",
80
- "eslint": "8.33.0",
81
- "eslint-config-prettier": "8.6.0",
82
- "eslint-plugin-import": "2.27.5",
76
+ "eslint": "8.36.0",
77
+ "eslint-config-prettier": "8.7.0",
83
78
  "gulp": "4.0.2",
84
79
  "gulp-clean": "0.4.0",
85
80
  "husky": "8.0.3",
86
- "jest": "29.4.1",
87
- "lint-staged": "13.1.0",
88
- "prettier": "2.8.3",
89
- "release-it": "15.6.0",
81
+ "jest": "29.5.0",
82
+ "lint-staged": "13.2.0",
83
+ "prettier": "2.8.4",
84
+ "release-it": "15.9.0",
90
85
  "ts-jest": "29.0.5",
91
- "ts-loader": "9.4.2",
92
- "ts-node": "10.9.1"
86
+ "ts-loader": "9.4.2"
93
87
  },
94
88
  "lint-staged": {
95
89
  "**/*.{ts,json}": []