Commit Graph

190 Commits

Author SHA1 Message Date
github-actions[bot]
c2e48e07ec
Apply Version Updates From Current Changes (#1497)
* apply version updates

* fix versions

Co-authored-by: jbolda <jbolda@users.noreply.github.com>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2021-04-14 17:26:01 -05:00
Jacob Bolda
7b6108e37b
fix: cta templates dir missing (#1496) 2021-04-14 17:21:34 -05:00
github-actions[bot]
0068bfda66
Apply Version Updates From Current Changes (#1494)
* apply version updates

* fix version

Co-authored-by: jbolda <jbolda@users.noreply.github.com>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2021-04-14 17:03:00 -05:00
Jacob Bolda
414f9a78c9
fix: cta dist publish (#1493) 2021-04-14 16:57:47 -05:00
Jacob Bolda
6ec027339c
chore: publish codegen before macros and build (#1488) 2021-04-14 15:00:44 -05:00
Jacob Bolda
67eab36b2f
chore: covector should use pkg name, not nickname (#1487)
This fixes the check for tauri-cli which is nicknamed cli.rs.
2021-04-14 14:21:54 -05:00
github-actions[bot]
e267ebf1f1
Apply Version Updates From Current Changes (#1486)
* apply version updates

* adjust versions to beta-rc

Co-authored-by: jbolda <jbolda@users.noreply.github.com>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2021-04-14 13:51:25 -05:00
chip
ec27ca81fe
refactor(tauri): remove private params trait methods (#1484)
* refactor(tauri): remove private params trait methods

* add changes file

* remove newly unused trait in WindowManager unit test
2021-04-14 13:03:20 -05:00
Lucas Fernandes Nogueira
f2d24ef2fb
chore(deps): update wry (#1482) 2021-04-14 12:58:22 -05:00
Lucas Fernandes Nogueira
0ddcd7eed3
fix(covector): npm assets path (#1479) 2021-04-14 11:14:05 -03:00
github-actions[bot]
49c450d6fe
Apply Version Updates From Current Changes (#1165)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-14 10:50:15 -03:00
Noah Klayman
df305b234b
feat(cli/tauri.js): download prebuilt cli (#1452)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-13 22:09:13 -03:00
Amr Bashir
80b7bd7de8
feat(CTA): add initial vite support with vue and vue-ts (#1467) 2021-04-13 10:56:21 -03:00
Jacob Bolda
6e0598c807
feat: derive package manager from env var 2021-04-12 15:50:57 -05:00
nothingismagick
953289ca7f
chore/licenses (#1461) 2021-04-12 09:55:00 -03:00
Lucas Fernandes Nogueira
aea614587b
refactor(repo): add /tooling folder (#1457) 2021-04-12 01:59:25 -03:00
chip
a6def7066e
Refactor(tauri): move tauri-api and tauri-updater to tauri (#1455)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-12 01:09:41 -03:00
Lucas Nogueira
88cd6baa9d
Merge remote-tracking branch 'origin/dev' into feature/create-tauri-app 2021-04-11 10:11:29 -03:00
Laegel
44fc65c723
Fixing TS API typings (#1451)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-04-11 09:51:21 -03:00
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
nothingismagick
bf82136466
feat(license): SPDX Headers (#1449)
* chore(licenses): api

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(licenses): scripts

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): cli/core

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): cli/tauri-bundler

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): workflows

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): require license_template in rust

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): core/tauri

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): core/tauri-api

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): core/tauri-build

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): core/tauri-codegen

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): core/tauri-macros

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): core/tauri-updater

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): core/tauri-utils

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): examples

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): cli/tauri.js

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): changefile

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): place both licenses in root

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): package.json SPDX

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): SPDX everywhere

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* fix(tauri.js): tests more time for ubuntu

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): commons conservancy language

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): add spdx file

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* fix(license): clippy

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>

* chore(license): language

Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-04-11 00:09:09 +02:00
Lucas Fernandes Nogueira
8b36fe0c5d
refactor: move tauri crates to /core folder (#1444) 2021-04-08 13:22:20 -03:00
david
e511d39910
feat(api): Expose application metadata and functions to JS api - fix #1387 (#1445) 2021-04-08 12:50:55 -03:00
William
eeb20308ac
Use JSON.parse instead of literal JS for callback formatting (#1370)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2021-04-06 22:00:23 -03:00
david
6d70c8e1e2
feat(updater): Alpha version (#643)
Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: nothingismagick <denjell@mailscript.com>
Co-authored-by: Laegel <valentin.chouaf@laposte.net>
2021-04-05 14:51:17 -03:00
Jacob Bolda
c718bd2382
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
2021-04-01 13:46:59 -05:00
Lucas Fernandes Nogueira
3713066e45
refactor(core): rewrite shell execute API, closes #1229 (#1408) 2021-03-31 02:19:03 -03:00
Lucas Fernandes Nogueira
c8992bb0bf
refactor(api): use secure RNG, closes #1356 (#1398) 2021-03-30 00:26:40 -03:00
Lucas Fernandes Nogueira
4e9d31c70b
feat(cli): propagate args passed after dev --, closes #1406 (#1407) 2021-03-30 00:25:25 -03:00
Lucas Fernandes Nogueira
32eb0d562b
feat(cli): run beforeDev and beforeBuild in a shell, closes #1295 (#1399) 2021-03-28 20:25:06 -03:00
Lucas Fernandes Nogueira
1318ffb47c
refactor(core): remove async from app hooks, add InvokeMessage type (#1392) 2021-03-26 14:19:03 -03:00
Lucas Fernandes Nogueira
c3e06ee9e8
refactor(cli): rewrite info in Rust (#1389) 2021-03-25 22:19:32 -03:00
Lucas Fernandes Nogueira
080f6391ba
refactor(bundler): specific settings on dedicated structs, update README (#1380) 2021-03-25 01:56:00 -03:00
Lucas Fernandes Nogueira
f72b93b676
refactor(cli): rewrite init command in Rust (#1382)
Co-authored-by: nothingismagick <denjell@mailscript.com>
2021-03-24 19:21:03 -03:00
Lucas Fernandes Nogueira
8bdd894925
refactor(core): move bundle script to /tauri crate (#1377)
* refactor(core): move bundle script to /tauri crate

* fix(cli): clippy

* fix(core): tests
2021-03-23 00:03:07 -03:00
Amr Bashir
52c2baf940
feat: add current working directory to path api module (#1375) 2021-03-22 22:13:12 -03:00
Lucas Fernandes Nogueira
5b3d9b2c07
feat(config): allow setting product name and version on tauri.conf.json (#1358) 2021-03-22 21:51:23 -03:00
Lucas Fernandes Nogueira
3047a18975
feat(bundler): add visual c++ redistributable files with MSM (#1368) 2021-03-22 21:06:07 -03:00
Kid
2fc39fc341
fix(api/http): correct types (#1360)
* fix(api/http): correct types

* Add changes

* Update correct-http-api-types.md
2021-03-17 11:39:15 +01:00
Amr Bashir
4ee044a3e6
fix(cli): use correct arg in _blanks links polyfill (#1362) 2021-03-16 21:47:56 -03:00
Lucas Fernandes Nogueira
b670ec55f2
refactor(core): add unlisten, once APIs to the event system (#1359) 2021-03-16 09:50:04 -03:00
Gabe Cohen
bd1df5d804
fix: get correct resource dir in AppImge (fix #1308) (#1333)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-03-12 22:10:04 -03:00
Lucas Fernandes Nogueira
2db901e744
feat(core): add file drop handler (#1352) 2021-03-12 21:02:36 -03:00
Noah Klayman
8e9752bb8b
feat(bundler/wix): install webview2 runtime (#1329)
* feat(bundler/wix): install webview2 runtime

* add changefile
2021-03-07 22:00:29 -03: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
Noah Klayman
427d170930
feat(api/invoke): separate cmd arg (#1321) 2021-03-04 21:18:25 -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
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
Lucas Fernandes Nogueira
372036ce20
refactor(api): move event's once to its own function (#1276) 2021-02-23 21:31:15 -03:00