Skip to content

Commit

Permalink
VOTE-2993 update nvrf data asset directory location
Browse files Browse the repository at this point in the history
Update NVRF to v0.18.2
  • Loading branch information
rayestrada committed Oct 16, 2024
1 parent 4975b65 commit bb38a76
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 10 deletions.
3 changes: 1 addition & 2 deletions scripts/upkeep
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ echo ""
echo "**************************************************"
echo "Adding missing data files for NVRF..."
echo "**************************************************"
cp -rfp ${app_path}/web/es/nvrf/data ${html_path}/es/nvrf
cp -rfp ${app_path}/web/nvrf/data ${html_path}/nvrf
cp -rfp ${app_path}/web/data ${html_path}/data
echo "Missing data files for NVRF...completed!"
echo ""

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions web/modules/custom/vote_nvrf/dist/assets/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions web/modules/custom/vote_nvrf/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions web/modules/custom/vote_nvrf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
"version": "1.0.0",
"scripts": {
"postinstall": "npm run build",
"build": "npm run reset-dist && npm run copy-dist:js && npm run copy-dist:css && npm run copy-data && npm run copy-data-es",
"build": "npm run reset-dist && npm run copy-dist:js && npm run copy-dist:css && npm run copy-dist:data",
"reset-dist": "mkdir -p ./dist/assets",
"copy-dist:js": "cp -r ./node_modules/vote-gov-nvrf-app/dist/assets/index.js ./dist/assets/index.js",
"copy-dist:css": "cp -r ./node_modules/vote-gov-nvrf-app/dist/assets/index.css ./dist/assets/index.css",
"copy-data": "mkdir -p ../../../nvrf && rm -rf ../../../nvrf/data && cp -r ./node_modules/vote-gov-nvrf-app/dist/nvrf/data ../../../nvrf/data",
"copy-data-es": "mkdir -p ../../../es/nvrf && rm -rf ../../../es/nvrf/data && cp -r ./node_modules/vote-gov-nvrf-app/dist/es/nvrf/data ../../../es/nvrf/data"
"copy-dist:data": "rm -rf ../../../data && cp -r ./node_modules/vote-gov-nvrf-app/dist/data ../../../data"
},
"dependencies": {
"vote-gov-nvrf-app": "github:usagov/vote-gov-nvrf-app#v0.18.1"
"vote-gov-nvrf-app": "github:usagov/vote-gov-nvrf-app#v0.18.2"
}
}

0 comments on commit bb38a76

Please sign in to comment.