(outputDir)
| 179 | } |
| 180 | |
| 181 | async function generateTypeDefs(outputDir) { |
| 182 | const result = spawn.sync( |
| 183 | resolveBin('typescript', {executable: 'tsc'}), |
| 184 | // prettier-ignore |
| 185 | [ |
| 186 | '--declaration', |
| 187 | '--emitDeclarationOnly', |
| 188 | '--noEmit', 'false', |
| 189 | '--outDir', outputDir, |
| 190 | ], |
| 191 | {stdio: 'inherit'}, |
| 192 | ) |
| 193 | if (result.status !== 0) return result |
| 194 | |
| 195 | await cpy('**/*.d.ts', '../dist', {cwd: fromRoot('src'), parents: true}) |
| 196 | return result |
| 197 | } |
| 198 | |
| 199 | function getRollupInputs() { |
| 200 | const buildInputGlob = |
nothing calls this directly
no test coverage detected
searching dependent graphs…