Skip to content

Commit

Permalink
Revert "Remove need for inner composer.json"
Browse files Browse the repository at this point in the history
This reverts commit abb1c41.
  • Loading branch information
doekenorg committed Sep 3, 2024
1 parent aa5f8b6 commit 4678987
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@unbuild",
"cp composer.json build/composer.json",
"mkdir build/src && cp src/GFExcelAdmin.php build/src/",
"composer config repositories.source '{\"type\":\"package\", \"package\": { \"name\": \"gravitykit/gravityexport-lite-src\", \"version\": \"dev-main\", \"dist\": { \"type\": \"path\", \"url\":\"../src\", \"options\": {\"symlink\":false}}}}' --working-dir=build",
"composer config repositories.source '{\"type\":\"path\", \"url\":\"../src\",\"options\": {\"symlink\":false}}' --working-dir=build",
"composer require gravitykit/gravityexport-lite-src:@dev --update-no-dev --working-dir=build --no-scripts",
"cd build && ./strauss.phar",
"composer dump-autoload -o --working-dir=build"
Expand Down
4 changes: 2 additions & 2 deletions src/Addon/GravityExportAddon.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ public function minimum_requirements(): array {
'dom',
'zlib',
'xml',
'iconv',
'mbstring',
'iconv',
'mbstring',
],
]
];
Expand Down
10 changes: 10 additions & 0 deletions src/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "gravitykit/gravityexport-lite-src",
"description": "Internal package for build purposes",
"type": "library",
"autoload": {
"psr-4": {
"GFExcel\\": "./"
}
}
}

0 comments on commit 4678987

Please sign in to comment.