UNPKG

ngx-deploy-npm

Version:

Publish your libraries to NPM with just one command

23 lines 751 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = runExecutor; const tslib_1 = require("tslib"); const devkit_1 = require("@nx/devkit"); const actions_1 = require("./actions"); const engine = require("./engine/engine"); function runExecutor(options, context) { return tslib_1.__awaiter(this, void 0, void 0, function* () { try { yield (0, actions_1.default)(engine, context, options); } catch (e) { devkit_1.logger.error(e); devkit_1.logger.error('Error when trying to publish the library'); return { success: false }; } return { success: true, }; }); } //# sourceMappingURL=executor.js.map