Skip to content

Commit

Permalink
chore: deploy desktop-test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xzio committed Jun 24, 2024
1 parent b4073ff commit c2f044b
Show file tree
Hide file tree
Showing 132 changed files with 13,238 additions and 154 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Tauri App Publish"
name: "Desktop test Tauri App Publish"

# on:
# push:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: "./apps/desktop/src-tauri -> target"
workspaces: "./apps/desktop-test/src-tauri -> target"
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.10
Expand All @@ -73,7 +73,7 @@ jobs:
# SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }}
run: |
pnpm install # change this to npm or pnpm depending on which one you use.
npx turbo run build --filter=desktop...
npx turbo run build --filter=desktop-test...
# pnpm build:packages

Expand All @@ -100,4 +100,4 @@ jobs:
releaseDraft: true
prerelease: false
args: ${{ matrix.settings.args }}
projectPath: "./apps/desktop"
projectPath: "./apps/desktop-test"
24 changes: 24 additions & 0 deletions apps/desktop-test/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
3 changes: 3 additions & 0 deletions apps/desktop-test/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"]
}
7 changes: 7 additions & 0 deletions apps/desktop-test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Tauri + React + Typescript

This template should help get you started developing with Tauri, React and Typescript in Vite.

## Recommended IDE Setup

- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
14 changes: 14 additions & 0 deletions apps/desktop-test/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tauri + React + Typescript</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
105 changes: 105 additions & 0 deletions apps/desktop-test/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
{
"name": "desktop-test",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"tauri": "tauri",
"tauri:dev": "tauri dev"
},
"dependencies": {
"@huakunshen/comlink": "^4.4.1",
"@fower/atomic-props": "^2.1.1",
"@fower/react": "^2.1.1",
"@glideapps/glide-data-grid": "^6.0.3",
"@iconify/react": "^5.0.1",
"@octokit/auth-app": "^6.0.1",
"@octokit/oauth-app": "^6.0.0",
"@octokit/rest": "^20.0.2",
"@penx/app": "workspace:*",
"@penx/cell-fields": "workspace:*",
"@penx/cmdk": "workspace:*",
"@penx/constants": "workspace:*",
"@penx/database-context": "workspace:*",
"@penx/encryption": "workspace:*",
"@penx/event": "workspace:*",
"@penx/hooks": "workspace:*",
"@penx/icons": "workspace:*",
"@penx/local-db": "workspace:*",
"@penx/mnemonic": "workspace:*",
"@penx/model": "workspace:*",
"@penx/model-types": "workspace:*",
"@penx/session": "workspace:*",
"@penx/shared": "workspace:*",
"@penx/storage": "workspace:*",
"@penx/store": "workspace:*",
"@penx/trpc-client": "workspace:*",
"@penx/unique-id": "workspace:*",
"@penx/wagmi": "workspace:*",
"@penx/widget": "workspace:*",
"@penx/worker": "workspace:*",
"@penxio/worker-ui": "workspace:*",
"@tanstack/react-query": "^4.36.1",
"@tauri-apps/api": "2.0.0-beta.13",
"@tauri-apps/plugin-dialog": "2.0.0-beta.5",
"@tauri-apps/plugin-fs": "2.0.0-beta.5",
"@tauri-apps/plugin-global-shortcut": "2.0.0-beta.5",
"@tauri-apps/plugin-http": "2.0.0-beta.5",
"@tauri-apps/plugin-notification": "2.0.0-beta.5",
"@tauri-apps/plugin-os": "2.0.0-beta.3",
"@tauri-apps/plugin-shell": "2.0.0-beta.6",
"@web3modal/wagmi": "^4.1.11",
"add": "^2.0.6",
"clsx": "^2.1.0",
"cmdk": "^1.0.0",
"idb-keyval": "^6.2.1",
"jotai": "^2.6.0",
"ky": "^1.1.3",
"lucide-react": "^0.344.0",
"next": "14.1.4",
"penx": "workspace:*",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-fast-compare": "^3.2.2",
"react-inlinesvg": "^4.1.3",
"react-markdown": "^9.0.1",
"tauri-plugin-clipboard-api": "^2.0.2",
"tauri-plugin-jarvis-api": "workspace:*",
"tauri-plugin-shellx-api": "^2.0.7",
"uikit": "workspace:*",
"wagmi": "^2.6.0"
},
"devDependencies": {
"@biomejs/biome": "^1.6.3",
"@penx/tsconfig": "workspace:*",
"@tauri-apps/cli": "2.0.0-beta.20",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.2",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.23",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.19",
"cross-env": "^7.0.3",
"cssnano": "^6.1.2",
"eslint": "^8.57.0",
"eslint-config-next": "14.1.0",
"husky": "^9.0.11",
"internal-ip": "^7.0.0",
"lint-staged": "^15.2.2",
"postcss": "^8.4.38",
"postcss-import": "^16.1.0",
"postcss-nesting": "^12.1.1",
"tailwindcss": "^3.4.3",
"typescript": "^5.4.3",
"vite": "^5.0.0"
}
}
6 changes: 6 additions & 0 deletions apps/desktop-test/public/tauri.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/desktop-test/public/vite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions apps/desktop-test/src-tauri/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Generated by Cargo
# will have compiled files and executables
/target/

# Generated by Tauri
# will have schema files for capabilities auto-completion
/gen/schemas
Loading

0 comments on commit c2f044b

Please sign in to comment.