Commit graph

13900 commits

Author SHA1 Message Date
🏔️ Peak
e7349727a7
[v5.x] chore: upgrade all dependencies, configs and tooling (#7445) 2025-12-03 15:04:15 +01:00
peaklabs-dev
4e7f5d07d6
chore(tooling): add --ansi to phpstan composer script 2025-12-03 14:40:29 +01:00
peaklabs-dev
6abf9cff02
chore(tooling): improve phpstan config
- update rules to the latest Larastan and PHPStan version
- group rules with comments for easier updating in the future
- reorder rules and includes
2025-12-03 14:39:39 +01:00
peaklabs-dev
d57c876719
chore: add phpstan cache folder to .dockerignore and .gitignore 2025-12-03 14:35:55 +01:00
peaklabs-dev
c68372fc1e
refactor: apply rector refactoring 2025-12-02 21:17:50 +01:00
peaklabs-dev
5b051cec8d
chore(tooling): improve rector config a lot
- refactored rector laravel usage completely to use sets, which
  reduces imports, adds a few new options and makes everything much
  cleaner
- started using composer-based sets for laravel which applies rules via
  rector laravel based on the laravel version
- removed many unused or now duplicated manually added formatting rules
- removed some rules that are not desired for our coding style
- added some new manual rules that made sense
- removed naming and phpunitCodeQuality prepared set as it caused
issues (naming in DB migrations was changed...)
- added typeDeclarationDocblocks prepared set (experimental)
- added withAttributesSets() option
2025-12-02 20:00:24 +01:00
peaklabs-dev
c02affe975
chore(tooling): add rector caching 2025-12-02 19:56:57 +01:00
peaklabs-dev
1f107efb1f
chore(tooling): update pint formatting rules to CS-Fixer v3.91.1 2025-12-01 23:11:33 +01:00
peaklabs-dev
93cc12a308
test: improve arch test
- add attribute test
- order all test cases and their assertions
- remove unused test case
2025-12-01 23:11:33 +01:00
peaklabs-dev
1582320651
chore(config): update config files to the latest skeleton version 2025-12-01 23:11:33 +01:00
peaklabs-dev
62070253a8
chore: improve root .gitignore
- add more AI files
- add swap files
- ignore public/vendor as it is re-generated on composer install
- rename .env.development to .env.local
2025-12-01 21:47:28 +01:00
peaklabs-dev
b0295ceab2
build: improve .dockerignore
- ignore more AI files
- ignore swap files
- ignore public/vendor as it is re-generated on composer install
2025-12-01 21:47:28 +01:00
peaklabs-dev
bc7850053d
ci: update and improve workflows
- add concurrency groups to cancel the in-progress workflow if a new
one is triggered
- update and pin all action versions to full-length SHAs
- update and pin all dependency versions to specific versions
- ensure git credentials are not persisted when using actions/checkout
2025-12-01 21:47:28 +01:00
peaklabs-dev
4ba465fb2e
chore: improve composer.json
- update description and keywords to the new v5 description and
  keywords
- add --parallel flag to pint for much faster formatting
- update composer scripts to the latest laravel skeleton
  version
- remove unused composer scripts
- bump PHPStan memory limit to 2G as we will need that in the future
2025-12-01 21:47:28 +01:00
peaklabs-dev
a04b98995d
chore(deps): remove peck as it is not working 2025-12-01 21:47:28 +01:00
peaklabs-dev
3128177fea
chore: add schema to package.json and remove name 2025-12-01 21:47:28 +01:00
peaklabs-dev
ee0df7a146
chore(deps): bump all dependencies 2025-12-01 21:47:28 +01:00
peaklabs-dev
dab768211b
refactor: apply rector refactors 2025-11-30 16:58:58 +01:00
peaklabs-dev
c2d584679c
chore(tooling): improve rector config
- remove deprecated strictBooleans set
- order rule sets inside withPreparedSets
2025-11-30 16:58:58 +01:00
peaklabs-dev
ac9ebeb09b
ci: improve security of all workflows 2025-11-30 16:58:58 +01:00
peaklabs-dev
d9f2ab6468
chore: improve local setup until docker is ready 2025-11-30 16:58:58 +01:00
peaklabs-dev
94699e3ac7
docs: add temporary contributing guide 2025-11-30 16:58:58 +01:00
peaklabs-dev
109813cace
ci: improve tests workflow
- add bun audit step
- improve steps naming
- wait on composer validation, bun and composer audit before running the
  test suite
2025-11-30 16:58:58 +01:00
peaklabs-dev
5418502ac8
chore: improve repo root .gitignore 2025-11-30 16:58:58 +01:00
peaklabs-dev
24fdccec4f
docs: add empty v5 changelog 2025-11-30 16:58:58 +01:00
peaklabs-dev
0a3e1477b5
chore(tooling): rename composer scripts for clarity 2025-11-30 16:58:58 +01:00
peaklabs-dev
50ecb2efc4
ci: add tests workflow 2025-11-30 16:58:58 +01:00
peaklabs-dev
c7f18fd489
ci: add optimized stale and lock workflows 2025-11-30 16:58:58 +01:00
peaklabs-dev
25ffcf84f1
chore(repo): add new GitHub Issue templates 2025-11-30 16:58:58 +01:00
peaklabs-dev
fa604f8964
chore: improve storage .gitignore file 2025-11-30 16:58:58 +01:00
peaklabs-dev
495c9a3324
build: add strict .dockerignore file 2025-11-30 16:58:58 +01:00
peaklabs-dev
3f9f400c75
test: improve ArchTest
- add more rules for the entire app
- add Resources rule
- improve existing rules
- adjust formatting
2025-11-30 16:58:58 +01:00
peaklabs-dev
b2406eedb0
test(setup): add base test case and refresh the DB on each test 2025-11-30 16:58:58 +01:00
peaklabs-dev
52dab08027
chore: improve AppServiceProvider
- add automatic eager loading of relationships
- configure Laravel Http Facade to prevent stray requests during tests
- configure Laravel Sleep Facade to be faked during tests
2025-11-30 16:58:58 +01:00
peaklabs-dev
09ca5040ec
chore(config): encrypt sessions 2025-11-30 16:58:58 +01:00
peaklabs-dev
e2f2885f42
chore(config): update config files to the latest skeleton version 2025-11-30 16:58:58 +01:00
peaklabs-dev
675bdf79f4
chore(setup): add tailwind v4 2025-11-30 16:58:58 +01:00
peaklabs-dev
74bfd3dccf
test(setup): configure phpunit.xml 2025-11-30 16:58:58 +01:00
peaklabs-dev
ec7beae5bc
chore: improve composer.json
- improve composer.json metadata
- change license to AGPL-3.0
- add composer scripts
- update dependencies
2025-11-30 16:58:58 +01:00
peaklabs-dev
60587ac13b
chore(deps): bump node packages 2025-11-30 16:58:58 +01:00
peaklabs-dev
a14128c0dc
chore(setup): add bun for node dependencies 2025-11-30 16:58:58 +01:00
peaklabs-dev
93118bfa5a
fix(tooling): remove resources folder from rector config 2025-11-30 16:58:58 +01:00
peaklabs-dev
b6518319fa
chore(tooling): add PHPStan cache folder 2025-11-30 16:58:58 +01:00
peaklabs-dev
480b5099cd
test(setup): add testing folders and pest config 2025-11-30 16:58:58 +01:00
peaklabs-dev
7a8781946a
chore(tooling): make PHPStan rules more strict 2025-11-30 16:58:58 +01:00
peaklabs-dev
01654288b1
chore(tooling): add PHPStan level max 2025-11-30 16:58:58 +01:00
peaklabs-dev
196054c543
style: apply pint to full codebase 2025-11-30 16:58:58 +01:00
peaklabs-dev
b528973f5a
chore(security): prevent indexing of all pages in robots.txt 2025-11-30 16:58:58 +01:00
peaklabs-dev
f3df3bbb93
docs: add improved SECURITY.md file
- new Support Policy table
- improved reporting guide for vulnerabilities
2025-11-30 16:50:04 +01:00
peaklabs-dev
7a71e510a9
chore(repo): add assets folder for readme assets 2025-11-30 16:50:04 +01:00