UNPKG

@o3r/schematics

Version:

Schematics module of the Otter framework

26 lines 974 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NodePackageLinkTask = void 0; const options_1 = require("@angular-devkit/schematics/tasks/package-manager/options"); const package_manager_runner_1 = require("../../utility/package-manager-runner"); class NodePackageLinkTask { constructor(packageName, workingDirectory) { this.packageName = packageName; this.workingDirectory = workingDirectory; this.quiet = true; } toConfiguration() { return { name: options_1.NodePackageName, options: { command: 'link', quiet: this.quiet, workingDirectory: this.workingDirectory, packageName: `link ${this.packageName}`, packageManager: (0, package_manager_runner_1.getPackageManager)() } }; } } exports.NodePackageLinkTask = NodePackageLinkTask; //# sourceMappingURL=index.js.map