MCPcopy
hub / github.com/angular/angular / main

Function main

adev/scripts/update-cross-repo-docs/index.mjs:13–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11import {updateAssets} from './update-assets.mjs';
12
13async function main() {
14 await updateAssets({
15 repo: 'angular/aria-builds',
16 assetsPath: '_adev_assets',
17 destPath: join(import.meta.dirname, '../../src/content/aria'),
18 });
19
20 await updateAssets({
21 repo: 'angular/cdk-builds',
22 assetsPath: '_adev_assets',
23 destPath: join(import.meta.dirname, '../../src/content/cdk'),
24 });
25
26 await updateAssets({
27 repo: 'angular/cli-builds',
28 assetsPath: 'help',
29 destPath: join(import.meta.dirname, '../../src/content/cli'),
30 });
31
32 console.log('\n-----------------------------------------------');
33 console.log('Change list');
34 console.log('-----------------------------------------------\n');
35 execSync(`git status --porcelain`, {stdio: 'inherit'});
36}
37
38main().catch((err) => {
39 console.error(err);

Callers 1

index.mjsFile · 0.70

Calls 3

updateAssetsFunction · 0.90
joinFunction · 0.85
logMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…