@whoseyourlandlord/wyl-modernization-constants
v1.1.13
Published
Shared constants for WYL Platform
Readme
Shared constants used in WYL platform
These constants are used both in the main platform and in MongoDB triggers via Atlas. Some steps need to be taken in order for each of these to recognize changes in this package.
Saving changes to this package
Whenever changes are made to this package that should be reflected in other services, version number must be bumped in package.json. After changes are pushed to github, the package must be updated in the npm database by running npm publish.
Note: Permission to the NPM org is needed to do this
wyl-modernization
To update wyl-modernization, all that is needed is to bump the version to the latest version in npm
MongoDB
Unfortunately, updates to MongoDB aren't automatically part of the CI pipeline. This will hopefully be tackled sometime in the future
- Create an empty npm project
- Create a package.json that includes only
@whoseyourlandlord/wyl-modernization-constants - Run
npm install - Compress
node_modulesinto a tarball usingtar -czf node_modules.tar.gz node_modules/ - Login to MongoDB atlas
- Go to Triggers (left navigation) -> Dependencies -> Upload Folder
- Upload tarball of node_modules
- Ensure that version number in dependencies matches the one you intend
