Skip to content

Commit

Permalink
Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
datlechin committed Aug 26, 2023
1 parent 89a264f commit c3f13b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 23 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/backend.yml

This file was deleted.

4 changes: 1 addition & 3 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ jobs:
with:
enable_bundlewatch: false
enable_prettier: true
enable_typescript: true
enable_typescript: false

frontend_directory: ./js
backend_directory: .
js_package_manager: npm
main_git_branch: main
secrets:
bundlewatch_github_token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
11 changes: 2 additions & 9 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,13 @@
"prettier": "^2.5.1",
"@flarum/prettier-config": "^1.0.0",
"flarum-tsconfig": "^1.0.2",
"typescript": "^4.5.4",
"typescript-coverage-report": "^0.6.1"
"typescript": "^4.5.4"
},
"scripts": {
"dev": "webpack --mode development --watch",
"build": "webpack --mode production",
"analyze": "cross-env ANALYZER=true npm run build",
"format": "prettier --write src",
"format-check": "prettier --check src",
"clean-typings": "npx rimraf dist-typings && mkdir dist-typings",
"build-typings": "npm run clean-typings && ([ -e src/@types ] && cp -r src/@types dist-typings/@types || true) && tsc && npm run post-build-typings",
"post-build-typings": "find dist-typings -type f -name '*.d.ts' -print0 | xargs -0 sed -i 's,../src/@types,@types,g'",
"check-typings": "tsc --noEmit --emitDeclarationOnly false",
"check-typings-coverage": "typescript-coverage-report"
"format-check": "prettier --check src"
},
"prettier": "@flarum/prettier-config"
}

0 comments on commit c3f13b8

Please sign in to comment.