Skip to content

Commit

Permalink
chore: frontend refactor (#32)
Browse files Browse the repository at this point in the history
* chore: target `1.x` workflows

* chore: switch to `yarn`

* chore: update tsconfig

* refactor: change file colocation

* chore: raise core minimum

* refactor: use frontend extenders

* feat: add shims

* chore: typescript refactor

* chore: change typings, convert to Date
  • Loading branch information
DavideIadeluca authored Oct 21, 2024
1 parent ad749e4 commit ae293f7
Show file tree
Hide file tree
Showing 16 changed files with 2,228 additions and 6,268 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [workflow_dispatch, push, pull_request]

jobs:
run:
uses: flarum/framework/.github/workflows/REUSABLE_backend.yml@main
uses: flarum/framework/.github/workflows/REUSABLE_backend.yml@1.x
with:
enable_backend_testing: false
enable_phpstan: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ on: [workflow_dispatch, push, pull_request]

jobs:
run:
uses: flarum/framework/.github/workflows/REUSABLE_frontend.yml@main
uses: flarum/framework/.github/workflows/REUSABLE_frontend.yml@1.x
with:
enable_bundlewatch: false
enable_prettier: true
enable_typescript: true

frontend_directory: ./js
backend_directory: .
js_package_manager: npm
js_package_manager: yarn
main_git_branch: master

secrets:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
],
"require": {
"php": "^7.4 || ^8.0",
"flarum/core": "^1.2.0"
"flarum/core": "^1.7.0"
},
"authors": [
{
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit ae293f7

Please sign in to comment.