From e23ac5d51c29c52e17f40469ea8364fdcffcbbc2 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Thu, 20 Jan 2022 03:06:25 -0500 Subject: [PATCH] chore: flarum-cli audit infra --fix --- extensions/akismet/.github/workflows/frontend.yml | 3 ++- extensions/akismet/composer.json | 3 ++- extensions/akismet/js/package.json | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/extensions/akismet/.github/workflows/frontend.yml b/extensions/akismet/.github/workflows/frontend.yml index 324e3cc9b..45c869f58 100644 --- a/extensions/akismet/.github/workflows/frontend.yml +++ b/extensions/akismet/.github/workflows/frontend.yml @@ -15,6 +15,7 @@ jobs: enable_typescript: true frontend_directory: ./js - main_git_branch: main + main_git_branch: master + secrets: bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} \ No newline at end of file diff --git a/extensions/akismet/composer.json b/extensions/akismet/composer.json index bfbc3a7e2..4458368ec 100644 --- a/extensions/akismet/composer.json +++ b/extensions/akismet/composer.json @@ -55,7 +55,8 @@ "editorConfig": true, "styleci": true, "admin": true, - "forum": true + "forum": true, + "css": false } } }, diff --git a/extensions/akismet/js/package.json b/extensions/akismet/js/package.json index 4f5e49831..af5e399fc 100644 --- a/extensions/akismet/js/package.json +++ b/extensions/akismet/js/package.json @@ -9,7 +9,9 @@ "format": "prettier --write src", "format-check": "prettier --check src", "check-typings": "tsc --noEmit --emitDeclarationOnly false", - "check-typings-coverage": "typescript-coverage-report" + "check-typings-coverage": "typescript-coverage-report", + "clean-typings": "npx rimraf dist-typings && mkdir dist-typings", + "build-typings": "npm run clean-typings && cp -r src/@types dist-typings/@types && tsc" }, "devDependencies": { "@flarum/prettier-config": "^1.0.0",