UNPKG

@nxext/stencil

Version:

Nx plugin for stenciljs

17 lines 728 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addCypress = addCypress; const tslib_1 = require("tslib"); const devkit_1 = require("@nx/devkit"); function addCypress(host, options) { return tslib_1.__awaiter(this, void 0, void 0, function* () { if (options.e2eTestRunner !== 'cypress') { // eslint-disable-next-line @typescript-eslint/no-empty-function return () => { }; } yield (0, devkit_1.ensurePackage)('@nx/cypress', devkit_1.NX_VERSION); const generators = yield Promise.resolve().then(() => require('@nx/cypress')); return generators.cypressInitGenerator(host, {}); }); } //# sourceMappingURL=add-cypress.js.map