UNPKG

@nx/expo

Version:

The Expo Plugin for Nx contains executors and generators for managing and developing an expo application within your workspace. For example, you can directly build for different target platforms as well as generate projects and publish your code.

21 lines (20 loc) 775 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.processSubmitOptions = processSubmitOptions; const process_generic_options_1 = require("./process-generic-options"); function processSubmitOptions(tree, options, projectName, projectRoot, migrationLogs) { const args = []; if ('interactive' in options && options.interactive === false) { args.push('--non-interactive'); delete options.interactive; } if ('wait' in options) { if (options.wait) args.push('--wait'); else args.push('--no-wait'); delete options.wait; } options.args = args; (0, process_generic_options_1.processGenericOptions)(tree, options, projectName, projectRoot, migrationLogs); }