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

FHDA/wechat-bot

Repository files navigation

FHDA Wechat Bot

Powered by Wechaty code style: prettier

Requirements

  • OS package

    Current support Ubuntu, MacOS

    • Ubuntu: sudo apt-get install build-essential && sudo snap install shellcheck
    • MacOS: xcode-select --install
  • Python

    • Python environment point to python 2.7
      i.e., when you type python in terminal, the version is 2.7
  • Node

    • Node 10 or above

Install

$ git [email protected]:FHDA/wechat-bot.git
$ cd wechat-bot
$ npm install

Run

$ npm start

Developer

You may need to ask for .env file that we use. Please contact William Chen([email protected]). We recommended use VScode for development

Wechaty

We use package Wechaty

Git push, Commit

We have pre-push, pre-commit, and commit-msg hook powered by husky and lint-staged

If you want to skip these please pass git --no-verify flag into.

git push will automatically update the package version under packages.json

Commit message

We use conventional commit message to make our contributor easy understand code changes

information: Commitlint, Conventional commits

The commit message format:

{type}(scope?): {subject}
body?
footer?

Refer: https://commitlint.js.org/#/concepts-commit-conventions

Commit message type

refer to .commitlintrc.yml

chore:    Change build process, tooling or dependencies.
ci:       Changes to our CI configuration files and scripts
          (example scopes: Travis, Circle, BrowserStack, SauceLabs)
feat:     Adds a new feature.
add:      Adds a new function, class.
fix:      Solves a bug.
docs:     Adds or alters documentation.
style:    Improves formatting, white-space.
refactor: Rewrites code without feature, performance or bug changes.
perf:     Improves performance.
test:     Adds or modifies tests.
revert:   Changes that reverting other changes.
remove:   Remove package, code unused or no longer need.
del:      Delete package, code unused or no longer need (same with remove).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published