Commit Graph

457 Commits

Author SHA1 Message Date
Jacob Bolda
40ac52971e
feat: create-tauri-app wiring (#1442)
* chore(deps) Update Tauri JS CLI (#1319)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps) Update Tauri Core (#1318)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps) Update Tauri API (#1316)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps) Update Rust crate serde_json to 1.0.64 (#1315)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps) Update Rust crate once_cell to 1.7.2 (#1314)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps) Update Rust crate image to 0.23.14 (#1313)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* feat(cli/build): improve no distDir error message (#1306)

* feat(cli/build): improve no distDir error message

* chore: use Path's Display impl

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* chore(deps) Update Tauri API Definitions (#1317)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* feat(bundler/wix): install webview2 runtime (#1329)

* feat(bundler/wix): install webview2 runtime

* add changefile

* chore(deps) Update Tauri API Definitions (major) (#1290)

* chore(deps) Update Tauri API Definitions

* chore: update to husky v5

* chore: remove husky script

* chore: recreate lock file

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* chore(deps) Update Tauri JS CLI (#1291)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* refactor(core): app hooks (#1332)

* fix(api/window): rename manager export to appWindow (#1342)

* feat(api/shell): allow open command to open files (#1341)

* chore(deps) Update Tauri API Definitions (#1344)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps) Update Rust crate tokio to 1.3 (#1343)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps) Update Rust crate open to 1.6.0 (#1348)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix(core): wrong usage of wry RPC on event API (#1351)

* copy cli config definition window visibility defaults (#1353)

* feat(core): add file drop handler (#1352)

* fix: get correct resource dir in AppImge (fix #1308) (#1333)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* feat: build without proc macros (#1226)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* chore(deps) Update Tauri JS CLI (#1346)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* refactor(core): use Mutex in std to reduce async usage (#1350)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* fix(examples): build error (#1354)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* API example new ui (#1310)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* chore(deps): remove `winres` from template (#1357)

* refactor(core): add `unlisten`, `once` APIs to the event system (#1359)

* fix(cli): use correct arg in `_blanks` links polyfill (#1362)

* fix(api/http): correct types (#1360)

* fix(api/http): correct types

* Add changes

* Update correct-http-api-types.md

* chore(deps) Update Tauri JS CLI (#1364)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps) Update Tauri API Definitions (#1363)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix(tauri/webview): Use different user_data_path for Windows (#1365) (#1366)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* fix(config): serde_json::Value::Object takes a Map instead of HashMap (#1371)

* fix(config): serde_json::Value::Object takes a Map instead of HashMap

* fix: fmt

* fix(tauri.js): init command properly building with manifests (#1374)

* fix(tauri.js): init command properly building with manifests

* fix: tests

* feat(bundler): add visual c++ redistributable files with MSM (#1368)

* refactor(core): reduce usage on arc and mutex (#1361)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* feat(config): allow setting product name and version on tauri.conf.json (#1358)

* feat: add current working directory to path api module (#1375)

* refactor(core): move bundle script to /tauri crate (#1377)

* refactor(core): move bundle script to /tauri crate

* fix(cli): clippy

* fix(core): tests

* refactor(core): custom protocol URL uses the app identifier (#1376)

* refactor(core): custom protocol URL uses the app identifier

* fix: clippy

* fix(tauri-api): remove .exe from app_name on windows (#1379)

* chore(deps) Update Tauri API Definitions (#1384)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps) Update Rust crate tokio to 1.4 (#1383)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix(cli): prmpt user before install deps in init (#1381)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* chore(deps) Update dependency rollup to v2.42.4 (#1386)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* refactor(cli): rewrite init command in Rust (#1382)

Co-authored-by: nothingismagick <denjell@mailscript.com>

* refactor(bundler): specific settings on dedicated structs, update README (#1380)

* replace lazy_static uses with once_cell (#1391)

* chore(deps) Update Tauri JS CLI (#1385)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* refactor(cli): rewrite info in Rust (#1389)

* refactor(core): remove async from app hooks, add InvokeMessage type (#1392)

* fix(cli): disable custom-protocol feature on dev command (#1393)

* Fix extremely slow dev builds caused by embedding + compressing assets at compile time (#1395)

* feat(bundler) code signing (#473)

Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>
Co-authored-by: David Lemarier <david@lemarier.ca>

* feat(cli): run beforeDev and beforeBuild in a shell, closes #1295 (#1399)

* update to sharp 0.28.0 for cpu arm (m1) (#1404)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* feat(cli): propagate args passed after `dev --`, closes #1406 (#1407)

* refactor(api): use secure RNG, closes #1356 (#1398)

* chore(deps) Update Tauri API Definitions (#1411)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps) Update Rust crate rfd to 0.2.2 (#1410)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps) Update Tauri CLI (#1413)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps) Update Tauri Bundler (#1412)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* refactor(core): rewrite shell execute API, closes #1229 (#1408)

* chore(deps) Update dependency @rollup/plugin-commonjs to v18 (#1415)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps) Update Tauri JS CLI (#1414)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix: asset resolution on debug mode

* fix(core): ignore query string on custom protocol asset resolver (#1420)

* wire up existing and adjust recipe configuration

* merge dev

* fix default app name

* clean up vanillajs and proper pass args

* use scaffe to copy the react templates

* fix(api): remove cjs, rename .mjs to .js

* chore: tauri.js dead code elim (#1422)

* remove templates, only used it CTA

* help command is empty, remove

* delete files that aren't imported / required

* set files array to ignore src and config files

* remove unused deps

* add arch notes for future ref

* change file

* allow specifying a binary

* resolve last bits to reach scaffe

* adjust vanilla js template dir path

Co-authored-by: Sanket Chaudhari <chaudharisanket2000@gmail.com>

* fix up cra scaffolding

* remove none and rely on vanillajs

* log shell commands

* remove no recipe question branch

* shift react template for better overwrite copying

* update deps

* simple readme

* implement dep manager

* pretty

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Noah Klayman <noahklayman@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Gabe Cohen <gcc3.14@gmail.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Alve Larsson <larsalvelarsson@gmail.com>
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
Co-authored-by: Kid <44045911+kidonng@users.noreply.github.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: nothingismagick <denjell@mailscript.com>
Co-authored-by: William <william@venner.io>
Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>
Co-authored-by: Mehdi Rezaei <mehdiraized@gmail.com>
Co-authored-by: Sanket Chaudhari <chaudharisanket2000@gmail.com>
2021-04-11 04:22:07 -05:00
Sanket Chaudhari
c580338f07
feat(cli): add create-tauri-app (#1106)
* feat(cta): initial commit

* feat(cta): define project structure

* feat(cta): add create function and vanilla template

* feat(cli): remove redundant line

* fix(create-tauri-app): remove unused dep

* chore(create-tauri-app/package): upgrade tauri

* feat(create-tauri-app): use yarn if installed

* chore: add minimist to parse args

* feat(create-tauri-app): add recipe structure

* feat(create-tauri-app): organize recipe

* feat: removes installDependencies

* remove notes

* add change file

Co-authored-by: Noah Klayman <noahklayman@gmail.com>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2021-03-07 02:29:38 -06:00
Jacob Bolda
4ec20a4a28
feat: shift tauri create [not wired up] (#1330)
* Partial revert "refactor(tauri.js): remove create command (#1265)"

This reverts commit b29c0685bc.

* shift templates/recipes over

* shift remaining files that weren't removed

* add change file

* rename to create-tauri-app

* adjust covector config
2021-03-07 01:29:06 -06:00
Lucas Fernandes Nogueira
b0c1009098
refactor(core): use wry RPC API (#1327) 2021-03-06 23:19:12 -03:00
Noah Klayman
427d170930
feat(api/invoke): separate cmd arg (#1321) 2021-03-04 21:18:25 -03:00
Lucas Fernandes Nogueira
ba9146df5b
chore(deps): remove runas, closes #1000 (#1309) 2021-03-01 11:27:19 -03:00
Fernando Chu
4a996fd3b9
Add space after commas in command list (#1307) 2021-02-28 21:49:21 -03:00
Noah Klayman
1f2e7a3226
feat(core): improved command matching with macros, fixes #1157 (#1301)
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2021-02-28 10:55:48 -08:00
chip
591f1ba846
use Wry as default ApplicationExt (#1303)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-02-28 10:34:43 -03:00
Noah Klayman
0c691f40a3
feat(core): Use Wry custom protocol instead of embedded server (#1296)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-02-25 17:07:30 -08:00
renovate[bot]
c16a2730ff
chore(deps) Update dependency webpack to v5.24.2 (#1292)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-24 20:06:27 -03:00
renovate[bot]
973e60209a
chore(deps) Update Tauri CLI (#1282)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-24 15:16:31 -03:00
renovate[bot]
82d02c4205
chore(deps) Update Tauri JS CLI (#1284)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-24 15:01:20 -03:00
renovate[bot]
d7f9abec06
chore(deps) Update Rust crate attohttpc to 0.16.3 (#1279)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-24 00:44:21 -03:00
Lucas Fernandes Nogueira
9f099912c1
chore(deps): update wry (#1278)
* chore(deps): update wry

* fix: clippy
2021-02-24 00:43:21 -03:00
Lucas Fernandes Nogueira
35c75b4197
refactor(api): reorganize and rename methods (#1277) 2021-02-23 23:30:14 -03:00
Lucas Fernandes Nogueira
b1e6b74a4f
refactor(cli): decouple bundler from cargo (#1269) 2021-02-21 16:11:40 -03:00
Noah Klayman
b29c0685bc
refactor(tauri.js): remove create command (#1265)
also fixes window title not setting properly because window config is an array
2021-02-21 11:26:56 -03:00
Lucas Fernandes Nogueira
f656799705
chore(cli): remove unused code (#1267) 2021-02-21 00:19:21 -03:00
Lucas Fernandes Nogueira
4963d00e5d
fix(cli): do not serialize None config values (#1266) 2021-02-20 23:35:01 -03:00
Lucas Fernandes Nogueira
e0be59ea26
refactor(core): split allowlist configuration per module (#1263)
* refactor(core): split allowlist configuration per module

* fix: build with all features

* fix(cli): run fmt

* fix(core): run fmt
2021-02-20 14:09:18 -03:00
Lucas Fernandes Nogueira
75eaaf0132
refactor: move schema validation to the Rust CLI (#1262) 2021-02-20 11:36:17 -03:00
Lucas Fernandes Nogueira
33eb49c4c0
refactor: use own invoke return struct instead of serde_json::Value (#1259) 2021-02-18 16:57:29 -03:00
Lucas Fernandes Nogueira
e7bd8c5920
fix(cli): beforeDev/beforeBuild cmds on windows - find cmd with which (#1256) 2021-02-17 23:27:48 -03:00
Lucas Fernandes Nogueira
f51801f790
fix(bundler): wix installer icon path, closes #1003 (#1254)
* fix(bundler): wix installer icon path, closes #1003

* fix: build
2021-02-17 23:27:26 -03:00
renovate[bot]
cb250d4cec
chore(deps) Update Tauri JS CLI (#1248)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-17 19:51:59 -03:00
Lucas Fernandes Nogueira
641374b153
feat(core): window creation at runtime (#1249) 2021-02-17 11:15:04 -03:00
Lucas Fernandes Nogueira
1c9d426d61
fix(cli): kill before_dev_command process when the webview is closed (#1240) 2021-02-16 02:17:35 -03:00
Lucas Fernandes Nogueira
ea7332539d
refactor(core): all API are now promise based (#1239) 2021-02-16 01:23:15 -03:00
Lucas Fernandes Nogueira
e34ee4c29c
fix(bundler): workspace detection, closes #1007 (#1235) 2021-02-14 17:57:59 -03:00
Lucas Fernandes Nogueira
772d83e8fd
fix(core): cli argument parser API not exiting on failure, update to latest (#1234) 2021-02-14 11:14:06 -03:00
Noah Klayman
4db2196c06
fix(cli/core/dev): ensure distDir exists (#1228)
__tauri.js could be written to a nonextistent dir otherwise
2021-02-13 16:28:09 -03:00
Lucas Fernandes Nogueira
ae76c60a61
fix(bundler): appimage paths and filename (#1227) 2021-02-13 15:06:39 -03:00
Noah Klayman
99635c3b6a
fix(bundler): remove unused code (#1221)
* fix(bundler): remove unused code

* Revert "fix(bundler): remove unused code"

This reverts commit 8f5188c8a2.

* chore: use is_some instead

* fix: tauri config is a Result

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-02-13 12:11:29 -03:00
Lucas Fernandes Nogueira
77fc730671
refactor(core): split endpoint API matching into modules (#1219) 2021-02-12 02:42:40 -03:00
Lucas Fernandes Nogueira
07208dff6c
feat(core): add mult-window support (#1217) 2021-02-11 21:50:39 -03:00
Lucas Fernandes Nogueira
35468f68e5
chore(fmt): merge imports (#1216) 2021-02-11 03:22:42 -03:00
Lucas Fernandes Nogueira
84d7cdae63
refactor(core): remove no-server and its APIs (#1215) 2021-02-11 02:33:18 -03:00
renovate[bot]
cf94cd4770
chore(deps) Update Tauri JS CLI (#1202)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-11 00:13:33 -03:00
Noah Klayman
4d507f9adf
feat(cli/core): add support for building without targets (#1203) 2021-02-11 00:13:06 -03:00
Lucas Fernandes Nogueira
df32e18be3
feat(repo): add setup scripts (#1189) 2021-02-10 02:24:38 -03:00
renovate[bot]
7aa88ddbac
chore(deps) Update Rust crate image to 0.23.13 (#1196)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 01:08:42 -03:00
renovate[bot]
f30ec7efb8
chore(deps) Update Rust crate serde_json to 1.0.62 (#1198)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 01:08:17 -03:00
chip
e02c9419cb
refactor(tauri): support for building without environmental variables (#850)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-02-09 15:22:04 -03:00
Lucas Fernandes Nogueira
bffbf7d242
fix(ci): covector failing because of missing package version (#1193) 2021-02-09 15:20:24 -03:00
Lucas Fernandes Nogueira
99ecf7bb3e
feat(tauri): use WRY as webview engine (#1190) 2021-02-08 11:19:22 -03:00
Lucas Fernandes Nogueira
4412b7c438
refactor(tauri): inject script with webview init API (#1186) 2021-02-05 12:45:43 -03:00
Lucas Fernandes Nogueira
b9ce7b94c4
refactor(tauri): Webview traits (#1183) 2021-02-05 00:44:58 -03:00
Lucas Fernandes Nogueira
555d667f45
feat(examples) add example using the TS API module (rollup) (#738) 2021-02-04 21:12:03 -03:00
Lucas Fernandes Nogueira
a169b67ef0
feat(tauri): add async support (#1169) 2021-02-03 20:47:57 -03:00