diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic')
6 files changed, 0 insertions, 114 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/executor.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/executor.d.ts deleted file mode 100644 index f445760e..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/executor.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -import { TaskExecutor } from '../../src'; -import { RunSchematicTaskOptions } from './options'; -export default function (): TaskExecutor<RunSchematicTaskOptions<{}>>; diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/executor.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/executor.js deleted file mode 100644 index 9b93e152..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/executor.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -Object.defineProperty(exports, "__esModule", { value: true }); -function default_1() { - return (options, context) => { - if (!(options === null || options === void 0 ? void 0 : options.name)) { - throw new Error('RunSchematicTask requires an options object with a non-empty name property.'); - } - const maybeWorkflow = context.engine.workflow; - const collection = options.collection || context.schematic.collection.description.name; - if (!maybeWorkflow) { - throw new Error('Need Workflow to support executing schematics as post tasks.'); - } - return maybeWorkflow.execute({ - collection: collection, - schematic: options.name, - options: options.options, - // Allow private when calling from the same collection. - allowPrivate: collection == context.schematic.collection.description.name, - }); - }; -} -exports.default = default_1; diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/options.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/options.d.ts deleted file mode 100644 index 1dca95da..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/options.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -export declare const RunSchematicName = "run-schematic"; -export interface RunSchematicTaskOptions<T> { - collection: string | null; - name: string; - options: T; -} diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/options.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/options.js deleted file mode 100644 index d77ec6a6..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/options.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.RunSchematicName = void 0; -exports.RunSchematicName = 'run-schematic'; diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/task.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/task.d.ts deleted file mode 100644 index 2ff0e5bf..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/task.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -import { TaskConfiguration, TaskConfigurationGenerator } from '../../src'; -import { RunSchematicTaskOptions } from './options'; -export declare class RunSchematicTask<T> implements TaskConfigurationGenerator<RunSchematicTaskOptions<T>> { - protected _collection: string | null; - protected _schematic: string; - protected _options: T; - constructor(s: string, o: T); - constructor(c: string, s: string, o: T); - toConfiguration(): TaskConfiguration<RunSchematicTaskOptions<T>>; -} diff --git a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/task.js b/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/task.js deleted file mode 100644 index 595848b5..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@angular-devkit/schematics/tasks/run-schematic/task.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -Object.defineProperty(exports, "__esModule", { value: true }); -exports.RunSchematicTask = void 0; -const options_1 = require("./options"); -class RunSchematicTask { - constructor(c, s, o) { - if (arguments.length == 2 || typeof s !== 'string') { - o = s; - s = c; - c = null; - } - this._collection = c; - this._schematic = s; - this._options = o; - } - toConfiguration() { - return { - name: options_1.RunSchematicName, - options: { - collection: this._collection, - name: this._schematic, - options: this._options, - }, - }; - } -} -exports.RunSchematicTask = RunSchematicTask; |