@saflib/monorepo
isAllowedRootTsFile(fileName, exportsMap?): boolean
fileName
exportsMap?
boolean
Root source file is allowed when allowlisted, or when package.json exports it ("." → ./main.ts, or ./<stem> → ./<stem>.ts).
package.json
"."
./main.ts
./<stem>
./<stem>.ts
string
Record
unknown