(options: { output?: string }, schemaFile: string)
| 173 | } |
| 174 | |
| 175 | export function getOutputPath(options: { output?: string }, schemaFile: string) { |
| 176 | if (options.output) { |
| 177 | return options.output; |
| 178 | } |
| 179 | const pkgJsonConfig = getPkgJsonConfig(process.cwd()); |
| 180 | if (pkgJsonConfig.output) { |
| 181 | return pkgJsonConfig.output; |
| 182 | } else { |
| 183 | return path.dirname(schemaFile); |
| 184 | } |
| 185 | } |
| 186 | export async function getZenStackPackages( |
| 187 | searchPath: string, |
| 188 | ): Promise<Array<{ pkg: string; version: string | undefined }>> { |
no test coverage detected