Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
KentaOp committed May 23, 2024
2 parents 843ca7d + 09f2b85 commit 354470a
Show file tree
Hide file tree
Showing 60 changed files with 646 additions and 29 deletions.
66 changes: 66 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: "publish"

on:
push:
tags:
- "v*"

permissions: write-all

jobs:
publish-tauri:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
settings:
- platform: "ubuntu-latest"
- platform: "windows-latest"

runs-on: ${{ matrix.settings.platform }}
steps:
- uses: actions/checkout@v4

- name: install dependencies (ubuntu only)
if: matrix.settings.platform == 'ubuntu-latest'
run: |
sudo apt update
sudo apt install libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libayatana-appindicator3-dev librsvg2-dev
- name: setup node
uses: actions/setup-node@v4
with:
node-version: latest

- name: setup pnpm
run: npm i -g pnpm

- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
toolchain: nightly

- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: "./src-tauri -> target"
key: ${{ matrix.settings.platform }}

- name: install frontend dependencies
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
run: pnpm install # change this to npm or pnpm depending on which one you use.

- uses: tauri-apps/tauri-action@dev
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_PWD }}
with:
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
releaseName: "AHQ Store Owners' Application v__VERSION__"
releaseBody: "See the assets to download this version and install."
releaseDraft: false
prerelease: false
args: -v
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Logs
.tauri
logs
*.log
npm-debug.log*
Expand Down
10 changes: 10 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from "eslint-plugin-react-compiler";

export default {
plugins: {
"eslint-plugin-react-compiler": React,
},
rules: {
"react-compiler/react-compiler": "error",
},
};
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "ahqstore-owner",
"private": true,
"version": "0.0.0",
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite",
"app": "tauri dev",
"build": "tsc && vite build",
"preview": "vite preview",
"tauri": "tauri"
Expand All @@ -14,12 +15,17 @@
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "^1.0.2",
<<<<<<< HEAD
"@radix-ui/react-tooltip": "^1.0.7",
=======
"@tauri-apps/plugin-updater": "2.0.0-beta.3",
>>>>>>> 09f2b8550aacebda7a67adf7fb84c42f18bdf641
"babel-plugin-react-compiler": "0.0.0-experimental-592953e-20240517",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
"lucide-react": "^0.379.0",
"react-modal": "^3.16.1",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"vaul": "^0.9.1"
Expand All @@ -32,6 +38,7 @@
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.19",
"eslint": "^9.3.0",
"postcss": "^8.4.38",
"react": "19.0.0-beta-26f2496093-20240514",
"react-dom": "19.0.0-beta-26f2496093-20240514",
Expand Down
67 changes: 67 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 354470a

Please sign in to comment.