Skip to content

Commit

Permalink
Add justinrainbow/json-schema to composer.json (#4034)
Browse files Browse the repository at this point in the history
* Add justinrainbow/json-schema to composer.json

* COMPOSER_AUTH variable for ddev

---------

Co-authored-by: Paul Mitchum <paul@mile23.com>
  • Loading branch information
janette and paul-m committed Oct 5, 2023
1 parent 0387e52 commit b6a65d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ commands:
type: string
steps:
- run:
# TODO: We might not need to do this.
name: Set up composer config
command: |
mkdir ~/.composer
Expand All @@ -50,6 +51,7 @@ commands:
ddev --version
ddev config --project-name test-$CIRCLE_WORKFLOW_JOB_ID --project-type drupal9 --docroot docroot --create-docroot
ddev get https://github.com/GetDKAN/dkan-ddev-addon/archive/refs/heads/<< parameters.addon_branch >>.tar.gz
bash -c 'echo COMPOSER_AUTH=$COMPOSER_AUTH' > .ddev/.env
# Modify config to use our PHP version.
sed -i 's/^php_version.*$/php_version: "<< parameters.php_version >>"/' .ddev/config.dkan.yaml
ddev restart
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"getdkan/rooted-json-data": "^0.1",
"guzzlehttp/guzzle" : "^6.5.8 || ^7.4.5",
"ilbee/csv-response": "^1.1.1",
"justinrainbow/json-schema": "^5.2",
"m1x0n/opis-json-schema-error-presenter": "^0.5.3",
"fylax/forceutf8": "~3.0",
"npm-asset/select2": "^4.0",
Expand Down

0 comments on commit b6a65d8

Please sign in to comment.