https://github.com/jhu-library-applications/primo-customization-package
https://github.com/jhu-library-applications/primo-customization-package
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jhu-library-applications/primo-customization-package
- Owner: jhu-library-applications
- Created: 2022-10-20T12:36:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-10T21:32:20.000Z (3 months ago)
- Last Synced: 2025-04-10T21:35:20.469Z (3 months ago)
- Language: CSS
- Size: 3.17 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Primo customization packages
This repo contains the files that are used for generating a Primo customization package for a view.
If you check the [GitHub Actions runs](https://github.com/jhu-library-applications/primo-customization-package/actions) and
go to a successful run, you'll find `zip` files that can be uploaded in Alama.The names of the folders in this repo corrospond with the view name in Primo.
## Building the custom.js file
Primo allows us to have one JS file named `custom.js` that we can add additional JS to. The `custom.js` file in this repo is built from the files in the `src` folder.
To build the `custom.js` file, run `node build.js`. GitHub Actions will build the `custom.js` file and add it to the resulting `zip` file when you push to the repo.