Skip to content
This repository has been archived by the owner on May 2, 2020. It is now read-only.

Latest commit

 

History

History
41 lines (34 loc) · 2.86 KB

CONTRIBUTING.md

File metadata and controls

41 lines (34 loc) · 2.86 KB

Contributing

Pull Requests are welcome! We should cover a couple of items first, prior to your submitting one.

  • keep your commits as atomic as possible
  • try to keep new features (sub-generators, configurations, etc.) as un-opionated as possible
  • opinionated features are perfectly okay, so long as
    • it's a choice
    • the default option is to whatever the "normal" configuration is (for most XPages applications)
    • this can be tricky, feel free to ask for review or help
  • this is a yeoman generator
    • documentation is available
  • read the below code of conduct

Committing

  • to test locally, remove any previously installed (global) generator-xsp and
    • git clone https://github.com/edm00se/generator-xsp.git
    • cd generator-xsp
    • npm link
      • running this this will establish this freshly cloned copy of the repository as the npm module that yeoman will use when yo xsp is invoked
      • you may save any changes and use it immediately
  • this project makes use of eslint
  • this project uses commitizen for commits; use npm run commit and follow the prompts
  • this project uses semantic-release, so no direct meddling with the version number in the package.json
  • part of the pre-commit check will also perform the test script and perform a code coverage check, enforcing to an overall 90% or above

Code of Conduct

As above, you are free to fork / submit a PR to this project. I ask you to:

  1. recognize that this project does nothing more than script out the specifics to let you, the user, generate your own application
  2. the code you generate is yours, not mine
  3. this project creates/interacts with the On Disk Project (ODP) and will require importing to IBM Domino Designer (DDE) for use as a full application
  1. you can achieve every single step this generator performs by manually setting up source control for your NSF and performing the routine tasks associated with each
  2. if you need help, ask!