2020-02-29 22:25:49 +02:00
|
|
|
#!/usr/bin/env node
|
2022-06-22 16:13:15 +00:00
|
|
|
|
2020-02-29 22:25:49 +02:00
|
|
|
/**
|
|
|
|
|
* @license
|
2020-05-19 12:08:49 -07:00
|
|
|
* Copyright Google LLC All Rights Reserved.
|
2020-02-29 22:25:49 +02:00
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
2024-09-20 09:23:15 -06:00
|
|
|
* found in the LICENSE file at https://angular.dev/license
|
2020-02-29 22:25:49 +02:00
|
|
|
*/
|
|
|
|
|
|
2022-06-22 16:13:15 +00:00
|
|
|
import {buildAngularInMemoryWebApiPackage} from './angular-in-memory-web-api.mjs';
|
|
|
|
|
import {performDefaultSnapshotBuild} from './package-builder.mjs';
|
|
|
|
|
import {buildZoneJsPackage} from './zone-js-builder.mjs';
|
2020-02-29 22:25:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// Build the legacy (view engine) npm packages into `dist/packages-dist/`.
|
2022-06-22 16:13:15 +00:00
|
|
|
performDefaultSnapshotBuild();
|
2020-02-29 22:25:49 +02:00
|
|
|
|
2021-04-05 19:05:54 +03:00
|
|
|
// 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');
|
2021-04-05 19:05:54 +03:00
|
|
|
|
2020-02-29 22:25:49 +02:00
|
|
|
// Build the `zone.js` npm package into `dist/zone.js-dist/`, because it might be needed by other
|
|
|
|
|
// scripts/tests.
|
2020-02-29 21:05:23 +02:00
|
|
|
buildZoneJsPackage('dist/zone.js-dist');
|