Skip to content

Commit

Permalink
feat: Clone roadiz/documents lib directly in lib folder for better de…
Browse files Browse the repository at this point in the history
…velopment process
  • Loading branch information
ambroisemaupate committed Nov 23, 2022
1 parent 09769ca commit 85a9d93
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ fabric.properties
/lib/RoadizFontBundle
/lib/Rozier
/lib/Models
/lib/Documents
/themes/BaseTheme
/public/themes/BaseTheme
/public/assets/*
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ This is development app for Roadiz v2.x. It aggregate all Roadiz bundle and main
- Clone roadiz/font-bundle in `lib/RoadizFontBundle` directory
- Clone roadiz/rozier in `lib/Rozier` directory
- Clone roadiz/models in `lib/Models` directory
- Clone roadiz/documents in `lib/Documents` directory

### Generate JWT private and public keys

Expand Down
20 changes: 17 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"twig/twig": "^2.12|^3.0"
},
"require-dev": {
"enshrined/svg-sanitize": "^0.15",
"php-coveralls/php-coveralls": "^2.4",
"phpoffice/phpspreadsheet": "^1.15",
"phpstan/phpstan": "^1.5.3",
Expand Down Expand Up @@ -122,8 +123,20 @@
"psr-4": {
"App\\": "src/",
"RZ\\Roadiz\\Bag\\": "lib/Models/src/Roadiz/Bag/",
"RZ\\Roadiz\\Core\\": "lib/Models/src/Roadiz/Core/",
"RZ\\Roadiz\\Utils\\": "lib/Models/src/Roadiz/Utils/",
"RZ\\Roadiz\\Core\\": [
"lib/Models/src/Roadiz/Core/",
"lib/Documents/src/Roadiz/Core/"
],
"RZ\\Roadiz\\Utils\\": [
"lib/Models/src/Roadiz/Utils/",
"lib/Documents/src/Roadiz/Utils/"
],
"RZ\\Roadiz\\TwigExtension\\": [
"lib/Documents/src/Roadiz/TwigExtension/"
],
"RZ\\Roadiz\\Document\\": [
"lib/Documents/src/Roadiz/Document/"
],
"RZ\\Roadiz\\CoreBundle\\": "lib/RoadizCoreBundle/src/",
"RZ\\Roadiz\\CompatBundle\\": "lib/RoadizCompatBundle/src/",
"RZ\\Roadiz\\RozierBundle\\": "lib/RoadizRozierBundle/src/",
Expand Down Expand Up @@ -153,7 +166,8 @@
"roadiz/font-bundle": "*",
"roadiz/user-bundle": "*",
"roadiz/rozier": "*",
"roadiz/models": "*"
"roadiz/models": "*",
"roadiz/documents": "*"
},
"scripts": {
"auto-scripts": {
Expand Down
1 change: 1 addition & 0 deletions config/packages/roadiz_core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ roadiz_core:
appVersion: '%env(string:APP_VERSION)%'
healthCheckToken: '%env(string:APP_HEALTH_CHECK_TOKEN)%'
staticDomainName: ~
documentsLibDir: 'lib/Documents/src'
useNativeJsonColumnType: true
security:
private_key_name: default
Expand Down

0 comments on commit 85a9d93

Please sign in to comment.