Skip to content

Commit

Permalink
Copy dist directory instead of uv directory
Browse files Browse the repository at this point in the history
The current build (3.0.36) of 3.0.x UV in NPM does not have a uv directory and the copy fails.  It does have a dist directory so let's try copying that instead.
  • Loading branch information
cjcolvar authored and Tom Johnson committed Apr 23, 2020
1 parent 4c4474e commit a734f83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/generators/hyrax/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"scripts": {
"preinstall": "rm -rf ./public/uv",
"postinstall": "yarn run uv-install && yarn run uv-config",
"uv-install": "shx cp -r ./node_modules/universalviewer/uv ./public/",
"uv-install": "shx cp -r ./node_modules/universalviewer/dist ./public/uv",
"uv-config": "shx cp ./config/uv/uv.html ./public/uv/uv.html & shx cp ./config/uv/uv-config.json ./public/uv/"
},
"devDependencies": {
"shx": "^0.3.2"
}
}
}

0 comments on commit a734f83

Please sign in to comment.