Primeiro commit do projeto Angular
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* @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.dev/license
|
||||
*/
|
||||
import { TaskExecutorFactory } from '../../src';
|
||||
import { NodePackageTaskFactoryOptions } from '../package-manager/options';
|
||||
import { RepositoryInitializerTaskFactoryOptions } from '../repo-init/options';
|
||||
export declare class BuiltinTaskExecutor {
|
||||
static readonly NodePackage: TaskExecutorFactory<NodePackageTaskFactoryOptions>;
|
||||
static readonly RepositoryInitializer: TaskExecutorFactory<RepositoryInitializerTaskFactoryOptions>;
|
||||
static readonly RunSchematic: TaskExecutorFactory<{}>;
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
"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.dev/license
|
||||
*/
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BuiltinTaskExecutor = void 0;
|
||||
const executor_1 = __importDefault(require("../package-manager/executor"));
|
||||
const options_1 = require("../package-manager/options");
|
||||
const executor_2 = __importDefault(require("../repo-init/executor"));
|
||||
const options_2 = require("../repo-init/options");
|
||||
const executor_3 = __importDefault(require("../run-schematic/executor"));
|
||||
const options_3 = require("../run-schematic/options");
|
||||
class BuiltinTaskExecutor {
|
||||
static NodePackage = {
|
||||
name: options_1.NodePackageName,
|
||||
create: async (options) => (0, executor_1.default)(options),
|
||||
};
|
||||
static RepositoryInitializer = {
|
||||
name: options_2.RepositoryInitializerName,
|
||||
create: async (options) => (0, executor_2.default)(options),
|
||||
};
|
||||
static RunSchematic = {
|
||||
name: options_3.RunSchematicName,
|
||||
create: async () => (0, executor_3.default)(),
|
||||
};
|
||||
}
|
||||
exports.BuiltinTaskExecutor = BuiltinTaskExecutor;
|
||||
//# sourceMappingURL=index.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;AAGH,2EAA8D;AAC9D,wDAA4F;AAC5F,qEAAkE;AAClE,kDAG8B;AAC9B,yEAA6D;AAC7D,sDAA4D;AAE5D,MAAa,mBAAmB;IAC9B,MAAM,CAAU,WAAW,GAAuD;QAChF,IAAI,EAAE,yBAAe;QACrB,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,CAAC,IAAA,kBAAmB,EAAC,OAAO,CAAqB;KAC5E,CAAC;IACF,MAAM,CAAU,qBAAqB,GACnC;QACE,IAAI,EAAE,mCAAyB;QAC/B,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,CAAC,IAAA,kBAA6B,EAAC,OAAO,CAAqB;KACtF,CAAC;IACJ,MAAM,CAAU,YAAY,GAA4B;QACtD,IAAI,EAAE,0BAAgB;QACtB,MAAM,EAAE,KAAK,IAAI,EAAE,CAAC,IAAA,kBAAoB,GAAsB;KAC/D,CAAC;;AAbJ,kDAcC"}
|
||||
Reference in New Issue
Block a user