@angular-devkit/schematics-cli 12.1.0-next.4 → 12.1.1

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.
package/bin/schematics.js CHANGED
@@ -7,6 +7,28 @@
7
7
  * Use of this source code is governed by an MIT-style license that can be
8
8
  * found in the LICENSE file at https://angular.io/license
9
9
  */
10
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
13
+ }) : (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ o[k2] = m[k];
16
+ }));
17
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
18
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
19
+ }) : function(o, v) {
20
+ o["default"] = v;
21
+ });
22
+ var __importStar = (this && this.__importStar) || function (mod) {
23
+ if (mod && mod.__esModule) return mod;
24
+ var result = {};
25
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
26
+ __setModuleDefault(result, mod);
27
+ return result;
28
+ };
29
+ var __importDefault = (this && this.__importDefault) || function (mod) {
30
+ return (mod && mod.__esModule) ? mod : { "default": mod };
31
+ };
10
32
  Object.defineProperty(exports, "__esModule", { value: true });
11
33
  exports.main = void 0;
12
34
  // symbol polyfill must go first
@@ -15,9 +37,9 @@ const core_1 = require("@angular-devkit/core");
15
37
  const node_1 = require("@angular-devkit/core/node");
16
38
  const schematics_1 = require("@angular-devkit/schematics");
17
39
  const tools_1 = require("@angular-devkit/schematics/tools");
18
- const ansiColors = require("ansi-colors");
19
- const inquirer = require("inquirer");
20
- const minimist = require("minimist");
40
+ const ansiColors = __importStar(require("ansi-colors"));
41
+ const inquirer = __importStar(require("inquirer"));
42
+ const minimist_1 = __importDefault(require("minimist"));
21
43
  /**
22
44
  * Parse the name of schematic passed in argument, and return a {collection, schematic} named
23
45
  * tuple. The user can pass in `collection-name:schematic-name`, and this function will either
@@ -199,7 +221,7 @@ async function main({ args, stdout = process.stdout, stderr = process.stderr, })
199
221
  /**
200
222
  * Add options from `--` to args.
201
223
  */
202
- const argv2 = minimist(argv['--']);
224
+ const argv2 = minimist_1.default(argv['--']);
203
225
  for (const key of Object.keys(argv2)) {
204
226
  parsedArgs[key] = argv2[key];
205
227
  }
@@ -307,7 +329,7 @@ const booleanArgs = [
307
329
  'interactive',
308
330
  ];
309
331
  function parseArgs(args) {
310
- return minimist(args, {
332
+ return minimist_1.default(args, {
311
333
  boolean: booleanArgs,
312
334
  alias: {
313
335
  'dryRun': 'dry-run',
@@ -15,7 +15,7 @@
15
15
  "dependencies": {
16
16
  "@angular-devkit/core": "^<%= coreVersion %>",
17
17
  "@angular-devkit/schematics": "^<%= schematicsVersion %>",
18
- "typescript": "~4.1.2"
18
+ "typescript": "~4.3.2"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "^12.11.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-devkit/schematics-cli",
3
- "version": "12.1.0-next.4",
3
+ "version": "12.1.1",
4
4
  "description": "Angular Schematics - CLI",
5
5
  "homepage": "https://github.com/angular/angular-cli",
6
6
  "bin": {
@@ -21,10 +21,10 @@
21
21
  ],
22
22
  "schematics": "./collection.json",
23
23
  "dependencies": {
24
- "@angular-devkit/core": "12.1.0-next.4",
25
- "@angular-devkit/schematics": "12.1.0-next.4",
24
+ "@angular-devkit/core": "12.1.1",
25
+ "@angular-devkit/schematics": "12.1.1",
26
26
  "ansi-colors": "4.1.1",
27
- "inquirer": "8.1.0",
27
+ "inquirer": "8.1.1",
28
28
  "minimist": "1.2.5",
29
29
  "symbol-observable": "4.0.0"
30
30
  },
@@ -15,7 +15,7 @@
15
15
  "dependencies": {
16
16
  "@angular-devkit/core": "^<%= coreVersion %>",
17
17
  "@angular-devkit/schematics": "^<%= schematicsVersion %>",
18
- "typescript": "~4.2.3"
18
+ "typescript": "~4.3.2"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "^12.11.1",