Skip to content

Latest commit

 

History

History
46 lines (40 loc) · 1.86 KB

contributing.md

File metadata and controls

46 lines (40 loc) · 1.86 KB

Contributing

First and foremost, thank you! We appreciate that you want to contribute to Fukayo, your time is valuable, and your contributions mean a lot to us.

Contribution Guidelines

  • Your contribution(s) must comply with our Code of Conduct
  • Simple and descriptive commit message, as they appear in the changelog anybody* should be able to understand what it's about.
    • Treat commits as PRs, 1 commit = 1 feature/fix
  • Do not submit PRs to the main branch
  • Before submitting a PR test your changes
    • Changes on packages main and renderer must be tested on both windows and linux
    • Changes to package renderer must be tested in and outside the electron environment

*developers and end users

Repo Setup

  1. Clone repo
  2. npm install install dependencies
  3. npm run watch start electron app in watch mode.
  4. npm run compile build app but for local debugging only.
  5. npm run lint lint your code.
  6. npm run typecheck Run typescript check.
  7. npm run test Run app test.

Tree

The root folder contains config files, build ressources/scripts and tests,
the main part code is located at /AMR/packages

  • /AMR/packages/main/src
    • index.ts electron startup
    • mainWindow.ts create main window
    • forkAPI.ts api to communicate with fork process
  • /AMR/packages/api/src
    • /app api starter
    • /client a client to communicate with the api via socket.io
    • /server server handling socket.io commands
    • /models source/mirrors implementations
    • /db databases used by the server and the models
    • /utils
      • certificate.ts SSL certificate generator
      • crawler.ts headless browser to fetch data
      • standalone.ts check the env if the api is used outside electron
    • /AMR/packages/renderer/src
      • /store pinia stores
      • /locales internationalization files
      • /components Vue components