Primeiro commit do projeto Angular
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @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 { MissingTargetChoice } from '../../command-builder/architect-base-command-module';
|
||||
import { ArchitectCommandModule } from '../../command-builder/architect-command-module';
|
||||
import { CommandModuleImplementation } from '../../command-builder/command-module';
|
||||
export default class E2eCommandModule extends ArchitectCommandModule implements CommandModuleImplementation {
|
||||
missingTargetChoices: MissingTargetChoice[];
|
||||
multiTarget: boolean;
|
||||
command: string;
|
||||
aliases: string[] | undefined;
|
||||
describe: string;
|
||||
longDescriptionPath?: string;
|
||||
}
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
"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
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const architect_command_module_1 = require("../../command-builder/architect-command-module");
|
||||
const command_config_1 = require("../command-config");
|
||||
class E2eCommandModule extends architect_command_module_1.ArchitectCommandModule {
|
||||
missingTargetChoices = [
|
||||
{
|
||||
name: 'Playwright',
|
||||
value: 'playwright-ng-schematics',
|
||||
},
|
||||
{
|
||||
name: 'Cypress',
|
||||
value: '@cypress/schematic',
|
||||
},
|
||||
{
|
||||
name: 'Nightwatch',
|
||||
value: '@nightwatch/schematics',
|
||||
},
|
||||
{
|
||||
name: 'WebdriverIO',
|
||||
value: '@wdio/schematics',
|
||||
},
|
||||
{
|
||||
name: 'Puppeteer',
|
||||
value: '@puppeteer/ng-schematics',
|
||||
},
|
||||
];
|
||||
multiTarget = true;
|
||||
command = 'e2e [project]';
|
||||
aliases = command_config_1.RootCommands['e2e'].aliases;
|
||||
describe = 'Builds and serves an Angular application, then runs end-to-end tests.';
|
||||
longDescriptionPath;
|
||||
}
|
||||
exports.default = E2eCommandModule;
|
||||
//# sourceMappingURL=cli.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"cli.js","sourceRoot":"","sources":["cli.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAGH,6FAAwF;AAExF,sDAAiD;AAEjD,MAAqB,gBACnB,SAAQ,iDAAsB;IAGrB,oBAAoB,GAA0B;QACrD;YACE,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,0BAA0B;SAClC;QACD;YACE,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,oBAAoB;SAC5B;QACD;YACE,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,wBAAwB;SAChC;QACD;YACE,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,kBAAkB;SAC1B;QACD;YACE,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,0BAA0B;SAClC;KACF,CAAC;IAEF,WAAW,GAAG,IAAI,CAAC;IACnB,OAAO,GAAG,eAAe,CAAC;IAC1B,OAAO,GAAG,6BAAY,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;IACtC,QAAQ,GAAG,uEAAuE,CAAC;IACnF,mBAAmB,CAAU;CAC9B;AAhCD,mCAgCC"}
|
||||
Reference in New Issue
Block a user