Skip to content

Commit

Permalink
Merge branch 'main' into 15785-alt-text-validation
Browse files Browse the repository at this point in the history
  • Loading branch information
edmund-dunn authored Jan 10, 2024
2 parents 60736f4 + 8a12098 commit 84cea37
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
27 changes: 13 additions & 14 deletions composer.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5462,26 +5462,26 @@
},
{
"name": "drupal/entity_field_fetch",
"version": "1.0.4",
"version": "1.0.6",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/entity_field_fetch.git",
"reference": "1.0.4"
"reference": "1.0.6"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/entity_field_fetch-1.0.4.zip",
"reference": "1.0.4",
"shasum": "a48fabc970c460d032e7ac017285d5b9e2f434d1"
"url": "https://ftp.drupal.org/files/projects/entity_field_fetch-1.0.6.zip",
"reference": "1.0.6",
"shasum": "615ec840043ef03e28ec727bd2809c3c0de630f8"
},
"require": {
"drupal/core": "^8 || ^9 || ^10"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "1.0.4",
"datestamp": "1691158258",
"version": "1.0.6",
"datestamp": "1704772049",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
Expand Down Expand Up @@ -18867,16 +18867,16 @@
},
{
"name": "phpstan/phpdoc-parser",
"version": "1.24.5",
"version": "1.25.0",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git",
"reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc"
"reference": "bd84b629c8de41aa2ae82c067c955e06f1b00240"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fedf211ff14ec8381c9bf5714e33a7a552dd1acc",
"reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/bd84b629c8de41aa2ae82c067c955e06f1b00240",
"reference": "bd84b629c8de41aa2ae82c067c955e06f1b00240",
"shasum": ""
},
"require": {
Expand Down Expand Up @@ -18908,9 +18908,9 @@
"description": "PHPDoc parser with support for nullable, intersection and generic types",
"support": {
"issues": "https://github.com/phpstan/phpdoc-parser/issues",
"source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.5"
"source": "https://github.com/phpstan/phpdoc-parser/tree/1.25.0"
},
"time": "2023-12-16T09:33:33+00:00"
"time": "2024-01-04T17:06:16+00:00"
},
{
"name": "phpstan/phpstan",
Expand Down Expand Up @@ -26808,7 +26808,6 @@
"drupal/entity_block": 10,
"drupal/entity_clone": 15,
"drupal/entity_diff_ui": 15,
"drupal/entity_field_fetch": 10,
"drupal/entity_reference_hierarchy": 10,
"drupal/entity_reference_validators": 15,
"drupal/entity_route_context": 5,
Expand Down
9 changes: 8 additions & 1 deletion scripts/web-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ touch ./.buildlock
build_type="vagovdev"
web_path="./web"
build_path="${web_path}/build/${build_type}"
assets_base_url="https://dev-va-gov-assets\.s3-us-gov-west-1\.amazonaws\.com"
rm -rf "${build_path}"

pushd "${web_path}"
Expand All @@ -35,11 +34,19 @@ yarn build \
popd

echo "Replacing s3 address with local in generated files."
assets_base_url="https://dev-va-gov-assets\.s3-us-gov-west-1\.amazonaws\.com"
find \
"${build_path}/generated" \
-type f \
-exec sed -i "s#${assets_base_url}##g" {} \+;

echo "Replacing s3 address with local in built content."
dev_base_url="https://s3-us-gov-west-1\.amazonaws\.com/content\.dev\.va\.gov"
find \
"${build_path}" \
-type f \
-exec sed -i -e "s#${dev_base_url}##g" {} \+;

rm ./.buildlock

popd > /dev/null

0 comments on commit 84cea37

Please sign in to comment.