Skip to content

Commit

Permalink
refact: migrate to tauri v2
Browse files Browse the repository at this point in the history
  • Loading branch information
YanceyOfficial committed Oct 8, 2024
1 parent 658495b commit b1744ad
Show file tree
Hide file tree
Showing 17 changed files with 14,565 additions and 3,561 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cross-platform-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
Expand All @@ -36,12 +36,12 @@ jobs:
- name: Sync node version and setup cache
uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '18.x'

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
version: 6
version: 8

- name: Install frontend dependencies
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cross-platform-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: '18.x'
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: install dependencies (ubuntu only)
Expand Down
95 changes: 49 additions & 46 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,69 +15,72 @@
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"dependencies": {
"@emoji-mart/data": "^1.1.2",
"@emoji-mart/data": "^1.2.1",
"@emoji-mart/react": "^1.1.1",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@heroicons/react": "^2.0.18",
"@mui/material": "^5.14.2",
"@tauri-apps/api": "^1.4.0",
"axios": "^1.4.0",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@heroicons/react": "^2.1.5",
"@mui/material": "^5.16.7",
"@tauri-apps/api": "^2.0.2",
"@tauri-apps/plugin-fs": "~2.0.0",
"@tauri-apps/plugin-shell": "~2.0.0",
"@tauri-apps/plugin-updater": "~2.0.0",
"axios": "^1.7.7",
"change-case": "^4.1.2",
"classnames": "^2.3.2",
"dexie": "^3.2.4",
"dexie-export-import": "^4.0.7",
"dexie-react-hooks": "^1.1.6",
"emoji-mart": "^5.5.2",
"formik": "^2.4.2",
"immer": "^10.0.2",
"js-tiktoken": "^1.0.7",
"luxon": "^3.3.0",
"classnames": "^2.5.1",
"dexie": "^3.2.7",
"dexie-export-import": "^4.1.2",
"dexie-react-hooks": "^1.1.7",
"emoji-mart": "^5.6.0",
"formik": "^2.4.6",
"immer": "^10.1.1",
"js-tiktoken": "^1.0.15",
"luxon": "^3.5.0",
"notistack": "^3.0.1",
"openai": "^3.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-markdown": "^8.0.7",
"react-router-dom": "^6.14.2",
"react-router-dom": "^6.26.2",
"react-syntax-highlighter": "^15.5.0",
"recoil": "^0.7.7",
"rehype-mathjax": "^4.0.3",
"remark-gfm": "^3.0.1",
"remark-math": "^5.1.1",
"uuid": "^9.0.0",
"uuid": "^9.0.1",
"wavesurfer.js": "^6.6.4",
"yancey-js-util": "^3.1.0"
"yancey-js-util": "^3.2.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@tauri-apps/cli": "^1.4.0",
"@types/luxon": "^3.3.1",
"@types/node": "^20.4.5",
"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",
"@types/react-syntax-highlighter": "^15.5.7",
"@types/uuid": "^9.0.2",
"@types/wavesurfer.js": "^6.0.6",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@vitejs/plugin-react": "^4.0.4",
"autoprefixer": "^10.4.14",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@tauri-apps/cli": "^2.0.2",
"@types/luxon": "^3.4.2",
"@types/node": "^20.16.11",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/uuid": "^9.0.8",
"@types/wavesurfer.js": "^6.0.12",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.3.2",
"autoprefixer": "^10.4.20",
"conventional-changelog-cli": "^3.0.0",
"eslint": "^8.46.0",
"eslint": "^8.57.1",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"postcss": "^8.4.27",
"lint-staged": "^13.3.0",
"postcss": "^8.4.47",
"postcss-import": "^15.1.0",
"prettier": "^3.0.0",
"prettier-plugin-organize-imports": "^3.2.3",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-tailwindcss": "^0.4.1",
"tailwindcss": "^3.3.3",
"typescript": "^5.1.6",
"vite": "^4.4.7"
"tailwindcss": "^3.4.13",
"typescript": "^5.6.2",
"vite": "^4.5.5"
}
}
Loading

0 comments on commit b1744ad

Please sign in to comment.