Skip to content

Commit

Permalink
deps(javascript): patch update tauri monorepo BETA->RC (#42)
Browse files Browse the repository at this point in the history
* deps(javascript): patch update tauri monorepo

| datasource | package         | from          | to         |
| ---------- | --------------- | ------------- | ---------- |
| npm        | @tauri-apps/api | 2.0.0-beta.15 | 2.0.0-rc.0 |
| npm        | @tauri-apps/cli | 2.0.0-beta.22 | 2.0.0-rc.3 |
| crate      | tauri           | 2.0.0-beta.24 | 2.0.0-rc.2 |
| crate      | tauri-build     | 2.0.0-beta.19 | 2.0.0-rc.2 |

* deps(rust): patch update rust crate tauri-plugin-shell to v2.0.0-rc.0

| datasource | package            | from         | to         |
| ---------- | ------------------ | ------------ | ---------- |
| crate      | tauri-plugin-shell | 2.0.0-beta.9 | 2.0.0-rc.0 |

* deps(javascript): update tauri apps BETA->RC

* fix(tauri-app): migrate permissions from BETA to RC

https://v2.tauri.app/start/migrate/from-tauri-2-beta/#automated-migration

* tests(tests-e2e-js): sleep for 1sec after spawning driver

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bukowa <gitbukowa@gmail.com>
  • Loading branch information
renovate[bot] and bukowa authored Aug 12, 2024
1 parent 78b9805 commit e1af458
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 82 deletions.
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

106 changes: 53 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions tauri-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"tauri": "tauri"
},
"dependencies": {
"@tauri-apps/api": ">=2.0.0-beta.0",
"@tauri-apps/plugin-shell": ">=2.0.0-beta.0"
"@tauri-apps/api": "^2.0.0-rc.0",
"@tauri-apps/plugin-shell": "^2.0.0-rc.0"
},
"devDependencies": {
"@tauri-apps/cli": "^2.0.0-beta.22",
"@tauri-apps/cli": "^2.0.0-rc.3",
"typescript": "^5.2.2",
"vite": "^5.3.1"
}
Expand Down
16 changes: 8 additions & 8 deletions tauri-app/src-tauri/capabilities/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"description": "Capability for the main window",
"windows": ["main"],
"permissions": [
"path:default",
"event:default",
"window:default",
"app:default",
"image:default",
"resources:default",
"menu:default",
"tray:default",
"core:path:default",
"core:event:default",
"core:window:default",
"core:app:default",
"core:image:default",
"core:resources:default",
"core:menu:default",
"core:tray:default",
"shell:allow-open"
]
}
2 changes: 2 additions & 0 deletions tests-e2e-js/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ describe("Tauri E2E tests", async () => {
beforeEach(async () => {
// Spawn WebDriver process.
webDriver = await e2e.launch.spawnWebDriver()
// wait 1 second
await new Promise(r => setTimeout(r, 1000));
// Create driver session.
driver = new e2e.selenium.Builder().build();
// Wait for the body element to be present
Expand Down

0 comments on commit e1af458

Please sign in to comment.