mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-11 13:52:19 +00:00
Add a --write mode to the package boundary check
`node scripts/check-package-boundaries.mjs --write` regenerates each group's module list in scripts/package-boundaries.json from what the group's build reaches: entries that own nothing reached are removed, newly reached modules are appended in sorted order, and the order of kept entries stays. The check without the flag is unchanged.
This commit is contained in:
1 parent
60fb8fee07
commit
f437c615a0
3 files changed
+293
-20
No files matched your search
@@ -59,6 +59,12 @@ See [application construction](APPLICATION.md) and the
|
||||
file under that directory. Unused imports still count. Node exports have only a `node`
|
||||
condition; browser groups cannot use build-only dependency exceptions.
|
||||
|
||||
Run `node scripts/check-package-boundaries.mjs --write` to regenerate each
|
||||
group's `modules` list in `scripts/package-boundaries.json`, retaining useful
|
||||
entries in order and appending newly reached paths in sorted order. The check
|
||||
without `--write` is unchanged and does not reject stale entries. Review the
|
||||
manifest diff like a lockfile diff before accepting changes to ownership.
|
||||
|
||||
Portable source graphs cannot reach application/rendering, Node, Cesium or
|
||||
browser globals. This includes `sources/*`, dedicated `layers/*/source` exports,
|
||||
flight/military/vessel record and ingestion exports, action schemas, the session
|
||||
|
||||
Reference in new issue
Block a user