Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Commit de14b62

Browse files
committed
chore: update to latest tauri cli
1 parent 0623686 commit de14b62

File tree

4 files changed

+17
-29
lines changed

4 files changed

+17
-29
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,19 @@
44
55
## Installation
66

7-
Please visit the [documentation website](https://tauri.studio) or our [discord server](https://discord.gg/SpmNs4S) if you have any problems.
7+
Please visit the [documentation website](https://tauri.studio) or our [discord server](https://discord.gg/tauri) if you have any problems.
88

99
### General Prerequisites:
1010

1111
- NodeJS/npm
1212
- Vue CLI (`yarn global add @vue/cli` / `npm i -g @vue/cli`)
1313
- [Rust/Cargo](https://www.rust-lang.org/)
14-
- Tauri CLI (`cargo install tauri-bundler`)
15-
- [Yarn](https://yarnpkg.com/lang/en/) (optional but recommended over npm)
1614

1715
### Detailed Prerequisite Installation Instructions:
1816

19-
- Linux: https://tauri.studio/docs/getting-started/setup-linux/
20-
- Mac: https://tauri.studio/docs/getting-started/setup-macos/
21-
- Windows: https://tauri.studio/docs/getting-started/setup-windows/
17+
- Linux: https://tauri.studio/docs/getting-started/setup-linux
18+
- Mac: https://tauri.studio/docs/getting-started/setup-macos
19+
- Windows: https://tauri.studio/docs/getting-started/setup-windows
2220

2321
### Steps:
2422

generator/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1-
const execa = require('execa')
2-
const { error } = require('@vue/cli-shared-utils')
31
const { init } = require('@tauri-apps/cli/dist/api/cli')
42

53
module.exports = async (api, options) => {
6-
await execa('cargo', ['tauri-bundler', '--version']).catch(() => {
7-
error(
8-
'Tauri bundler crate not installed. Have you installed it with "cargo install tauri-bundler"?'
9-
)
10-
process.exit(1)
11-
})
12-
134
init({
145
directory: api.resolve('.'),
156
appName: options.appName,

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@
1111
"pretest": "rimraf __tests__/temp_projects/*"
1212
},
1313
"dependencies": {
14-
"@tauri-apps/cli": "1.0.0-beta.3",
15-
"@vue/cli-shared-utils": "^4.1.1",
16-
"execa": "^3.4.0"
14+
"@tauri-apps/cli": "1.0.0-beta.6",
15+
"@vue/cli-shared-utils": "^4.1.1"
1716
},
1817
"devDependencies": {
1918
"@vue/cli": "^4.1.1",

yarn.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1678,10 +1678,10 @@
16781678
dependencies:
16791679
defer-to-connect "^2.0.0"
16801680

1681-
"@tauri-apps/cli@1.0.0-beta.3":
1682-
version "1.0.0-beta.3"
1683-
resolved "https://registry.yarnpkg.com/@tauri-apps/cli/-/cli-1.0.0-beta.3.tgz#cede848e26122c8ee607749d84269fcc8d3c2ee1"
1684-
integrity sha512-Z6XAYAgwTuVjEl+gV8Q9t/5Q0Bup4zAU98Y7Mf/5TkIk5gcl31JbvQjskZ1dBxH92817cobbyNmKjsbSaVJXgg==
1681+
"@tauri-apps/cli@1.0.0-beta.6":
1682+
version "1.0.0-beta.6"
1683+
resolved "https://registry.yarnpkg.com/@tauri-apps/cli/-/cli-1.0.0-beta.6.tgz#29e461036ea36a935cd91c0e290957c922ff9aa4"
1684+
integrity sha512-zcF7+diZk3LHcS1/Rwo2f/6hRMY9fOVQYSgqSkjZDGGkTXhysrEiCCc4DwLmB1QES9P0lhRt4CPBJLpH0MdsWA==
16851685
dependencies:
16861686
"@tauri-apps/toml" "2.2.4"
16871687
chalk "4.1.1"
@@ -5689,7 +5689,7 @@ execa@^1.0.0:
56895689
signal-exit "^3.0.0"
56905690
strip-eof "^1.0.0"
56915691

5692-
execa@^3.3.0, execa@^3.4.0:
5692+
execa@^3.3.0:
56935693
version "3.4.0"
56945694
resolved "https://registry.yarnpkg.com/execa/-/execa-3.4.0.tgz#c08ed4550ef65d858fac269ffc8572446f37eb89"
56955695
integrity sha512-r9vdGQk4bmCuK1yKQu1KTwcT2zwfWdbdaXfCtAh+5nU/4fSX+JAb7vZGvI5naJrQlvONrEB20jeruESI69530g==
@@ -13047,9 +13047,9 @@ vue-style-loader@^4.1.0, vue-style-loader@^4.1.2:
1304713047
loader-utils "^1.0.2"
1304813048

1304913049
vue-template-compiler@^2.6.12:
13050-
version "2.6.12"
13051-
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.6.12.tgz#947ed7196744c8a5285ebe1233fe960437fcc57e"
13052-
integrity sha512-OzzZ52zS41YUbkCBfdXShQTe69j1gQDZ9HIX8miuC9C3rBCk9wIRjLiZZLrmX9V+Ftq/YEyv1JaVr5Y/hNtByg==
13050+
version "2.6.14"
13051+
resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.6.14.tgz#a2f0e7d985670d42c9c9ee0d044fed7690f4f763"
13052+
integrity sha512-ODQS1SyMbjKoO1JBJZojSw6FE4qnh9rIpUZn2EUT86FKizx9uH5z6uXiIrm4/Nb/gwxTi/o17ZDEGWAXHvtC7g==
1305313053
dependencies:
1305413054
de-indent "^1.0.2"
1305513055
he "^1.1.0"
@@ -13060,9 +13060,9 @@ vue-template-es2015-compiler@^1.9.0:
1306013060
integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==
1306113061

1306213062
vue@^2.6.11:
13063-
version "2.6.12"
13064-
resolved "https://registry.yarnpkg.com/vue/-/vue-2.6.12.tgz#f5ebd4fa6bd2869403e29a896aed4904456c9123"
13065-
integrity sha512-uhmLFETqPPNyuLLbsKz6ioJ4q7AZHzD8ZVFNATNyICSZouqP2Sz0rotWQC8UNBF6VGSCs5abnKJoStA6JbCbfg==
13063+
version "2.6.14"
13064+
resolved "https://registry.yarnpkg.com/vue/-/vue-2.6.14.tgz#e51aa5250250d569a3fbad3a8a5a687d6036e235"
13065+
integrity sha512-x2284lgYvjOMj3Za7kqzRcUSxBboHqtgRE2zlos1qWaOye5yUmHn42LB1250NJBLRwEcdrB0JRwyPTEPhfQjiQ==
1306613066

1306713067
w3c-hr-time@^1.0.1:
1306813068
version "1.0.2"

0 commit comments

Comments
 (0)