374a75e65b
- Refactor project page and layout - Update imports for project page - Increase the number of recordings and recent activities returned [src/routes/projects/[projectId]/+page.svelte] - Add `Session` type from `$lib/sessions` - Add `startOfDay` from `date-fns` - Add `list` from `$lib/deltas` - Get the last 3 days of sessions and list the deltas for each session - Add `toHumanBranchName` from `$lib/branch` - Add a `git_branch` invoke - Change the `Recent File Changes` [src/routes/projects/[projectId]/+layout.ts] - Remove `UISession` and `Delta` imports - Move `octokit` initialization to a separate file - Change `prerender` value to `false` - Change `slice(0, 10)` to `slice(0, 20)` for returned recordings - Change `slice(0, 3)` to `slice(0, 20)` for recent activity - Remove `latestDeltasByDateByFile` store |
||
---|---|---|
.github/workflows | ||
.vscode | ||
scripts | ||
src | ||
src-tauri | ||
.env.development | ||
.env.production | ||
.eslintignore | ||
.eslintrc.cjs | ||
.gitignore | ||
.npmrc | ||
.prettierignore | ||
.prettierrc | ||
package.json | ||
pnpm-lock.yaml | ||
postcss.config.cjs | ||
README.md | ||
svelte.config.js | ||
tailwind.config.cjs | ||
tsconfig.json | ||
vite.config.js |
development
prerequisites
see here for the list of software required to build / develope the app.
setup
then, make sure to install app dependencies:
$ pnpm install
run
now you should be able to run the app in development mode:
$ pnpm tauri dev
building
to build the app in production mode, run:
$ pnpm tauri build
releasing
Building is done via GitHub Action.
Go to the link and select Run workflow
from the desired branch.
versioning
When running the release action,
you will have to choose one of major
, minor
, or patch
release type. Action will generate a new version based
on your input and current version found at https://app.gitbutler.com/releases
.
publishing
To publish a version that you've just build, use Release Manager.
runners
Note that to build an arm64 macos app, you need to make sure that there is at least one self-hosted runner
with macos-aarch64
label is online here.
If you are a lucky owner of an arm64 macos machine, feel free to run it yourself.
Make sure to label it with macos-aarch64
.