1
0
mirror of https://github.com/flarum/core.git synced 2025-08-23 16:43:21 +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

@@ -78,10 +78,12 @@
"require-dev": {
"flarum/testing": "^1.0.0"
},
"repositories": [{
"repositories": [
{
"type": "path",
"url": "../../*/*"
}],
}
],
"minimum-stability": "dev",
"prefer-stable": true
}

View File

@@ -23,9 +23,10 @@
"format-check": "prettier --check src",
"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",
"ci": "yarn install --immutable --immutable-cache"
"ci": "yarn install --immutable --immutable-cache",
"post-build-typings": "find dist-typings -type f -name '*.d.ts' -print0 | xargs -0 sed -i 's,../src/@types,@types,g'"
}
}