/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
scripts/build/build-packages-dist.mts
24 строки
927 B
Charles Lyding
build: use Node.js built-in TypeScript support for dev-infra scripts
02 янв 2026, 10:15
02 янв 2026, 10:15
6758f93
Код
Авторство
О чём код?
#!/usr/bin/env node /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {buildAngularInMemoryWebApiPackage} from './angular-in-memory-web-api.mts'; import {performDefaultSnapshotBuild} from './package-builder.mts'; import {buildZoneJsPackage} from './zone-js-builder.mts'; // Build the legacy (view engine) npm packages into `dist/packages-dist/`. performDefaultSnapshotBuild(); // Build the `angular-in-memory-web-api` npm package into `dist/angular-in-memory-web-api-dist/`, // because it might be needed by other scripts/targets. buildAngularInMemoryWebApiPackage('dist/angular-in-memory-web-api-dist'); // Build the `zone.js` npm package into `dist/zone.js-dist/`, because it might be needed by other // scripts/tests. buildZoneJsPackage('dist/zone.js-dist');