Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #1

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/build-pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: "build pkg"

on:
push:
branches:
- dev

jobs:
publish-tauri:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
platform: [ windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 20
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable

- name: install frontend dependencies
run: |
npm install -g pnpm
pnpm install --frozen-lockfile
- name: configure macOS build
if: matrix.platform == 'macos-latest'
run: |
# Ensure that we have the aarch64 toolchain available for cross-compilation
rustup target add aarch64-apple-darwin
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: ${{ matrix.platform == 'macos-latest' && '--target universal-apple-darwin' || '' }}
tagName: v__VERSION__-dev.${{ github.run_number }} # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "Development Build v__VERSION__-dev.${{ github.run_number }}"
releaseBody: "This is a development release from the master branch (Commit ${{ github.sha }})."
releaseDraft: false
prerelease: true
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
# typster
typst reader and editor
# typster
![](./app-icon.png)

typst reader and editor

# rebuild app icon

```
pnpm tauri icon
```
Binary file added app-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 22 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,37 @@
{
"name": "typster",
"private": true,
"version": "0.0.0",
"version": "0.2.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"tauri": "tauri",
"start":"pnpm tauri dev",
"pack":"pnpm tauri build --target aarch64-apple-darwin"
"td": "tauri dev",
"tb": "tauri build",
"start": "pnpm tauri dev",
"pack": "pnpm tauri build"
},
"dependencies": {
"vue": "^3.2.45",
"@tauri-apps/api": "^1.2.0"
"@ant-design/icons-vue": "^7.0.1",
"@tauri-apps/api": "^1.5.3",
"ant-design-vue": "4.x",
"github-markdown-css": "^5.5.1",
"monaco-editor": "^0.46.0",
"pinia": "^2.1.7",
"today-ui": "^0.0.23",
"vue": "^3.4.21",
"vue-router": "^4.3.0",
"vscode-oniguruma": "^2.0.1",
"vscode-textmate": "^9.0.0"
},
"devDependencies": {
"@types/node": "^18.7.10",
"@vitejs/plugin-vue": "^4.0.0",
"typescript": "^4.6.4",
"vite": "^4.0.0",
"vue-tsc": "^1.0.11",
"@tauri-apps/cli": "^1.2.2"
"@tauri-apps/cli": "^1.5.10",
"@types/node": "^20.11.25",
"@vitejs/plugin-vue": "^5.0.4",
"typescript": "^5.4.2",
"vite": "^5.1.5",
"vue-tsc": "^2.0.5"
}
}
7 changes: 0 additions & 7 deletions package/.vscode/extensions.json

This file was deleted.

21 changes: 0 additions & 21 deletions package/LICENSE

This file was deleted.

16 changes: 0 additions & 16 deletions package/README.md

This file was deleted.

14 changes: 0 additions & 14 deletions package/index.html

This file was deleted.

26 changes: 0 additions & 26 deletions package/package.json

This file was deleted.

6 changes: 0 additions & 6 deletions package/public/tauri.svg

This file was deleted.

1 change: 0 additions & 1 deletion package/public/vite.svg

This file was deleted.

Loading
Loading