MCPcopy
hub / github.com/ampproject/amphtml / updateBuildSystemSubpackages

Function updateBuildSystemSubpackages

build-system/tasks/check-build-system.js:12–18  ·  view source on GitHub ↗

* Helper that updates build-system subpackages so their types can be verified. * Skips npm checks during CI (already done while running each task).

()

Source from the content-addressed store, hash-verified

10 * Skips npm checks during CI (already done while running each task).
11 */
12function updateBuildSystemSubpackages() {
13 const packageFiles = fastGlob.sync('build-system/tasks/*/package.json');
14 for (const packageFile of packageFiles) {
15 const packageDir = path.dirname(packageFile);
16 updateSubpackages(packageDir, /* skipNpmChecks */ true);
17 }
18}
19
20/**
21 * Performs type checking on the /build-system directory using TypeScript.

Callers 1

checkBuildSystemFunction · 0.85

Calls 2

updateSubpackagesFunction · 0.85
syncMethod · 0.80

Tested by

no test coverage detected