Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

Commit 7957b82

Browse files
committed
feat: first commit
0 parents  commit 7957b82

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+13104
-0
lines changed

.eslintrc.cjs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
module.exports = {
2+
root: true,
3+
env: { browser: true, es2020: true },
4+
extends: [
5+
"eslint:recommended",
6+
"plugin:@typescript-eslint/recommended",
7+
"plugin:react-hooks/recommended",
8+
"plugin:prettier/recommended",
9+
"prettier",
10+
],
11+
ignorePatterns: ["dist", ".eslintrc.cjs", "vite.config.ts", "*.js"],
12+
parser: "@typescript-eslint/parser",
13+
parserOptions: {
14+
project: ["./tsconfig.json"],
15+
},
16+
plugins: ["@typescript-eslint", "react-refresh"],
17+
rules: {
18+
"react-refresh/only-export-components": [
19+
"warn",
20+
{ allowConstantExport: true },
21+
],
22+
"prettier/prettier": 0,
23+
"@typescript-eslint/no-unused-vars": "warn",
24+
"require-await": "off",
25+
"@typescript-eslint/require-await": "error",
26+
"@typescript-eslint/no-floating-promises": "error",
27+
"@typescript-eslint/no-misused-promises": "error",
28+
},
29+
};

.github/workflows/release.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Release
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
release:
7+
permissions:
8+
contents: write
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
platform: [macos-latest, ubuntu-20.04, windows-latest]
13+
runs-on: ${{ matrix.platform }}
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Install dependencies (ubuntu only)
20+
if: matrix.platform == 'ubuntu-20.04'
21+
# You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
22+
run: |
23+
sudo apt-get update
24+
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
25+
26+
- name: Rust setup
27+
uses: dtolnay/rust-toolchain@stable
28+
29+
- name: Rust cache
30+
uses: swatinem/rust-cache@v2
31+
with:
32+
workspaces: "./src-tauri -> target"
33+
34+
- name: Sync node version and setup cache
35+
uses: actions/setup-node@v4
36+
with:
37+
node-version: "lts/*"
38+
cache: "npm" # Set this to npm, yarn or pnpm.
39+
40+
- name: Install frontend dependencies
41+
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
42+
run: npm install # Change this to npm, yarn or pnpm.
43+
44+
- name: Build the app
45+
uses: tauri-apps/tauri-action@v0
46+
47+
env:
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
with:
50+
tagName: __VERSION__
51+
releaseName: "Epherome v__VERSION__" # tauri-action replaces \_\_VERSION\_\_ with the app version.
52+
releaseBody: "See the assets to download and install this version."
53+
releaseDraft: true
54+
prerelease: false

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

.prettierrc.cjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
tabWidth: 2,
3+
useTabs: false,
4+
quoteProps: "as-needed",
5+
semi: true,
6+
singleQuote: false,
7+
bracketSpacing: true,
8+
endOfLine: "auto",
9+
trailingComma: "es5",
10+
};

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"]
3+
}

0 commit comments

Comments
 (0)