[6a3a178] | 1 | "use strict";
|
---|
| 2 | /**
|
---|
| 3 | * @license
|
---|
| 4 | * Copyright Google LLC All Rights Reserved.
|
---|
| 5 | *
|
---|
| 6 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 7 | * found in the LICENSE file at https://angular.io/license
|
---|
| 8 | */
|
---|
| 9 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
---|
| 10 | if (k2 === undefined) k2 = k;
|
---|
| 11 | Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
---|
| 12 | }) : (function(o, m, k, k2) {
|
---|
| 13 | if (k2 === undefined) k2 = k;
|
---|
| 14 | o[k2] = m[k];
|
---|
| 15 | }));
|
---|
| 16 | var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
---|
| 17 | Object.defineProperty(o, "default", { enumerable: true, value: v });
|
---|
| 18 | }) : function(o, v) {
|
---|
| 19 | o["default"] = v;
|
---|
| 20 | });
|
---|
| 21 | var __importStar = (this && this.__importStar) || function (mod) {
|
---|
| 22 | if (mod && mod.__esModule) return mod;
|
---|
| 23 | var result = {};
|
---|
| 24 | if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
---|
| 25 | __setModuleDefault(result, mod);
|
---|
| 26 | return result;
|
---|
| 27 | };
|
---|
| 28 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 29 | exports.BuiltinTaskExecutor = void 0;
|
---|
| 30 | const options_1 = require("../package-manager/options");
|
---|
| 31 | const options_2 = require("../repo-init/options");
|
---|
| 32 | const options_3 = require("../run-schematic/options");
|
---|
| 33 | const options_4 = require("../tslint-fix/options");
|
---|
| 34 | class BuiltinTaskExecutor {
|
---|
| 35 | }
|
---|
| 36 | exports.BuiltinTaskExecutor = BuiltinTaskExecutor;
|
---|
| 37 | BuiltinTaskExecutor.NodePackage = {
|
---|
| 38 | name: options_1.NodePackageName,
|
---|
| 39 | create: (options) => Promise.resolve().then(() => __importStar(require('../package-manager/executor'))).then((mod) => mod.default(options)),
|
---|
| 40 | };
|
---|
| 41 | BuiltinTaskExecutor.RepositoryInitializer = {
|
---|
| 42 | name: options_2.RepositoryInitializerName,
|
---|
| 43 | create: (options) => Promise.resolve().then(() => __importStar(require('../repo-init/executor'))).then((mod) => mod.default(options)),
|
---|
| 44 | };
|
---|
| 45 | BuiltinTaskExecutor.RunSchematic = {
|
---|
| 46 | name: options_3.RunSchematicName,
|
---|
| 47 | create: () => Promise.resolve().then(() => __importStar(require('../run-schematic/executor'))).then((mod) => mod.default()),
|
---|
| 48 | };
|
---|
| 49 | /** @deprecated since version 11. Use `ng lint --fix` directly instead. */
|
---|
| 50 | BuiltinTaskExecutor.TslintFix = {
|
---|
| 51 | name: options_4.TslintFixName,
|
---|
| 52 | create: () => Promise.resolve().then(() => __importStar(require('../tslint-fix/executor'))).then((mod) => mod.default()),
|
---|
| 53 | };
|
---|