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

Commit 3f469e7

Browse files
committed
Initial Commit
0 parents  commit 3f469e7

45 files changed

Lines changed: 9375 additions & 0 deletions

Some content is hidden

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

.github/workflows/publish.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: "publish"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
# This is the example from the readme.
9+
# On each push to the `release` branch it will create or update a GitHub release, build your app, and upload the artifacts to the release.
10+
11+
jobs:
12+
publish-tauri:
13+
permissions:
14+
contents: write
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
include:
19+
- platform: "macos-latest" # for Arm based macs (M1 and above).
20+
args: "--target aarch64-apple-darwin"
21+
- platform: "macos-latest" # for Intel based macs.
22+
args: "--target x86_64-apple-darwin"
23+
- platform: "ubuntu-22.04" # for Tauri v1 you could replace this with ubuntu-20.04.
24+
args: ""
25+
- platform: "windows-latest"
26+
args: ""
27+
28+
runs-on: ${{ matrix.platform }}
29+
steps:
30+
- uses: actions/checkout@v4
31+
32+
- name: setup node
33+
uses: actions/setup-node@v4
34+
with:
35+
node-version: lts/*
36+
37+
- name: install Rust stable
38+
uses: dtolnay/rust-toolchain@stable
39+
with:
40+
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
41+
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
42+
43+
- name: install dependencies (ubuntu only)
44+
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
45+
run: |
46+
sudo apt-get update
47+
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
48+
# webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.
49+
# You can remove the one that doesn't apply to your app to speed up the workflow a bit.
50+
51+
- name: install frontend dependencies
52+
run: | # change this to npm, pnpm or bun depending on which one you use.
53+
npm install -g pnpm
54+
pnpm install
55+
56+
- uses: tauri-apps/tauri-action@v0
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
with:
60+
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
61+
releaseName: "LiteView v__VERSION__"
62+
releaseBody: "See the assets to download this version and install."
63+
releaseDraft: true
64+
prerelease: false
65+
args: ${{ matrix.args }}

.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?

.vscode/extensions.json

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

index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Tauri + Vue + Typescript App</title>
8+
</head>
9+
10+
<body>
11+
<div id="app"></div>
12+
<script type="module" src="/src/main.ts"></script>
13+
</body>
14+
</html>

package.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "trackify",
3+
"private": true,
4+
"version": "0.1.0",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "vue-tsc --noEmit && vite build",
9+
"preview": "vite preview",
10+
"tauri": "tauri"
11+
},
12+
"dependencies": {
13+
"@tauri-apps/api": "^2",
14+
"@tauri-apps/plugin-opener": "^2",
15+
"vue": "^3.5.13",
16+
"vue-router": "^4.5.0"
17+
},
18+
"devDependencies": {
19+
"@tailwindcss/vite": "^4.0.17",
20+
"@tauri-apps/cli": "^2",
21+
"@vitejs/plugin-vue": "^5.2.1",
22+
"daisyui": "^5.0.9",
23+
"sass-embedded": "^1.86.0",
24+
"tailwindcss": "^4.0.17",
25+
"typescript": "~5.6.2",
26+
"vite": "^6.0.3",
27+
"vue-tsc": "^2.1.10"
28+
}
29+
}

0 commit comments

Comments
 (0)