diff --git a/.github/workflows/build-pkg.yml b/.github/workflows/build-pkg.yml index ef6d866..24bde39 100644 --- a/.github/workflows/build-pkg.yml +++ b/.github/workflows/build-pkg.yml @@ -2,7 +2,7 @@ name: "build pkg" on: push: - -branches: + branches: - release jobs: @@ -37,8 +37,8 @@ jobs: 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 }}" + tagName: v__VERSION__.${{ github.run_number }} # the action automatically replaces \_\_VERSION\_\_ with the app version + releaseName: "Development Build v__VERSION__.${{ github.run_number }}" releaseBody: "This is a development release from the master branch (Commit ${{ github.sha }})." releaseDraft: false prerelease: true diff --git a/README.md b/README.md index f969d22..b6ccbf9 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,12 @@ A W.I.P desktop application for a new markup-based typesetting language, [typst] Typster is built using [Tauri](https://tauri.app/). -# screenshot +# features +- [ ] +- [ ] + + +## screenshot ![typster](./public/imgs/screen_projects.png) @@ -29,7 +34,7 @@ Typster is built using [Tauri](https://tauri.app/). ``` - xattr -c /Applications/appname.app + xattr -c /Applications/typster.app ``` ### rebuild app icon diff --git a/package.json b/package.json index 96b9697..3d0191f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "typster", "private": true, - "version": "0.3.0", + "version": "0.4.0", "type": "module", "scripts": { "dev": "vite", @@ -17,14 +17,14 @@ "@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", + "radash": "^12.1.0", "today-ui": "^0.0.23", - "vue": "^3.4.21", - "vue-router": "^4.3.0", "vscode-oniguruma": "^2.0.1", - "vscode-textmate": "^9.0.0" + "vscode-textmate": "^9.0.0", + "vue": "^3.4.21", + "vue-router": "^4.3.0" }, "devDependencies": { "@tauri-apps/cli": "^1.5.10", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 216247d..a472828 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,6 +23,9 @@ dependencies: pinia: specifier: ^2.1.7 version: 2.1.7(typescript@5.4.2)(vue@3.4.21) + radash: + specifier: ^12.1.0 + version: 12.1.0 today-ui: specifier: ^0.0.23 version: 0.0.23(vue@3.4.21) @@ -942,6 +945,11 @@ packages: picocolors: 1.0.0 source-map-js: 1.2.0 + /radash@12.1.0: + resolution: {integrity: sha512-b0Zcf09AhqKS83btmUeYBS8tFK7XL2e3RvLmZcm0sTdF1/UUlHSsjXdCcWNxe7yfmAlPve5ym0DmKGtTzP6kVQ==} + engines: {node: '>=14.18.0'} + dev: false + /regenerator-runtime@0.14.1: resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} dev: false diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 5a0b7f5..3487c2f 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -11,7 +11,7 @@ }, "package": { "productName": "typster", - "version": "0.3.0" + "version": "0.4.0" }, "tauri": { "macOSPrivateApi": true, diff --git a/src/components/MonacoEditor.vue b/src/components/MonacoEditor.vue index 7eb29fb..0c20ed9 100644 --- a/src/components/MonacoEditor.vue +++ b/src/components/MonacoEditor.vue @@ -4,12 +4,13 @@