1
0
mirror of https://github.com/flarum/core.git synced 2025-08-12 11:24:30 +02:00

chore: flarum-cli audit infra --fix

This commit is contained in:
Alexander Skvortsov
2022-03-11 18:02:51 -05:00
parent 693da58c41
commit 5fc0b4963a
96 changed files with 793 additions and 62 deletions

View File

@@ -21,8 +21,9 @@
"ci": "yarn install --immutable --immutable-cache",
"analyze": "cross-env ANALYZER=true yarn run build",
"clean-typings": "npx rimraf dist-typings && mkdir dist-typings",
"build-typings": "yarn run clean-typings && tsc && [ -e src/@types ] && cp -r src/@types dist-typings/@types",
"build-typings": "yarn run clean-typings && [ -e src/@types ] && cp -r src/@types dist-typings/@types && tsc && yarn run post-build-typings",
"check-typings": "tsc --noEmit --emitDeclarationOnly false",
"check-typings-coverage": "typescript-coverage-report"
"check-typings-coverage": "typescript-coverage-report",
"post-build-typings": "find dist-typings -type f -name '*.d.ts' -print0 | xargs -0 sed -i 's,../src/@types,@types,g'"
}
}