Skip to content
Open
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
49 changes: 49 additions & 0 deletions bun.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,51 @@
"typescript": "^5.8.3",
},
},
"examples/tray-with-custom-tray-menu-window": {
"name": "custom-tray-windows-project",
"version": "0.0.0",
"dependencies": {
"@tauri-apps/plugin-positioner": "^2.2.0",
"vue": "^3.5.13",
},
"devDependencies": {
"@stacksjs/vite-plugin-tauri": "workspace:*",
"@vitejs/plugin-vue": "^5.2.3",
"typescript": "^5.8.3",
"vite": "^6.2.6",
},
},
"examples/tray-with-simple-menu": {
"name": "vite-project",
"version": "0.0.0",
"dependencies": {
"vue": "^3.5.13",
},
"devDependencies": {
"@stacksjs/vite-plugin-tauri": "workspace:*",
"@vitejs/plugin-vue": "^5.2.3",
"typescript": "^5.8.3",
"vite": "^6.2.6",
},
},
"examples/tray-with-submenus": {
"name": "submenu-tray",
"version": "0.0.0",
"dependencies": {
"vue": "^3.5.13",
},
"devDependencies": {
"@stacksjs/vite-plugin-tauri": "workspace:*",
"@vitejs/plugin-vue": "^5.2.3",
"typescript": "^5.8.3",
"vite": "^6.2.6",
},
},
"packages/vite-plugin-tauri": {
"name": "@stacksjs/vite-plugin-tauri",
"version": "0.2.2",
"dependencies": {
"@tauri-apps/plugin-positioner": "^2.2.0",
"@tauri-apps/api": "^2.5.0",
"@tauri-apps/cli": "^2.5.0",
"bunfig": "^0.8.4",
Expand Down Expand Up @@ -539,6 +580,8 @@

"@tauri-apps/cli-win32-x64-msvc": ["@tauri-apps/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-lj43EFYbnAta8pd9JnUq87o+xRUR0odz+4rixBtTUwUgdRdwQ2V9CzFtsMu6FQKpFQ6mujRK6P1IEwhL6ADRsQ=="],

"@tauri-apps/plugin-positioner": ["@tauri-apps/[email protected]", "", { "dependencies": { "@tauri-apps/api": "^2.0.0" } }, "sha512-3JIWqV4U1US4nmM4PGmAHODq0ltkJ91MyANR033elKSSpX3AqKnVQnLz76xThBFHjChJrZwsXASpc2Inpu+cTg=="],

"@tybys/wasm-util": ["@tybys/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw=="],

"@types/bun": ["@types/[email protected]", "", { "dependencies": { "bun-types": "1.2.11" } }, "sha512-ZLbbI91EmmGwlWTRWuV6J19IUiUC5YQ3TCEuSHI3usIP75kuoA8/0PVF+LTrbEnVc8JIhpElWOxv1ocI1fJBbw=="],
Expand Down Expand Up @@ -873,6 +916,8 @@

"csstype": ["[email protected]", "", {}, "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="],

"custom-tray-windows-project": ["custom-tray-windows-project@workspace:examples/tray-with-custom-tray-menu-window"],

"data-view-buffer": ["[email protected]", "", { "dependencies": { "call-bound": "^1.0.3", "es-errors": "^1.3.0", "is-data-view": "^1.0.2" } }, "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ=="],

"data-view-byte-length": ["[email protected]", "", { "dependencies": { "call-bound": "^1.0.3", "es-errors": "^1.3.0", "is-data-view": "^1.0.2" } }, "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ=="],
Expand Down Expand Up @@ -1681,6 +1726,8 @@

"strip-json-comments": ["[email protected]", "", {}, "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="],

"submenu-tray": ["submenu-tray@workspace:examples/tray-with-submenus"],

"superjson": ["[email protected]", "", { "dependencies": { "copy-anything": "^3.0.2" } }, "sha512-5JRxVqC8I8NuOUjzBbvVJAKNM8qoVuH0O77h4WInc/qC2q5IreqKxYwgkga3PfA22OayK2ikceb/B26dztPl+Q=="],

"supports-color": ["[email protected]", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="],
Expand Down Expand Up @@ -1801,6 +1848,8 @@

"vite-plugin-pwa": ["[email protected]", "", { "dependencies": { "debug": "^4.3.6", "pretty-bytes": "^6.1.1", "tinyglobby": "^0.2.10", "workbox-build": "^7.3.0", "workbox-window": "^7.3.0" }, "peerDependencies": { "@vite-pwa/assets-generator": "^1.0.0", "vite": "^3.1.0 || ^4.0.0 || ^5.0.0 || ^6.0.0" }, "optionalPeers": ["@vite-pwa/assets-generator"] }, "sha512-X77jo0AOd5OcxmWj3WnVti8n7Kw2tBgV1c8MCXFclrSlDV23ePzv2eTDIALXI2Qo6nJ5pZJeZAuX0AawvRfoeA=="],

"vite-project": ["vite-project@workspace:examples/tray-with-simple-menu"],

"vitepress": ["[email protected]", "", { "dependencies": { "@docsearch/css": "3.8.2", "@docsearch/js": "3.8.2", "@iconify-json/simple-icons": "^1.2.21", "@shikijs/core": "^2.1.0", "@shikijs/transformers": "^2.1.0", "@shikijs/types": "^2.1.0", "@types/markdown-it": "^14.1.2", "@vitejs/plugin-vue": "^5.2.1", "@vue/devtools-api": "^7.7.0", "@vue/shared": "^3.5.13", "@vueuse/core": "^12.4.0", "@vueuse/integrations": "^12.4.0", "focus-trap": "^7.6.4", "mark.js": "8.11.1", "minisearch": "^7.1.1", "shiki": "^2.1.0", "vite": "^5.4.14", "vue": "^3.5.13" }, "peerDependencies": { "markdown-it-mathjax3": "^4", "postcss": "^8" }, "optionalPeers": ["markdown-it-mathjax3", "postcss"], "bin": { "vitepress": "bin/vitepress.js" } }, "sha512-fCkfdOk8yRZT8GD9BFqusW3+GggWYZ/rYncOfmgcDtP3ualNHCAg+Robxp2/6xfH1WwPHtGpPwv7mbA3qomtBw=="],

"vue": ["[email protected]", "", { "dependencies": { "@vue/compiler-dom": "3.5.13", "@vue/compiler-sfc": "3.5.13", "@vue/runtime-dom": "3.5.13", "@vue/server-renderer": "3.5.13", "@vue/shared": "3.5.13" }, "peerDependencies": { "typescript": "*" }, "optionalPeers": ["typescript"] }, "sha512-wmeiSMxkZCSc+PM2w2VRsOYAZC8GdipNFRTsLSfodVqI9mbejKeXEGr8SckuLnrQPGe3oJN5c3K0vpoU9q/wCQ=="],
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const config: ESLintConfig = stacks({
yaml: true,
ignores: [
'fixtures/**',
'example/src-tauri/**',
'examples/**/src-tauri/**',
],
})

Expand Down
24 changes: 24 additions & 0 deletions examples/tray-with-custom-tray-menu-window/.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 examples/tray-with-custom-tray-menu-window/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Vite + Tauri Example

This example demonstrates the [advanced usage](../README.md#advanced-usage) of the plugin and is used for testing the plugin in CI.
14 changes: 14 additions & 0 deletions examples/tray-with-custom-tray-menu-window/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>Vite + Vue</title>
</head>

<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
22 changes: 22 additions & 0 deletions examples/tray-with-custom-tray-menu-window/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "custom-tray-windows-project",
"type": "module",
"version": "0.0.0",
"private": true,
"scripts": {
"dev": "vite",
"build": "vite build",
"dev:tauri": "bunx --bun vite --config vite.config.tauri.js",
"build:tauri": "bunx --bun vite build --config vite.config.tauri.js",
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.5.13"
},
"devDependencies": {
"@stacksjs/vite-plugin-tauri": "workspace:*",
"@vitejs/plugin-vue": "^5.2.3",
"typescript": "^5.8.3",
"vite": "^6.2.6"
}
}
3 changes: 3 additions & 0 deletions examples/tray-with-custom-tray-menu-window/pkgx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependencies:
bun: ^1.2.9
rust: ^1.76.0
1 change: 1 addition & 0 deletions examples/tray-with-custom-tray-menu-window/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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Generated by Cargo
# will have compiled files and executables
/target/

/gen/schemas
Loading
Loading