mirror of
https://github.com/flarum/core.git
synced 2025-08-05 16:07:34 +02:00
chore: flarum-cli audit infra --fix
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||||
|
2
.github/workflows/frontend.yml
vendored
2
.github/workflows/frontend.yml
vendored
@@ -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:
|
||||||
|
@@ -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"
|
||||||
}
|
}
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user