From 4b8c27737450cbf5eeff769d092b8f16c46331b5 Mon Sep 17 00:00:00 2001 From: log1997 <2694233102@qq.com> Date: Wed, 31 Dec 2025 09:25:41 +0800 Subject: [PATCH 1/7] =?UTF-8?q?build:=20=F0=9F=8F=97=EF=B8=8F=20=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E4=B8=8E=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 12 +----------- .husky/scripts/verifyTagVersion.js | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 23 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 940a0a0..9352313 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,16 +51,6 @@ jobs: with: name: web-build path: dist.zip - - - name: Prepare GitHub Pages artifact - run: | - cp -r dist-prod dist-gh-pages - - - name: Upload GitHub Pages artifact - uses: actions/upload-artifact@v4 - with: - name: github-pages - path: dist-gh-pages - name: Prepare GitHub Pages artifact run: | @@ -167,4 +157,4 @@ jobs: name: 'Release ${{ github.ref_name }}' draft: true prerelease: false - generate_release_notes: true \ No newline at end of file + generate_release_notes: true diff --git a/.husky/scripts/verifyTagVersion.js b/.husky/scripts/verifyTagVersion.js index 6fa2fe0..736b78a 100644 --- a/.husky/scripts/verifyTagVersion.js +++ b/.husky/scripts/verifyTagVersion.js @@ -25,10 +25,10 @@ try { } else { console.log('✅ Git tag 版本校验通过'); } - + // 获取 tag 指向的提交哈希 const tagCommit = execSync(`git rev-list -1 ${tag}`, { encoding: 'utf-8' }).trim(); - + // 获取当前分支名称 let currentBranch; try { @@ -37,12 +37,12 @@ try { console.error('无法获取当前分支名称'); process.exit(1); } - + console.log(`当前分支为: ${currentBranch}`); // 检查当前分支是否为 release 分支 - if (currentBranch.startsWith('release/')) { + if (currentBranch.startsWith('release')) { // 如果当前在 release 分支上,检查当前分支的 HEAD 提交是否与 tag 指向的提交一致 const currentBranchCommit = execSync(`git rev-parse ${currentBranch}`, { encoding: 'utf-8' }).trim(); - + if (tagCommit !== currentBranchCommit) { console.log('🏷️ Git tag 指向的提交与当前 release 分支的最新提交不一致'); console.error(`当前 release 分支 "${currentBranch}" 的最新提交为: ${currentBranchCommit}`); @@ -54,27 +54,27 @@ try { } else { // 如果当前不在 release 分支上,查找所有 release 分支并检查是否有分支的 HEAD 与 tag 指向的提交一致 console.log(`🔍 当前在 "${currentBranch}" 分支,检查 tag 指向的提交是否与任何 release 分支的最新提交一致`); - + // 获取所有本地分支 const localBranchesOutput = execSync('git branch --format="%(refname:short)"', { encoding: 'utf-8' }); const localBranches = localBranchesOutput.split('\n').map(b => b.trim()).filter(b => b); - + // 过滤出 release 分支 const releaseBranches = localBranches.filter(branch => branch.startsWith('release/')); - + if (releaseBranches.length === 0) { console.log('⚠️ 未找到 release 分支'); process.exit(1); } - + let foundMatchingBranch = false; let matchingBranchName = ''; - + for (const branch of releaseBranches) { try { // 获取 release 分支的最新提交 const releaseBranchCommit = execSync(`git rev-parse ${branch}`, { encoding: 'utf-8' }).trim(); - + // 检查是否与 tag 指向的提交一致 if (tagCommit === releaseBranchCommit) { foundMatchingBranch = true; @@ -86,7 +86,7 @@ try { continue; } } - + if (!foundMatchingBranch) { console.log('🏷️ Git tag 指向的提交与任何 release 分支的最新提交都不一致'); console.error(`提供的 tag 为: ${tag}`); From 8694236b9d092d1e014938e220b28d94b32ead0d Mon Sep 17 00:00:00 2001 From: log1997 <2694233102@qq.com> Date: Wed, 31 Dec 2025 09:42:31 +0800 Subject: [PATCH 2/7] =?UTF-8?q?build:=20=F0=9F=8F=97=EF=B8=8F=20release.ym?= =?UTF-8?q?l=20github=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 47 ++++++----------------------------- 1 file changed, 8 insertions(+), 39 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9352313..8fee00e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,15 +52,13 @@ jobs: name: web-build path: dist.zip - - name: Prepare GitHub Pages artifact - run: | - cp -r dist-prod dist-gh-pages - - - name: Upload GitHub Pages artifact - uses: actions/upload-artifact@v4 + - name: Deploy to gh-pages branch + uses: peaceiris/actions-gh-pages@v3 with: - name: github-pages - path: dist-gh-pages + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./dist-prod + publish_branch: gh-pages + force_orphan: true publish-tauri: permissions: @@ -108,37 +106,8 @@ jobs: prerelease: false run: pnpm tauri build - deploy-gh-pages: - needs: build-web - runs-on: ubuntu-latest - permissions: - contents: read - pages: write - id-token: write - - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - - steps: - - name: Download GitHub Pages artifact - uses: actions/download-artifact@v4 - with: - name: github-pages - path: dist-gh-pages - - - name: Setup Pages - uses: actions/configure-pages@v3 - - - name: Upload to GitHub Pages - uses: actions/deploy-pages@v2 - id: deployment - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./dist-gh-pages - release: - needs: [build-web, publish-tauri, deploy-gh-pages] + needs: [build-web, publish-tauri] runs-on: ubuntu-latest steps: - name: Checkout code @@ -157,4 +126,4 @@ jobs: name: 'Release ${{ github.ref_name }}' draft: true prerelease: false - generate_release_notes: true + generate_release_notes: true \ No newline at end of file From 6d3bf6df8118de704bc3e0fdc8b4da2eb5246075 Mon Sep 17 00:00:00 2001 From: log1997 <2694233102@qq.com> Date: Wed, 31 Dec 2025 10:50:07 +0800 Subject: [PATCH 3/7] =?UTF-8?q?style:=20=F0=9F=92=84=20update=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 60f0fc1..60ab745 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "log-lottery", "private": true, - "version": "0.5.0", + "version": "0.5.1", "type": "module", "license": "MIT", "scripts": { diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index c9d8336..a5a2c37 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -77,7 +77,7 @@ checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" [[package]] name = "app" -version = "0.5.0" +version = "0.5.1" dependencies = [ "log", "serde", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 271af99..1b76ac0 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "app" -version = "0.5.0" +version = "0.5.1" description = "A Tauri App" authors = ["you"] license = "" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index a96850f..5bde759 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "log-lottery", - "version": "0.5.0", + "version": "0.5.1", "identifier": "to2026.xyz", "build": { "frontendDist": "../dist", From ae73097e1a50e81ec540d937863875abcf6011e7 Mon Sep 17 00:00:00 2001 From: log1997 <2694233102@qq.com> Date: Wed, 31 Dec 2025 12:09:34 +0800 Subject: [PATCH 4/7] =?UTF-8?q?style(eslint):=20=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=BC=A9=E8=BF=9B=E8=A7=84=E8=8C=83=E4=B8=BA?= =?UTF-8?q?4=E4=B8=AA=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eslint.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eslint.config.js b/eslint.config.js index 4a795e5..a08200b 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -8,6 +8,8 @@ export default antfu( rules: { 'no-console': 'warn', 'no-debugger': 'warn', + 'style/indent': ['error', 4], + 'indent': ['error', 4, { 'SwitchCase': 1 }], } }, -) +) \ No newline at end of file From a907a0dad6e0fc3bd3e392da5620141fa06cd9bf Mon Sep 17 00:00:00 2001 From: log1997 <2694233102@qq.com> Date: Wed, 31 Dec 2025 12:10:33 +0800 Subject: [PATCH 5/7] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=A4=B4=E5=83=8F=E6=97=B6=EF=BC=8C=E5=A4=B4=E5=83=8F?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E8=AF=B7=E6=B1=82=E4=B8=80=E7=9B=B4=E5=8F=91?= =?UTF-8?q?=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Home/useViewModel.ts | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/src/views/Home/useViewModel.ts b/src/views/Home/useViewModel.ts index 7e568d2..7169392 100644 --- a/src/views/Home/useViewModel.ts +++ b/src/views/Home/useViewModel.ts @@ -125,15 +125,20 @@ export function useViewModel() { detail.style.display = 'none' element.appendChild(detail) - const avatar = document.createElement('img') - avatar.className = 'card-avatar' - avatar.src = tableData.value[i].avatar - avatar.alt = 'avatar' - avatar.style.width = '140px' - avatar.style.height = '140px' - if (!isShowAvatar.value) - avatar.style.display = 'none' - element.appendChild(avatar) + if (isShowAvatar.value) { + const avatar = document.createElement('img') + avatar.className = 'card-avatar' + avatar.src = tableData.value[i].avatar + avatar.alt = 'avatar' + avatar.style.width = '140px' + avatar.style.height = '140px' + element.appendChild(avatar) + } + else { + const avatarEmpty = document.createElement('div') + avatarEmpty.style.display = 'none' + element.appendChild(avatarEmpty) + } element = useElementStyle(element, tableData.value[i], i, patternList.value, patternColor.value, cardColor.value, cardSize.value, textSize.value) const object = new CSS3DObject(element) @@ -518,7 +523,7 @@ export function useViewModel() { * @param {string} mod 模式 */ function randomBallData(mod: 'default' | 'lucky' | 'sphere' = 'default') { - // 两秒执行一次 + // 两秒执行一次 intervalTimer.value = setInterval(() => { // 产生随机数数组 const indexLength = 4 @@ -576,7 +581,7 @@ export function useViewModel() { * @description: 清理资源,避免内存溢出 */ function cleanup() { - // 停止所有Tween动画 + // 停止所有Tween动画 TWEEN.removeAll() // 清理动画循环 From 8ab396590eed7c4435ca902ff5ed514715d905cb Mon Sep 17 00:00:00 2001 From: log1997 <2694233102@qq.com> Date: Wed, 31 Dec 2025 12:37:37 +0800 Subject: [PATCH 6/7] =?UTF-8?q?feat(Home):=20=E4=BC=98=E5=8C=96=E9=9A=8F?= =?UTF-8?q?=E6=9C=BA=E5=85=83=E7=B4=A0=E9=80=89=E6=8B=A9=E7=AE=97=E6=B3=95?= =?UTF-8?q?=EF=BC=8C=E5=88=A0=E9=99=A4=E5=B7=B2=E6=8A=BD=E5=8F=96=E7=9A=84?= =?UTF-8?q?=E5=85=83=E7=B4=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Home/utils/random.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/Home/utils/random.ts b/src/views/Home/utils/random.ts index acb2dd1..34d9852 100644 --- a/src/views/Home/utils/random.ts +++ b/src/views/Home/utils/random.ts @@ -46,7 +46,10 @@ export function getRandomElements(sourceArray: T[], count: number): T[] { crypto.getRandomValues(randomBuffer) const randomIndex = randomBuffer[0] % newArray.length + // 添加选中的元素到结果数组 result.push(newArray[randomIndex]) + // 从原数组中移除已选中的元素,避免重复选择 + newArray.splice(randomIndex, 1) } return result From a01baeaa025f8d61bce07663bdc9b3c86e7361f4 Mon Sep 17 00:00:00 2001 From: log1997 <2694233102@qq.com> Date: Wed, 31 Dec 2025 12:46:25 +0800 Subject: [PATCH 7/7] =?UTF-8?q?chore:=20=E2=9C=8F=EF=B8=8F=20=E5=8D=87?= =?UTF-8?q?=E7=BA=A7=E7=89=88=E6=9C=AC+=E5=8D=87=E7=BA=A7=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E7=9A=84=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/updateVersion.js | 58 ++++++++++ package.json | 223 +++++++++++++++++++------------------- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 4 +- 4 files changed, 173 insertions(+), 114 deletions(-) create mode 100644 build/updateVersion.js diff --git a/build/updateVersion.js b/build/updateVersion.js new file mode 100644 index 0000000..0e10521 --- /dev/null +++ b/build/updateVersion.js @@ -0,0 +1,58 @@ +import fs from 'fs'; +import path from 'path'; +import { fileURLToPath } from 'url'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +// 从命令行参数获取版本号 +const args = process.argv.slice(2); +let version = args[0]; + +if (!version) { + console.error('错误: 请提供版本号作为参数'); + console.error('用法: node build/updateVersion.js '); + process.exit(1); +} + +// 验证版本号格式 (遵循语义化版本号格式,如 x.y.z) +const versionRegex = /^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$/; +if (!versionRegex.test(version)) { + console.error(`错误: 版本号格式不正确: ${version}`); + console.error('正确的版本号格式示例: 1.0.0, 2.1.3, 0.5.0-beta 等'); + process.exit(1); +} + +// 更新 package.json +const packageJsonPath = path.join(__dirname, '..', 'package.json'); +const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8')); +packageJson.version = version; +fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2)); + +// 读取并更新 tauri.conf.json +const tauriConfPath = path.join(__dirname, '..', 'src-tauri', 'tauri.conf.json'); +const tauriConf = JSON.parse(fs.readFileSync(tauriConfPath, 'utf8')); + +// 更新版本号 +tauriConf.version = version; + +// 写回 tauri.conf.json +fs.writeFileSync(tauriConfPath, JSON.stringify(tauriConf, null, 2)); + +// 读取并更新 Cargo.toml +const cargoTomlPath = path.join(__dirname, '..', 'src-tauri', 'Cargo.toml'); +let cargoToml = fs.readFileSync(cargoTomlPath, 'utf8'); + +// 使用正则表达式替换版本号 +cargoToml = cargoToml.replace( + /^(\s*version\s*=\s*["'])([^"']*)(["']\s*)$/m, + `$1${version}$3` +); + +// 写回 Cargo.toml +fs.writeFileSync(cargoTomlPath, cargoToml); + +console.log(`版本号已更新至: ${version}`); +console.log(`- package.json`); +console.log(`- tauri.conf.json`); +console.log(`- Cargo.toml`); \ No newline at end of file diff --git a/package.json b/package.json index 60f0fc1..18dad66 100644 --- a/package.json +++ b/package.json @@ -1,113 +1,114 @@ { - "name": "log-lottery", - "private": true, - "version": "0.5.0", - "type": "module", - "license": "MIT", - "scripts": { - "dev": "vite --host 0.0.0.0", - "build": "vue-tsc --noEmit && vite build", - "build:pre": "vue-tsc --noEmit && vite build --mode prebuild", - "build:file": "vue-tsc --noEmit && vite build --mode file", - "tauri": "node ./build/syncVersion.js && tauri", - "test": "vitest", - "test:ui": "vitest --ui", - "preview": "vite preview", - "lint": "eslint ./src", - "lint:fix": "eslint ./src --fix", - "prepare": "husky" - }, - "dependencies": { - "@tweenjs/tween.js": "23.1.2", - "@vueuse/core": "^14.1.0", - "axios": "^1.13.2", - "canvas-confetti": "^1.9.4", - "class-variance-authority": "^0.7.1", - "clsx": "^2.1.1", - "dayjs": "^1.11.19", - "dexie": "^4.2.1", - "github-markdown-css": "^5.8.1", - "gsap": "^3.14.2", - "localforage": "^1.10.0", - "lodash-es": "^4.17.22", - "lucide-vue-next": "^0.562.0", - "markdown-it": "^14.1.0", - "masonry-layout": "^4.2.2", - "pinia": "^3.0.4", - "pinia-plugin-persist": "^1.0.0", - "reka-ui": "^2.7.0", - "sparticles": "^1.3.1", - "tailwind-merge": "^3.4.0", - "three": "0.166.0", - "three-css3d": "1.0.6", - "uuid": "^13.0.0", - "vue": "^3.5.26", - "vue-dompurify-html": "^5.3.0", - "vue-draggable-plus": "^0.6.0", - "vue-i18n": "^11.2.7", - "vue-router": "^4.6.4", - "vue-sonner": "^2.0.9", - "vue-toast-notification": "^3", - "vue3-colorpicker": "^2.3.0", - "xlsx": "^0.18.5", - "zod": "^4.2.1" - }, - "devDependencies": { - "@antfu/eslint-config": "^6.7.3", - "@eslint/eslintrc": "^3.3.3", - "@eslint/js": "^9.39.2", - "@iconify-json/ep": "^1.2.3", - "@iconify-json/fluent": "^1.2.36", - "@tailwindcss/typography": "^0.5.19", - "@tailwindcss/vite": "^4.1.18", - "@tauri-apps/cli": "^2.9.6", - "@testing-library/vue": "^8.1.0", - "@types/canvas-confetti": "^1.9.0", - "@types/lodash-es": "^4.17.12", - "@types/markdown-it": "^14.1.2", - "@types/masonry-layout": "^4.2.8", - "@types/node": "^25.0.3", - "@types/three": "0.166.0", - "@typescript-eslint/eslint-plugin": "^8.50.1", - "@typescript-eslint/parser": "^8.50.1", - "@vitejs/plugin-legacy": "^7.2.1", - "@vitejs/plugin-vue": "^6.0.3", - "@vitest/ui": "^4.0.16", - "@vue/test-utils": "^2.4.6", - "@vue/tsconfig": "^0.8.1", - "autoprefixer": "^10.4.23", - "baseline-browser-mapping": "^2.9.11", - "child_process": "^1.0.2", - "daisyui": "^5.5.14", - "eslint": "^9.39.2", - "eslint-plugin-vue": "^10.6.2", - "fast-glob": "^3.3.3", - "globals": "^16.5.0", - "happy-dom": "^20.0.11", - "husky": "^9.1.7", - "jsdom": "^27.3.0", - "path": "^0.12.7", - "postcss": "^8.5.6", - "rollup-plugin-visualizer": "^6.0.5", - "sass": "^1.97.1", - "sass-loader": "^16.0.6", - "tailwindcss": "^4.1.18", - "terser": "^5.44.1", - "tw-animate-css": "^1.4.0", - "typescript": "~5.9.3", - "unplugin-auto-import": "^20.3.0", - "unplugin-icons": "^22.5.0", - "unplugin-vue-components": "^30.0.0", - "vite": "^7.3.0", - "vite-plugin-compression": "^0.5.1", - "vite-plugin-inspect": "^11.3.3", - "vite-plugin-svg-icons": "^2.0.1", - "vite-plugin-vue-devtools": "^8.0.5", - "vitest": "^4.0.16", - "vue-tsc": "^3.2.1" - }, - "engines": { - "node": ">=22.x" - }, - "packageManager": "pnpm@10.26.1" + "name": "log-lottery", + "private": true, + "version": "0.5.2", + "type": "module", + "license": "MIT", + "scripts": { + "dev": "vite --host 0.0.0.0", + "build": "vue-tsc --noEmit && vite build", + "build:pre": "vue-tsc --noEmit && vite build --mode prebuild", + "build:file": "vue-tsc --noEmit && vite build --mode file", + "tauri": "node ./build/syncVersion.js && tauri", + "update-version": "node ./build/updateVersion.js", + "test": "vitest", + "test:ui": "vitest --ui", + "preview": "vite preview", + "lint": "eslint ./src", + "lint:fix": "eslint ./src --fix", + "prepare": "husky" + }, + "dependencies": { + "@tweenjs/tween.js": "23.1.2", + "@vueuse/core": "^14.1.0", + "axios": "^1.13.2", + "canvas-confetti": "^1.9.4", + "class-variance-authority": "^0.7.1", + "clsx": "^2.1.1", + "dayjs": "^1.11.19", + "dexie": "^4.2.1", + "github-markdown-css": "^5.8.1", + "gsap": "^3.14.2", + "localforage": "^1.10.0", + "lodash-es": "^4.17.22", + "lucide-vue-next": "^0.562.0", + "markdown-it": "^14.1.0", + "masonry-layout": "^4.2.2", + "pinia": "^3.0.4", + "pinia-plugin-persist": "^1.0.0", + "reka-ui": "^2.7.0", + "sparticles": "^1.3.1", + "tailwind-merge": "^3.4.0", + "three": "0.166.0", + "three-css3d": "1.0.6", + "uuid": "^13.0.0", + "vue": "^3.5.26", + "vue-dompurify-html": "^5.3.0", + "vue-draggable-plus": "^0.6.0", + "vue-i18n": "^11.2.7", + "vue-router": "^4.6.4", + "vue-sonner": "^2.0.9", + "vue-toast-notification": "^3", + "vue3-colorpicker": "^2.3.0", + "xlsx": "^0.18.5", + "zod": "^4.2.1" + }, + "devDependencies": { + "@antfu/eslint-config": "^6.7.3", + "@eslint/eslintrc": "^3.3.3", + "@eslint/js": "^9.39.2", + "@iconify-json/ep": "^1.2.3", + "@iconify-json/fluent": "^1.2.36", + "@tailwindcss/typography": "^0.5.19", + "@tailwindcss/vite": "^4.1.18", + "@tauri-apps/cli": "^2.9.6", + "@testing-library/vue": "^8.1.0", + "@types/canvas-confetti": "^1.9.0", + "@types/lodash-es": "^4.17.12", + "@types/markdown-it": "^14.1.2", + "@types/masonry-layout": "^4.2.8", + "@types/node": "^25.0.3", + "@types/three": "0.166.0", + "@typescript-eslint/eslint-plugin": "^8.50.1", + "@typescript-eslint/parser": "^8.50.1", + "@vitejs/plugin-legacy": "^7.2.1", + "@vitejs/plugin-vue": "^6.0.3", + "@vitest/ui": "^4.0.16", + "@vue/test-utils": "^2.4.6", + "@vue/tsconfig": "^0.8.1", + "autoprefixer": "^10.4.23", + "baseline-browser-mapping": "^2.9.11", + "child_process": "^1.0.2", + "daisyui": "^5.5.14", + "eslint": "^9.39.2", + "eslint-plugin-vue": "^10.6.2", + "fast-glob": "^3.3.3", + "globals": "^16.5.0", + "happy-dom": "^20.0.11", + "husky": "^9.1.7", + "jsdom": "^27.3.0", + "path": "^0.12.7", + "postcss": "^8.5.6", + "rollup-plugin-visualizer": "^6.0.5", + "sass": "^1.97.1", + "sass-loader": "^16.0.6", + "tailwindcss": "^4.1.18", + "terser": "^5.44.1", + "tw-animate-css": "^1.4.0", + "typescript": "~5.9.3", + "unplugin-auto-import": "^20.3.0", + "unplugin-icons": "^22.5.0", + "unplugin-vue-components": "^30.0.0", + "vite": "^7.3.0", + "vite-plugin-compression": "^0.5.1", + "vite-plugin-inspect": "^11.3.3", + "vite-plugin-svg-icons": "^2.0.1", + "vite-plugin-vue-devtools": "^8.0.5", + "vitest": "^4.0.16", + "vue-tsc": "^3.2.1" + }, + "engines": { + "node": ">=22.x" + }, + "packageManager": "pnpm@10.26.1" } \ No newline at end of file diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 271af99..91204f5 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "app" -version = "0.5.0" +version = "0.5.2" description = "A Tauri App" authors = ["you"] license = "" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index a96850f..3c245a4 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "productName": "log-lottery", - "version": "0.5.0", + "version": "0.5.2", "identifier": "to2026.xyz", "build": { "frontendDist": "../dist", @@ -34,4 +34,4 @@ "icons/icon.ico" ] } -} +} \ No newline at end of file