Skip to content

Commit

Permalink
simplify build
Browse files Browse the repository at this point in the history
  • Loading branch information
battis committed Mar 15, 2024
1 parent 7cf4cdd commit ee9ab0b
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 110 deletions.
137 changes: 66 additions & 71 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,74 +1,69 @@
{
"name": "groton-school/sky-api",
"description": "PHP client for Blackbaud's SKY API",
"license": "GPL-3.0",
"authors": [
{
"name": "Seth Battis",
"email": "[email protected]"
}
],
"require": {
"ext-curl": "*",
"battis/data-utilities": "^1.2",
"battis/lazy-secrets": "^1.1",
"battis/openapi-client-generator": "^0.1",
"guzzlehttp/guzzle": "^7.4",
"league/oauth2-client": "^2.6"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.51",
"phar-io/version": "^3.2",
"symplify/monorepo-builder": "^11.2"
},
"autoload": {
"psr-4": {
"Blackbaud\\SKY\\": [
"packages/altru-administration/src/",
"packages/altru-analysis/src/",
"packages/altru-constituent/src/",
"packages/nxt-data-integration/src/",
"packages/oneroster/src/",
"packages/school/src/"
],
"Build\\": "src",
"GrotonSchool\\OAuth2\\Client\\Provider\\": "packages/oauth2/src/",
"GrotonSchool\\SKY\\AppEngine\\": "packages/appengine-client/src"
}
},
"scripts": {
"build": [
"Build\\CLI::build",
"docker run --rm -v $(pwd):/data phpdoc/phpdoc:3"
]
},
"extra": {
"build": [
"src/map -d 'var/2022-04-01_preview/Altru/alt-adnmg.json' 'packages/altru-administration/src' 'Blackbaud\\SKY'",
"src/map -d 'var/2022-04-01_preview/Altru/alt-anamg.json' 'packages/altru-analysis/src' 'Blackbaud\\SKY'",
"src/map -d 'var/2022-04-01_preview/Altru/alt-conmg.json' 'packages/altru-constituent/src' 'Blackbaud\\SKY'",
"src/map -d 'var/2022-04-01_preview/Church Management/nxt-data-integration.json' 'packages/nxt-data-integration/src' 'Blackbaud\\SKY'",
"src/map -d 'var/2022-04-01_preview/Education Management/afe-rostr.json' 'packages/oneroster/src' 'Blackbaud\\SKY'",
"src/map -d 'var/2022-04-01_preview/Education Management/school.json' 'packages/school/src' 'Blackbaud\\SKY'"
]
},
"config": {
"sort-packages": true
},
"replace": {
"groton-school/oauth2-blackbaudsky": "self.version",
"groton-school/oauth2-blackbaudsky-example": "self.version",
"groton-school/sky-api-altru-analysis": "self.version",
"groton-school/sky-api-altru-constituent": "self.version",
"groton-school/sky-api-appengine": "self.version",
"groton-school/sky-api-nxt-data-integration": "self.version",
"groton-school/sky-api-oneroster": "self.version",
"groton-school/sky-api-school": "self.version",
"groton-school/sky-api.altru-analysis": "self.version",
"groton-school/sky-api.altru-constituent": "self.version",
"groton-school/sky-api.appengine-client-example": "self.version",
"groton-school/sky-api.nxt-data-integration": "self.version",
"groton-school/sky-api.oneroster": "self.version",
"groton-school/sky-api.school": "self.version"
"name": "groton-school/sky-api",
"description": "PHP client for Blackbaud's SKY API",
"license": "GPL-3.0",
"authors": [
{
"name": "Seth Battis",
"email": "[email protected]"
}
],
"require": {
"ext-curl": "*",
"battis/data-utilities": "^1.2",
"battis/lazy-secrets": "^1.1",
"battis/openapi-client-generator": "^0.1",
"guzzlehttp/guzzle": "^7.4",
"league/oauth2-client": "^2.6"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.51",
"phar-io/version": "^3.2",
"symplify/monorepo-builder": "^11.2"
},
"autoload": {
"psr-4": {
"Blackbaud\\SKY\\": [
"packages/altru-administration/src/",
"packages/altru-analysis/src/",
"packages/altru-constituent/src/",
"packages/nxt-data-integration/src/",
"packages/oneroster/src/",
"packages/school/src/"
],
"Build\\": "src",
"GrotonSchool\\OAuth2\\Client\\Provider\\": "packages/oauth2/src/",
"GrotonSchool\\SKY\\AppEngine\\": "packages/appengine-client/src"
}
},
"scripts": {
"build": [
"src/map -d 'var/2022-04-01_preview/Altru/alt-adnmg.json' 'packages/altru-administration/src' 'Blackbaud\\SKY'",
"src/map -d 'var/2022-04-01_preview/Altru/alt-anamg.json' 'packages/altru-analysis/src' 'Blackbaud\\SKY'",
"src/map -d 'var/2022-04-01_preview/Altru/alt-conmg.json' 'packages/altru-constituent/src' 'Blackbaud\\SKY'",
"src/map -d 'var/2022-04-01_preview/Church Management/nxt-data-integration.json' 'packages/nxt-data-integration/src' 'Blackbaud\\SKY'",
"src/map -d 'var/2022-04-01_preview/Education Management/afe-rostr.json' 'packages/oneroster/src' 'Blackbaud\\SKY'",
"src/map -d 'var/2022-04-01_preview/Education Management/school.json' 'packages/school/src' 'Blackbaud\\SKY'",
"docker run --rm -v $(pwd):/data phpdoc/phpdoc:3"
]
},
"config": {
"sort-packages": true
},
"replace": {
"groton-school/oauth2-blackbaudsky": "self.version",
"groton-school/oauth2-blackbaudsky-example": "self.version",
"groton-school/sky-api-altru-analysis": "self.version",
"groton-school/sky-api-altru-constituent": "self.version",
"groton-school/sky-api-appengine": "self.version",
"groton-school/sky-api-nxt-data-integration": "self.version",
"groton-school/sky-api-oneroster": "self.version",
"groton-school/sky-api-school": "self.version",
"groton-school/sky-api.altru-analysis": "self.version",
"groton-school/sky-api.altru-constituent": "self.version",
"groton-school/sky-api.appengine-client-example": "self.version",
"groton-school/sky-api.nxt-data-integration": "self.version",
"groton-school/sky-api.oneroster": "self.version",
"groton-school/sky-api.school": "self.version"
}
}
3 changes: 0 additions & 3 deletions packages/altru-administration/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@
"require": {
"battis/openapi-client-generator": "^0.1",
"groton-school/oauth2-blackbaudsky": "^0.2"
},
"extra": {
"build": "src/map -d 'var/2022-04-01_preview/Altru/alt-adnmg.json' 'packages/altru-administration/src' 'Blackbaud\\SKY'"
}
}
3 changes: 0 additions & 3 deletions packages/altru-analysis/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@
"require": {
"battis/openapi-client-generator": "^0.1",
"groton-school/oauth2-blackbaudsky": "^0.2"
},
"extra": {
"build": "src/map -d 'var/2022-04-01_preview/Altru/alt-anamg.json' 'packages/altru-analysis/src' 'Blackbaud\\SKY'"
}
}
3 changes: 0 additions & 3 deletions packages/altru-constituent/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@
"require": {
"battis/openapi-client-generator": "^0.1",
"groton-school/oauth2-blackbaudsky": "^0.2"
},
"extra": {
"build": "src/map -d 'var/2022-04-01_preview/Altru/alt-conmg.json' 'packages/altru-constituent/src' 'Blackbaud\\SKY'"
}
}
3 changes: 0 additions & 3 deletions packages/nxt-data-integration/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@
"require": {
"battis/openapi-client-generator": "^0.1",
"groton-school/oauth2-blackbaudsky": "^0.2"
},
"extra": {
"build": "src/map -d 'var/2022-04-01_preview/Church Management/nxt-data-integration.json' 'packages/nxt-data-integration/src' 'Blackbaud\\SKY'"
}
}
3 changes: 0 additions & 3 deletions packages/oneroster/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@
"require": {
"battis/openapi-client-generator": "^0.1",
"groton-school/oauth2-blackbaudsky": "^0.2"
},
"extra": {
"build": "src/map -d 'var/2022-04-01_preview/Education Management/afe-rostr.json' 'packages/oneroster/src' 'Blackbaud\\SKY'"
}
}
3 changes: 0 additions & 3 deletions packages/school/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@
"require": {
"battis/openapi-client-generator": "^0.1",
"groton-school/oauth2-blackbaudsky": "^0.2"
},
"extra": {
"build": "src/map -d 'var/2022-04-01_preview/Education Management/school.json' 'packages/school/src' 'Blackbaud\\SKY'"
}
}
21 changes: 0 additions & 21 deletions src/CLI.php

This file was deleted.

0 comments on commit ee9ab0b

Please sign in to comment.