π¨βπ» Developing
This document describes how to contribute code to the project. If you are not technical, there are many other ways to contribute!
The main relevant files you can inspect are package.json, rollup.config.js and release.yml.
| package.json |
|---|
- We use
pnpm. - Weβve got your usual
devandbuildscripts.- They use rollup for bundling.
| rollup.config.js |
|---|
- Our test vault will be located at the directory root, at
./obsidian-fountain-editor-testβ initialize your own Obsidian vault!- Running
pnpm run devwill continually generate the plugin binaries at./obsidian-fountain-editor-test/.obsidian/plugins/fountain-editor
- Running
- CSS is also compiled and preprocessed with postcss.
pnpm run buildcreates files at the./builddirectory.
GitHub Actions
Section titled βGitHub Actionsβ| release.yml |
|---|
- On creating new tags:
- Checkout repo
- Install node
- Install pnpm
- Try to use pnpm cache
- Install packages
- Install pnpm
- Build binaries
- Create GitHub Release
- Zip then upload build outputs
- Upload binaries directly
Lazy branching strategy, I push to main for now, but do open Merge Requests.
OH and do leave a comment on the GitHub Issue or in one of the Discussion threads if youβre going to work on a ticket, so that I know to not start on it as well, and we would end up doing duplicate work.
Feel free to contact me any time!