Skip to content

tomcwilliamson/cactus

Repository files navigation

quisitive-utils

quisitive Utilities monorepo


Table of contents

Packages

Package Description
@quisitive/node-application Helper to manage PM2 App definitions and process states
@quisitive/errors Errors module for quisitive Servers and Applications
@quisitive/logger Customized Pino Logger for quisitive projects
@quisitive/slack-notifier Slack Notifications Manager
@quisitive/api-request Request helper
@quisitive/server Basic Server for quisitive Webservices
@quisitive/utils Utility functions for node base apps
@quisitive/uuid A set of Unique ID generators for JS apps

Getting started

First, ensure you have Node v10+ and yarn v1.0+ installed on your machine.

  • Lerna manages inter-package dependencies in this monorepo.
  • Builds are orchestrated via lerna run and NPM scripts.
  • Our documentation is generated from JSDoc comments, README.md, example.js files via CI.

Installation

git clone git@github.com:quisitiveTechnologies/quisitive-utils.git quisitive-utils
  cd quisitive-utils
  npm install

Incorporating upstream changes

If you were previously in a working state and have just pulled new code from develop:

  • If there were package dependency changes, run yarn at the root.
    • This command is very quick if there are no new things to install.
  • Run yarn compile to get the latest built versions of the library packages in this repo.
    • This command is quicker than yarn verify since it doesn't run tests

Developing packages

Thanks for taking the time to care about the codebase! 🎉 🎊 👍

  1. Create a new feature branch. We use a format like [initials]/[feature]: jp/refactor-api.
  2. Write some code. 🔨
  3. Ensure your code is tested??? and linted.
    • Add unit tests as necessary when fixing bugs or adding features; run them with yarn test in the relevant packages/ directory. (Wishfull thinking for the moment.)
    • Linting is best handled by your editor for real-time feedback.
    • If you use VS Code the project will recommend you to install the appropriate extentions.
    • Most lint errors can often be automatically fixed. Run lint fixes with yarn fix.
  4. Submit a Pull Request.
  5. Team members will review your code and merge it after approvals.
    • You may be asked to make modifications to code style or to fix bugs you may have not noticed.
    • Do not amend commits and push --force as they break the PR history. Please add more commits.
  6. Hooray, you helped! 🎩

Maintainers

License

MIT © quisitive LLC

About

NPM Package Utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published