@angular-devkit/schematics 11.1.0-next.2 → 11.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-devkit/schematics",
3
- "version": "11.1.0-next.2",
3
+ "version": "11.1.0",
4
4
  "description": "Angular Schematics - Library",
5
5
  "main": "src/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "schematics"
19
19
  ],
20
20
  "dependencies": {
21
- "@angular-devkit/core": "11.1.0-next.2",
22
- "ora": "5.1.0",
21
+ "@angular-devkit/core": "11.1.0",
22
+ "ora": "5.2.0",
23
23
  "rxjs": "6.6.3"
24
24
  },
25
25
  "repository": {
@@ -7,12 +7,12 @@
7
7
  */
8
8
  import { TaskConfiguration, TaskConfigurationGenerator } from '../../src';
9
9
  import { NodePackageTaskOptions } from './options';
10
- export declare class NodePackageInstallTaskOptions {
11
- packageManager: string;
12
- packageName: string;
13
- workingDirectory: string;
14
- quiet: boolean;
15
- hideOutput: boolean;
10
+ interface NodePackageInstallTaskOptions {
11
+ packageManager?: string;
12
+ packageName?: string;
13
+ workingDirectory?: string;
14
+ quiet?: boolean;
15
+ hideOutput?: boolean;
16
16
  }
17
17
  export declare class NodePackageInstallTask implements TaskConfigurationGenerator<NodePackageTaskOptions> {
18
18
  quiet: boolean;
@@ -21,6 +21,7 @@ export declare class NodePackageInstallTask implements TaskConfigurationGenerato
21
21
  packageManager?: string;
22
22
  packageName?: string;
23
23
  constructor(workingDirectory?: string);
24
- constructor(options: Partial<NodePackageInstallTaskOptions>);
24
+ constructor(options: NodePackageInstallTaskOptions);
25
25
  toConfiguration(): TaskConfiguration<NodePackageTaskOptions>;
26
26
  }
27
+ export {};
@@ -1,11 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NodePackageInstallTask = exports.NodePackageInstallTaskOptions = void 0;
3
+ exports.NodePackageInstallTask = void 0;
4
4
  const options_1 = require("./options");
5
- // TODO: This should be an interface but that would change the public API
6
- class NodePackageInstallTaskOptions {
7
- }
8
- exports.NodePackageInstallTaskOptions = NodePackageInstallTaskOptions;
9
5
  class NodePackageInstallTask {
10
6
  constructor(options) {
11
7
  this.quiet = true;