import '../../../../globals.js';
// Copyright 2013-2025, University of Colorado Boulder

import getRepo from '../../../../perennial-alias/js/grunt/tasks/util/getRepo.js';
import { combineOptions } from '../../../../phet-core/js/optionize.js';
import transpile, { getTranspileCLIOptions, TranspileOptions } from '../../common/transpile.js';
import getPhetLibs from '../getPhetLibs.js';

/**
 * Outputs JS for the specified repo and its dependencies
 *
 * NOTE: We need to keep the name output-js-project because of maintenance tooling. This name should never change,
 * though SR and MK wish it was called "transpile-project".
 *
 * @author Sam Reid (PhET Interactive Simulations)
 * @author Michael Kauzmann (PhET Interactive Simulations)
 */

transpile( combineOptions<TranspileOptions>( {
  repos: getPhetLibs( getRepo() )
}, getTranspileCLIOptions() ) );