Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/playerony/clock-actors-state-machine
Advanced clock logic written with state machines for the purpose of learning actors.
https://github.com/playerony/clock-actors-state-machine
Last synced: 4 days ago
JSON representation
Advanced clock logic written with state machines for the purpose of learning actors.
- Host: GitHub
- URL: https://github.com/playerony/clock-actors-state-machine
- Owner: playerony
- Created: 2021-08-09T17:09:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-16T19:46:01.000Z (over 3 years ago)
- Last Synced: 2023-03-08T05:38:15.654Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 3.05 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Clock actors state machine
![Lint](https://github.com/playerony/clock-actors-state-machine/workflows/lint/badge.svg)
![Test](https://github.com/playerony/clock-actors-state-machine/workflows/test/badge.svg)
![Build](https://github.com/playerony/clock-actors-state-machine/workflows/build/badge.svg)
![Prettier](https://github.com/playerony/clock-actors-state-machine/workflows/prettier/badge.svg)
![Commitlint](https://github.com/playerony/clock-actors-state-machine/workflows/commitlint/badge.svg)Advanced clock logic written with state machines for the purpose of learning actors.
## 📖 Table of Contents
- [✨ Getting started](#user-content--getting-started)
- [Prerequisites](#prerequisites)
- [Bootstrap](#bootstrap)
- [📜 Scripts](#user-content--scripts)
- [Development](#development)
- [Build](#build)
- [Shell](#shell)
- [Test](#test)
- [Analyze](#analyze)
- [📚 Documentation](#user-content--documentation)
- [Commit Message Guideline](#commit-message-guideline)## ✨ Getting started
### Prerequisites
You need to have installed the following software:
- [nodejs](https://nodejs.org/en/) (>=14.15.0)
- [yarn](https://yarnpkg.com/) (>= 1.22.10)### Bootstrap
```bash
git clone https://github.com/playerony/clock-actors-state-machine
cd clock-actors-state-machine
yarn install
```## 📜 Scripts:
### Development
- `dev` - Run application in development mode.
### Build
- `build` - Build for production a ready application.
### Shell
- `remove-node-modules` - Remove node_modules directory with rimraf command.
- `reinstall-node-modules` - Invokes `remove-node-modules` and `yarn install`.
- `gcb` - (git-create-branch) Create and checkout on the branch with the given name.
- `gcmwp` - (git-checkout-main-with-pull) Checkout to main branch and invokes pull command.
- `gpc` - (git-push-changes) Commit and push all files on a current branch with the given commit message.### Test
- `test` - Run tests.
- `test:ci` - Run tests in CI mode.
- `test:watch` - Run tests in watch mode.
- `test:coverage` - Run tests in coverage mode.
- `test:update-snapshot`: Run tests and update all snapshots.### Analyze
- `lint` - Run `eslint`. Output any errors 🚨.
- `lint:fix` - Run `eslint` with `--fix`flag . Fix any lint errors 🚨.
- `commitlint` - Run `commitlint`. Output any errors 🚨.
- `format` - Run `prettier` with `--write` flag to format all the files.
- `format:check` - Run `prettier` with `--check` flag. Output any format errors 🚨.
- `check` - Run `lint`, `test`, `build`, `commitlint` and `format:check`. Output any errors 🚨.## 📚 Documentation
### Commit Message Guideline
- For easier commit type recognition commit messages are prefixed with a proper type
- See available commit types: [https://www.npmjs.com/package/@commitlint/config-conventional](https://www.npmjs.com/package/@commitlint/config-conventional)