()
| 130 | } |
| 131 | |
| 132 | async function getBundlerOptions() { |
| 133 | let includeParams = [] |
| 134 | |
| 135 | if (versions) { |
| 136 | includeParams = versions |
| 137 | } |
| 138 | if (includeUnpublished) { |
| 139 | includeParams.push('--include_unpublished') |
| 140 | } |
| 141 | if (includeDeprecated) { |
| 142 | includeParams.push('--include_deprecated') |
| 143 | } |
| 144 | |
| 145 | return includeParams.join(' ') |
| 146 | } |
| 147 | |
| 148 | async function validateInputParameters() { |
| 149 | // The `--versions` and `--decorate-only` options cannot be used |