chore: flarum-cli audit infra --fix

This commit is contained in:
Alexander Skvortsov 2022-01-27 16:45:10 -05:00
parent e9e0556d27
commit b0395b3eb7
5 changed files with 10 additions and 5 deletions

View File

@ -14,5 +14,6 @@ js/dist/* -diff
js/dist/* linguist-generated js/dist/* linguist-generated
js/dist-typings/* linguist-generated js/dist-typings/* linguist-generated
js/yarn.lock -diff js/yarn.lock -diff
js/package-lock.json -diff
* text=auto eol=lf * text=auto eol=lf

View File

@ -15,6 +15,8 @@ jobs:
enable_typescript: true enable_typescript: true
frontend_directory: ./js frontend_directory: ./js
backend_directory: .
js_package_manager: yarn
main_git_branch: master main_git_branch: master
secrets: secrets:

View File

@ -39,13 +39,14 @@
"scripts": { "scripts": {
"dev": "webpack --mode development --watch", "dev": "webpack --mode development --watch",
"build": "webpack --mode production", "build": "webpack --mode production",
"analyze": "cross-env ANALYZER=true yarn build", "analyze": "cross-env ANALYZER=true yarn run build",
"format": "prettier --write src", "format": "prettier --write src",
"format-check": "prettier --check src", "format-check": "prettier --check src",
"clean-typings": "npx rimraf dist-typings && mkdir dist-typings", "clean-typings": "npx rimraf dist-typings && mkdir dist-typings",
"build-typings": "npm run clean-typings && tsc && [ -e src/@types ] && cp -r src/@types dist-typings/@types", "build-typings": "yarn run clean-typings && tsc && [ -e src/@types ] && cp -r src/@types dist-typings/@types",
"check-typings": "tsc --noEmit --emitDeclarationOnly false", "check-typings": "tsc --noEmit --emitDeclarationOnly false",
"check-typings-coverage": "typescript-coverage-report" "check-typings-coverage": "typescript-coverage-report",
"ci": "yarn install --immutable --immutable-cache"
}, },
"packageManager": "yarn@3.1.1" "packageManager": "yarn@3.1.1"
} }

View File

@ -19,6 +19,7 @@
<testsuites> <testsuites>
<testsuite name="Flarum Integration Tests"> <testsuite name="Flarum Integration Tests">
<directory suffix="Test.php">./integration</directory> <directory suffix="Test.php">./integration</directory>
<exclude>./integration/tmp</exclude>
</testsuite> </testsuite>
</testsuites> </testsuites>
</phpunit> </phpunit>