This repository contains the source code of all presences that are available in PreMiD Store. If you would like to publish your presence, please feel free to open a pull request.
- You must have the latest TypeScript compiler version installed
- Basic knowlege of TypeScript
We made a documentation to make your development process a little bit better and faster. You can see it here.
presence
βββ dist
β βββ metadata.json
βββ presence.ts
βββ tsconfig.json
For presences with iframe.ts
:
presence
βββ dist
β βββ metadata.json
βββ presence.ts
βββ iframe.ts
βββ tsconfig.json
- Clone the PreMiD repository to your system.
- Install repository modules with
yarn
ornpm install
.
- Open up a terminal and run
yarn translator
ornpm run translator
- When prompted, select the Language Code for the language you are translated (e.g
ga_IE
for Irish) - Once selected. The script will first cache all presences metadata files, it will then go through each one and remove the files containing the language you inputted from the cache.
- You will then be prompted to select a mode, afterwards you might get asked some aditional information to finalize your filter.
- Then at last you will be asked to fill in you translations. (You can type "skip" to skip)
- To stop at any time, hit
ctrl+c
or typestop
.
On this repo we enforce the use of commitlint. For more information on this, read the Commit Convention guide