Commit Graph

2217 Commits

Author SHA1 Message Date
Amr Bashir
f708ff824e
fix(CTA): #1569, manually set tauri script for compatability with older npm (#1572) 2021-04-21 21:26:49 -03:00
Lucas Fernandes Nogueira
938fb624f5
feat(core): expose custom protocol handler APIs (#1553) 2021-04-21 15:43:11 -03:00
Lucas Fernandes Nogueira
be65f04db7
fix(core): make window.__TAURI__.invoke context free, fixes #1547 (#1565) 2021-04-21 15:42:52 -03:00
Lucas Fernandes Nogueira
07eb6cec8b
fix(cli.js): use cargo search on crate latest version detection (#1563) 2021-04-21 12:43:46 -03:00
Lucas Fernandes Nogueira
1f089fb4f9
chore: update minimum nodejs version to 12.13.0 (#1562) 2021-04-21 11:50:24 -03:00
Lucas Fernandes Nogueira
ceadf2f556
fix(core): macos shortcut modifiers, closes #1542 (#1560) 2021-04-21 09:12:18 -03:00
github-actions[bot]
8fa06ddb6a
Apply Version Updates From Current Changes (#1540)
* apply version updates

* remove cli.rs and cli.js bump

Co-authored-by: jbolda <jbolda@users.noreply.github.com>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2021-04-19 14:19:36 -05:00
Jacob Bolda
2e39880582
chore: covector config tweaks, remove tauri -> api dep (#1541) 2021-04-19 14:04:44 -05:00
Jacob Bolda
9d6df1881a
fix: cargo check cli.rs not cli.js (#1539) 2021-04-19 12:49:11 -05:00
Jacob Bolda
ae14a3ff51
fix: #1517 had the wrong package reference in the changefile (#1538) 2021-04-19 12:31:13 -05:00
Jacob Bolda
7ca77780a5
fix: update lockfile for cli.rs
Add cargo check run so it stays up to date when the version is bumped.
2021-04-19 11:37:05 -05:00
github-actions[bot]
a202b68447
apply version updates (#1503)
Co-authored-by: jbolda <jbolda@users.noreply.github.com>
2021-04-19 17:19:30 +02:00
Jacob Bolda
635140b27a
fix: run metadata sync script explicitly with node (#1536) 2021-04-19 09:48:02 -05:00
Jacob Bolda
1f64927362
chore: sync cli.rs metadata.json file versions (#1534) 2021-04-19 09:15:21 -05:00
Laegel
fcb3b4857e
fix: #1512 (#1517)
* fix: Export

* chore(changefile)

* fix: Updated publish step

* fix: Also outputting CommonJS

* fix:`preparePublish` now copies the necessary files

* fix: typo

Co-authored-by: Laegel <valentin.chouaf@laposte.net>

* chore: update `build` script

* chore: add `prepublishOnly script`

* chore: update `api` covector config

* round two, fight!!

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-04-18 22:31:12 -05:00
SneakyFish5
edab7a6686
chore(deps): remove lodash from create-tauri-app (#1532) 2021-04-18 21:30:06 +02:00
Jacob Bolda
098b729e67
chore: CTA version was decremented, fix and adjust changelog to compensate (#1530) 2021-04-18 10:44:15 -05:00
Jacob Bolda
d9f54969ef
chore: cross compat the version check for cargo in covector config (#1531) 2021-04-18 10:02:17 -05:00
Jacob Bolda
03a1c95d7e
chore: enable covector prerelease beta (#1518) 2021-04-16 19:55:00 -03:00
Amr Bashir
71666e9f9c
fix(cli.rs): fix panic & use cmd to run yarn&npm on windows (#1511) 2021-04-16 19:52:20 -03:00
chip
e447b8e0e6
allow event listeners to be nested (#1513)
* allow event listeners to be nested

* finish event comment

* remove extraneous into_iter()

* use tag instead of params on event for easier testing
2021-04-15 21:22:47 -03:00
chip
ece243d17c
don't remove once listener on new thread (#1506)
Spawning an async task to remove the once listener caused it to be able to be
called multiple times before being removed. This design choice was previously
made due to deadlock happening when removing the event from inside `fn once`.
That was because the listeners were already locked inside the trigger when
asked to be removed. `fn trigger` now handles removing once handlers
2021-04-15 08:11:42 +02:00
Noah Klayman
bdf707285e
fix(cli.rs/info): add missing camelCase rename (#1505)
* fix(cli.rs/info): add missing camelCase rename

* add changefile
2021-04-15 07:48:38 +02:00
Amr Bashir
3998046489
fix(cta): remove tauri dep from vanilla recipe (#1502) 2021-04-14 22:05:16 -03:00
github-actions[bot]
345f2dbfc5
Apply Version Updates From Current Changes (#1499)
Co-authored-by: nothingismagick <nothingismagick@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-14 20:33:44 -03:00
Amr Bashir
6c00e88e0f
fix(cta): fix adding tauri script to package.json (#1501)
* fix(cta): fix adding `tauri` script to package.json

* add change file

* Update .changes/cta-tauri-script.md

Co-authored-by: nothingismagick <denjell@mailscript.com>
2021-04-15 01:26:07 +02:00
nothingismagick
b2569a729a
fix(js-api): dist (#1498)
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-04-15 01:04:20 +02:00
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
Lucas Fernandes Nogueira
b1e6b74a4f
refactor(cli): decouple bundler from cargo (#1269) 2021-02-21 16:11:40 -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
2326bcd399
refactor(core): use nfd for file dialogs, closes #1251 (#1257) 2021-02-18 11:43:41 -03:00
Lucas Fernandes Nogueira
6eee355a12
refactor(core): use tinyfiledialogs-rs for message/confirmation dialogs (#1255) 2021-02-17 23:27:33 -03:00
Lucas Fernandes Nogueira
641374b153
feat(core): window creation at runtime (#1249) 2021-02-17 11:15:04 -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
a7bc472e99
refactor(core): improve HTTP API, closes #1098 (#1237) 2021-02-15 22:28:35 -03:00
Lucas Fernandes Nogueira
e34ee4c29c
fix(bundler): workspace detection, closes #1007 (#1235) 2021-02-14 17:57:59 -03:00
Lucas Fernandes Nogueira
855effadd9
feat(core): globalShortcut API (#1232) 2021-02-14 17:34:23 -03:00
Lucas Fernandes Nogueira
a3d6dff216
feat(core): window API (#1225) 2021-02-13 21:35:55 -03:00
Lucas Fernandes Nogueira
ae76c60a61
fix(bundler): appimage paths and filename (#1227) 2021-02-13 15:06:39 -03:00
Lucas Fernandes Nogueira
07208dff6c
feat(core): add mult-window support (#1217) 2021-02-11 21:50:39 -03:00
Lucas Fernandes Nogueira
84d7cdae63
refactor(core): remove no-server and its APIs (#1215) 2021-02-11 02:33:18 -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
156a0ad5cb
refactor(tauri): use explicit error types instead of anyhow (#1209) 2021-02-10 19:51:15 -03:00
Lucas Fernandes Nogueira
5c5d8f811f
refactor(tauri): rename init_script to initialization_script (#1200) 2021-02-10 02:24:20 -03:00
Lucas Fernandes Nogueira
fb607ee97a
refactor(tauri): plugin trait with mutable references (#1197) 2021-02-10 01:07:00 -03:00
Lucas Fernandes Nogueira
2058cc39c9
feat(tauri): add plugin initialize (with config) API, run in parallel (#1194) 2021-02-10 00:49:46 -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
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 Nogueira
2bf55f8056
chore: add changefile 2021-02-03 20:54:23 -03:00
Noah Klayman
4491c70790
fix(tauri/asset): escape octal sequences in css (#1166)
* fix(tauri/asset): escape octal sequences in css

* chore(package): add .changes file
2021-01-30 15:46:18 -03:00
Lucas Fernandes Nogueira
3e8abe3764
feat(cli) rewrite the core CLI in Rust (#851) 2021-01-30 12:15:47 -03:00
Lucas Fernandes Nogueira
23132acf76
fix(tauri): run plugin::ready without webview.dispatch (#1164)
* fix(tauri): run plugin::ready without webview.dispatch

* chore: add change file
2021-01-29 09:22:17 +01:00
github-actions[bot]
164e3a4fe7
Apply Version Updates From Current Changes (#1143)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-01-24 09:33:16 -03:00
Ngo Iok Ui (Wu Yu Wei)
692312a0f5
chore(deps) Update webview-official (#1152) 2021-01-24 09:31:52 -03:00
ravenclaw900
2fd1067a4c
Fix: add recursive option to directory APIs (#1141)
* Add recursive option

* Fix ESLint

* Fix all other possible code style issues

* Add .changes file
2021-01-12 08:16:45 +01:00
github-actions[bot]
0753877ab9
apply version updates (#1105)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-01-06 13:20:20 +01:00
Zak Patterson
486bd920f8
Fix: writeBinaryFile to call the correct command (fix #1133) (#1136)
* Fix writeBinaryFile to call the correct command

Fixes #1133

writeBinaryFile was reusing writeFile, which was happily saving
base64 encoded strings to the fs. This instead uses the correct
WriteBinaryFile command, which base64 decodes.

However why are we encoding and then decoding, why can we not just
send a raw byte array to be saved as a file? This is left for a later
PR.

* Shorten changelog line per review
2021-01-06 09:30:33 +01:00
Lucas Fernandes Nogueira
f887320df3
fix(template) default windows icon id should be 32512, fixes #1099 (#1107) 2020-12-05 22:42:27 -03:00
Lucas Fernandes Nogueira
8da495f78c
fix(tauri.js) deps cmd usage when npm is not installed, closes #1037 (#1053) 2020-12-05 00:17:57 -03:00
Christian W. Zuckschwerdt
4a74bca390
fix: getNpmLatestVersion, getNpmPackageVersion without npm (#1088)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2020-12-04 23:00:15 -03:00
Jacob Bolda
717d607e51
chore: publish tauri.js@0.13.0 (#1085)
We temporarily turned off publishing for it since it was hanging. Up the loglevel and try again.
2020-11-12 11:09:50 -06:00
Jacob Bolda
5a90de80bd
chore: temporarily skip tauri.js publishing (#1083)
Let's see if we can get everything else published and confirm it's strictly npm.
2020-11-11 12:19:50 -06:00
Jacob Bolda
f2ad4d4ce3
chore: try publishing tauri.js with yarn (#1081)
It seems npm publish keeps hanging for an unknown reason.
2020-11-10 11:21:01 -06:00
Jacob Bolda
91c58ef393
chore: increase publish workflow timeout and bump node to v14 (#1080) 2020-11-10 08:46:23 -06:00
github-actions[bot]
665ed9a1cc
Apply Version Updates From Current Changes (#1075)
* apply version updates

* scrub revert from changelog

Co-authored-by: jbolda <jbolda@users.noreply.github.com>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2020-11-10 08:04:39 -06:00
Jacob Bolda
f3ad80c822
chore: allow passes cargo audit options via secrets (#1079)
This let's us more easily ignore a security error that does not have a resolution.
2020-11-10 07:59:04 -06:00
Jacob Bolda
4913f9b74b
Revert "apply version updates (#1024)" (#1076)
This reverts commit 72996be1bd.
2020-11-10 00:34:26 -06:00
renovate[bot]
b4544b63f2
chore(deps) Update Tauri API (#1072)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-11-07 10:45:27 -03:00
github-actions[bot]
72996be1bd
apply version updates (#1024)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-10-21 23:05:11 +02:00
Lucas Fernandes Nogueira
2c0f09c85c
fix(tauri) add missing API features, closes #1023 (#1052) 2020-10-17 21:02:48 -03:00
Lucas Fernandes Nogueira
c8b167adb3
fix(tauri.js) promisified API fails on Reflect.deleteProperty, fix #1038 (#1056) 2020-10-17 21:02:32 -03:00
Lucas Fernandes Nogueira
82cda98532
chore(tauri) dirs crate is unmaintained, use dirst-next instead (#1057) 2020-10-17 21:01:10 -03:00
renovate[bot]
d13dcd9fd8
chore(deps) Update Tauri Bundler (#1045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-10-17 19:00:22 -03:00
Sanket Chaudhari
6f5667bf72
fix: #1018 Force IPv4 on wget requests (#1019)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-10-10 16:52:11 -03:00
Amr Bashir
5cf3402735
fix: add working directory to wix's shortcut (#1021)
* fix: add working directory to wix's shortcut

* chore: add change file

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-09-23 22:43:12 -03:00
Amr Bashir
771e4019b8
feat: Port path api to js (#1006)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-09-23 21:53:03 -03:00
Jacob Bolda
e760331fa1
chore: install cargo-audit with the fix feature as part of publish (#1010)
This should hopefully let CI finish and not exit with code 1.
2020-09-02 21:06:12 -05:00
Jacob Bolda
03b9cd1d58
chore: cargo audit as dry run to not fail publish (#1009)
If they're isn't a present fix, it doesn't make sense to fail a publish.
2020-09-02 12:40:00 -05:00
github-actions[bot]
b4c6142b39
apply version updates (#999)
Co-authored-by: jbolda <me@jacobbolda.com>
2020-09-02 12:26:08 -05:00
Cass
7a788fdcee
fix: improve checking for Rez (fix #994) (#995)
* fix: improve checking for Rez (fix #994)

Check for Rez in Xcode.app and in command line tools, and error if neither is installed.

* Remove hardcoded paths in favor of xcode-select --print-path

This reverts commit 54784a027c.

I'm not sure that this string substition will work how I want it to.

* Finally...fix issue finding xcode-select tools

* Add tip asking to run xcode-select --install

* Trim tailing whitespace

* add changefile
2020-08-28 01:29:11 -05:00
ho-ho-ho
37bcf5fea1
fix(bundler) missing newline in deb desktop file generation (fix: #899, #925) (#998)
* fix missing newline in desktop file generation

* add change file for PR #998
2020-08-27 15:48:42 -05:00
Jacob Bolda
3005204a31
chore: stray comma somehows (#985) 2020-08-21 08:21:43 -05:00
Jacob Bolda
2a9ea029b6
chore: package .crate as part of publish step (#984)
It is very strict about checking that the deps version specified is published. That means we need to have inter-repo deps already published before we hit this step, and therefore cannot do it as part of the prepublish step.
2020-08-21 08:14:34 -05:00
github-actions[bot]
5de4c8655d
Apply Version Updates From Current Changes (#931)
* apply version updates

* fix changelog format dealing with bullet points

Co-authored-by: jbolda <me@jacobbolda.com>
2020-08-21 07:48:20 -05:00
Jacob Bolda
06dd75b68a
chore: bump all js/rust deps (#983)
* bump tauri.js deps

* bump tauri core deps

* bump tauri-api deps

* bump tauri-bundler deps

* change file
2020-08-20 16:03:46 -05:00
Zak Patterson
59e0de7650
Fix cli no prompt for app-name cli arg (#980)
* Fix cli no prompt for app-name cli arg

* Add change file
2020-08-19 14:37:46 -05:00
Jacob Bolda
6a21965ff3
chore: add prettier for js formatting (#937)
* chore: add prettier for js/ts formatting

* fix lint-staged to object

* test commit

* format all

* lock file bump

* eslint extends prettier

This will let us skip rules in eslint that prettier can control. Prettier for styles, eslint for code errors.

* add prettier config

* roll back to what we had with eslint settings

* skip mutation observer

* add prettier typescript eslint

* run prettier in lint workflow

* format:check script

* turn off space before function in eslint

it is fighting with prettier

* fix dir in workflow

* remove semis

* add api to eslint

* shift eslint ignore comment after prettier format

* ignore errors that currently exist

* build:typevalidators

* replace was broken on typevalidator build

* try pushing up error

* format

* try removing working dir from eslint workflow

* try node 12

* fix indent in action

* bump eslint

* fix supposeded error and try another

* try breaking eslint

* try building in action

* adjust action paths again

* need dot

* remove build

* fix(tauri.js/eslint): escape glob *

* fix(tauri.js): ignore lint error

* Create prettier-taurijs.md

Co-authored-by: Noah Klayman <noahklayman@gmail.com>
2020-08-18 21:36:46 -05:00
Zak Patterson
43a8c4d2bc
fix #920: Create recipes (#930)
* Create recipes

A recipe consists of:
	* Name
	* List of NPM dependencies required (dev and production)
	* Sub-commands needed
		For example, the react recipes run create-react-app to set
		up the UI. Future recipes can do anything, they could pull
		down a sample UI, clone a repository, download a static HTML
		file, initialize another environment that compiles to JS/wasm etc.

The devPath and dist folders nomally configured by the init command
are overridden by the recipe definition.

* Fix no recipe prompts

* Fix linter unsafe assignment error

* Add `beforeXCommand` settings to recipes

This is so good, it makes it possible to just run:

> yarn init
> yarn add tauri
> yarn tauri init # with recipe selected, adds app ui
> yarn tauri dev # starts app ui dev server and rust component

* Rename init to create

Also improve so it exports a function that can be passed
arguments, instead of just reading directly from command line

* Add new tauri init command aliased to create

* Update changes file

* Remove unneeded import

* Add customized splash page for react recipes

* Remove unneeded recipe buildconfig property

* Add no-browser setting to start react dev server

* Revert "Add no-browser setting to start react dev server"

This reverts commit 22bcf3ac5a.
2020-08-17 12:07:44 -05:00
Oleg Shilov
f98d4b9076
fix(tauri.js): fix return type for readBinaryFile api method (#927)
* fix(tauri.js): fix return type for `readBinaryFile` api method

* chore(tauri.js): add changelog
2020-08-07 19:56:29 -05:00
Oleg Shilov
0a5bac1dd6
fix(tauri.js): fix typings for open and save dialogs (#926)
* fix(tauri.js): fix typings for open and save dialogs

add JSDoc types;

* chore(tauri.js): add changelog
2020-08-07 19:54:17 -05:00
github-actions[bot]
2b3ef7bcfb
Apply Version Updates From Current Changes (#915)
Co-authored-by: jbolda <me@jacobbolda.com>
2020-08-03 22:45:11 -03:00
Zak Patterson
e1fd626453
Fix typos referring to CLI args in init command (#921)
* Fix typo referring to dev path cli arg

The devPath config variable is set to a non-existent command line arg
`argv.p`, it should be `argv.P`

So if the devPath is set via a command line argument, it defaults
to the default value:

```
/home/projects/example2
⟩ yarn tauri init -P http://THISDOESNOTHING
yarn run v1.22.4
$ /home/projects/example2/node_modules/.bin/tauri init -P http://THISDOESNOTHING
[tauri]: running init
? What is your app name? example2
? What should the window title be? Tauri App
? Where are your web assets (HTML/CSS/JS) located, relative to the "<current dir>/src-tauri" folder that will be created? ../dist
 dependency:manager Installing missing dependencies... +0ms
 dependency:cargo-commands "tauri-bundler" is already installed +18ms
 app:spawn [sync] Running "cargo generate-lockfile" +2ms

    Updating crates.io index
 dependency:crates "tauri" is already installed +941ms
 dependency:npm-packages "tauri" is already installed +1s
Done in 6.35s.

/home/projects/example2
⟩ cat ./src-tauri/tauri.conf.json | grep THISDOESNOTHING

/home/projects/example2
```

* Fix similar typo affecting the window title param

* Add change file
2020-08-03 20:38:15 -05:00
Lance Erickson
df70ca5196
Fix #912 multibyte character breaks message (#914)
* Fix #912 multibyte character breaks message

* Add change file

* Fix clippy
2020-08-01 18:34:50 -05:00
github-actions[bot]
22b085ecfd
Apply Version Updates From Current Changes (#877)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-26 15:13:04 -03:00
Noah Klayman
78add1e79e
feat(bundler): hide output from shell scripts unless --verbose is passed (fixes #888) (#893)
* feat(bundler): hide output from bundle_appimage.sh

* fix(bundler/appimage): log file name instead of full path
to match behavior of .deb build

* feat(bundler): hide shell script output unless --verbose is passed

* feat(bundler): add notice about --verbose on error

* fix(bundler): windows fails to compile

* fix(bundler) do not warn about verbosity if verbose is set

* chore(changes) add change file

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-26 13:56:10 -03:00
Lucas Fernandes Nogueira
63b9c64572
fix(bundler) properly detect the target directory (#895) 2020-07-25 17:04:45 -03:00
chip
b96b1fb6b8
inject css with template string to allow for line breaks (#894)
* inject css with template string to allow for line breaks

alternative solution would to be implement a struct `JsStringLiteral`
with `fmt::Display` that escapes all forbidden codepoints from the spec
https://www.ecma-international.org/ecma-262/#sec-literals-string-literals

template string literal seems fine as all browsers that tauri supports have
had support for them for the past 3-4+ years

Signed-off-by: Chip Reed <chip@chip.sh>

* chore(changes) adjust change file

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-25 15:52:52 -03:00
Lucas Fernandes Nogueira
a00ac023ee
fix(bundler) webview dll not being bundled, fixes #875 (#889) 2020-07-24 08:51:12 -03:00
Lucas Fernandes Nogueira
4abd12c2a4
fix(tauri) webview initialization on windows, fixes #879 (#885) 2020-07-23 08:38:40 -03:00
chip
e3e2e39208
fix(tauri) ensure css content is loaded inside a string (#884)
Signed-off-by: Chip Reed <chip@chip.sh>
2020-07-22 18:45:59 -03:00
Jacob Bolda
daa89213de
chore: publish sequence finishing touches (#873) 2020-07-21 14:35:43 -03:00
Lucas Fernandes Nogueira
ad717c6f33
chore(tauri) pin tauri-api dep version (#872) 2020-07-21 14:34:31 -03:00
github-actions[bot]
19af83c7e9
Apply Version Updates From Current Changes (#821)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-20 16:39:42 -03:00
Jacob Bolda
d09180fd89
chore: covector tweaks for smoothness (#865)
* reorder packages that core is published last

* general ledger comment, not just npm

* we do want to create releases

* leading ! does not seem to negate

* dump a bunch of info to debug
2020-07-19 23:34:16 -05:00
Lucas Nogueira
dac0ae976e
chore(changes) add tauri-api to JS dialogs changefile 2020-07-19 23:50:59 -03:00
Jacob Bolda
2d721324a0
chore: implement covector publish (#845)
* add covector to root

* add workflow to covector config

* bump covector

* add webkit install on publish

* create workflow to version and publish

* remove workflows no longer needed

* add repo info to root package.json

* add early exits based on new output

* switch to dry run version of publish commands

* latest branch is being removed in this PR

* add summary component around yarn audit
2020-07-19 15:33:12 -05:00
Lucas Fernandes Nogueira
a6bb3b5905
refactor(tauri) rename whitelist to allowlist, ref #645 (#858)
* refactor(tauri) rename `whitelist` to `allowlist`, ref #645

* chore(changes) add changefile
2020-07-19 10:05:23 -03:00
Lucas Fernandes Nogueira
cbd14c3077
fix(tauri.js) writeFile and writeBinaryFile API (#857) 2020-07-19 09:57:40 -03:00
Lucas Fernandes Nogueira
da99f632f0
fix(tauri.js) app name as kebab case (#856)
* fix(tauri.js) init regression, app name as kebab case

* chore(changes) update changefile
2020-07-19 09:57:28 -03:00
Lucas Fernandes Nogueira
45d3de6d97
fix(tauri.js) do not require a package.json (#855) 2020-07-19 09:57:09 -03:00
Lucas Fernandes Nogueira
0245833bb5
feat(tauri) make window.alert and window.confirm available, fix #848 (#854) 2020-07-18 18:13:57 -03:00
Lucas Fernandes Nogueira
42a8bb0e09
fix(api) promisified not cleaning up transformed callbacks, fixes #852 (#853) 2020-07-18 17:05:32 -03:00
Ngo Iok Ui (Wu Yu Wei)
cd5b401707
feature: import official webview rust binding (#846)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-18 08:04:22 -03:00
Lucas Fernandes Nogueira
dac1db3983
fix(tauri) notification body optional, requestPermission() regression, closes #793 (#844)
* fix(tauri) notification body optional, title required

* fix(tauri) regression on requestPermission()
2020-07-16 19:17:41 -03:00
Lucas Fernandes Nogueira
0591f1f945
feat(tauri.js) run deps install after tauri init (#842)
* feat(tauri.js) run `deps install` after `tauri init`

* fix(tauri.js) await on installDependencies (tauri init)
2020-07-15 21:56:31 -03:00
Lucas Fernandes Nogueira
f0ce94fc8e
feat(tauri.js) print outdated deps information on tauri info (#841) 2020-07-15 20:39:28 -03:00
Lucas Fernandes Nogueira
17800571fe
fix(tauri.js) exit dev when running as admin, fixes #781 (#839) 2020-07-15 20:05:07 -03:00
Lucas Fernandes Nogueira
77282c1e51
feat(tauri.js) add dependency manager command (#829) 2020-07-15 18:01:37 -03:00
Lucas Nogueira
bd0118f160
fix(changes) covector status pass 2020-07-14 11:54:52 -03:00
Lucas Nogueira
53e8dc1880
fix(bundler) support AppImage bundling on containers #822 2020-07-13 18:49:59 -03:00
Lucas Fernandes Nogueira
9130f1b1a4
refactor(bundler) standard output names and path (#823) 2020-07-13 18:41:22 -03:00
Lucas Fernandes Nogueira
78afee9725
feat(tauri) add plugin system for rust (#494)
* feat(tauri) add extension system

* chore(tauri) rename extension to plugin

* chore(tauri) add plugin docs

* chore(tauri) expose WebView type

* chore(changes) add changefile

* fix(tauri) clippy warns

* fix(changes) format

* fix(changes) typo
2020-07-12 19:36:11 -03:00
chip
660a2d87d6
feat(tauri.js) move exported api types into api modules (fix #807) (#809) 2020-07-12 19:34:44 -03:00
github-actions[bot]
3417bf5fbe
Apply Version Updates From Current Changes (#811)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-12 10:15:48 -03:00
Lucas Fernandes Nogueira
0d6235e427
feat(tauri.js) add microsoft edge version to the info output (#810) 2020-07-12 09:41:20 -03:00
Lucas Fernandes Nogueira
fedee835e3
fix(tauri.js) windows Edge blank screen on tauri dev (#808) 2020-07-11 07:52:34 -03:00
jbolda
c628e60c2c
apply version updates
Update cli/tauri.js/CHANGELOG.md

Update cli/tauri.js/CHANGELOG.md

Update cli/tauri.js/CHANGELOG.md

Update cli/tauri.js/CHANGELOG.md
2020-07-10 13:10:10 -05:00
Jacob Bolda
74b2cb20e6
feat: bump covector action to v0 2020-07-10 12:29:11 -05:00
Noah Klayman
ee8724b90a
feat(tauri.js/init): prompt for default values (fix #422/#162) (#472)
* feat(tauri.js/init): prompt for default values

* fix(tauri.js/init): update help wording

* feat(tauri.js) prompt for appName on init

* feat(tauri.js) add --ci option

* chore(changes) add changefile

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-10 13:19:41 -03:00
Lucas Fernandes Nogueira
f208a68e40
fix(tauri.js) do not swallow init errors, fix conf inject (#802)
* fix(tauri.js) do not swallow init errors, fix conf inject

* fix(tauri.js) tests
2020-07-10 11:41:31 -03:00
Lucas Fernandes Nogueira
a26cffc575
fix(tauri.js) beforeDevCommand race condition (#801)
* fix(tauri.js) beforeDevCommand race condition

* chore(tauri.js) fix lint, change dev wait time to 30s
2020-07-10 16:17:47 +02:00
chip
e7b495133f
fix(tauri.js) revert nullish coalesce addition (#799) 2020-07-10 08:27:03 -03:00
Lucas Nogueira
f340b2914d
fix(tauri) addition to the previous commit 2020-07-10 12:07:48 -03:00
github-actions[bot]
70fdc6f699
Apply Version Updates From Current Changes (#792)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-09 22:12:46 -03:00
Lucas Fernandes Nogueira
0967b4291e
fix(windows) properly run the LoopbackExempt command on dev/build/msi, closes #788 (#794) 2020-07-09 21:41:18 -03:00
Rajiv Shah
466742f542
fix(tauri.js): Bump lodash to 4.17.19 (#764) 2020-07-09 21:14:18 -03:00
Lucas Fernandes Nogueira
aad60f59c7
fix(tauri) ignore just the distDir's root index.html (#791) 2020-07-09 13:08:20 -03:00
github-actions[bot]
c3e5a18f43
Apply Version Updates From Current Changes (#786)
* apply version updates

* Update tauri/CHANGELOG.md

Co-authored-by: jbolda <me@jacobbolda.com>
2020-07-09 09:11:16 -05:00
Lucas Fernandes Nogueira
18452edd98
fix(tauri) properly rebuild when tauri conf changes (#787) 2020-07-09 10:52:47 -03:00
Lucas Fernandes Nogueira
6a179997b4
fix(tauri.js) default config is invalid closes #777 (#785) 2020-07-09 10:40:31 -03:00
Lucas Fernandes Nogueira
16d39b3c0d
fix(tauri.js) tauri icon with --icon flag, closes #750 (#774) 2020-07-09 10:26:26 -03:00
github-actions[bot]
460ac25269
Apply Version Updates From Current Changes (#772)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-08 18:46:35 -03:00
Lucas Fernandes Nogueira
39d264db92
fix(bundler) dmg unbounded variable issue (#770) 2020-07-08 18:45:16 -03:00
github-actions[bot]
fed2641bb7
Apply Version Updates From Current Changes (#758)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-08 14:06:40 -03:00
Lucas Fernandes Nogueira
acd8ceb72c
fix(tauri-bundler) appimage script (#766) 2020-07-08 14:05:34 -03:00
Lucas Fernandes Nogueira
960ad58c12
feat(tauri.js) validate tauri.conf.json schema on runtime (#756) 2020-07-07 15:42:15 -03:00
github-actions[bot]
fa720d5016
Apply Version Updates From Current Changes (#748)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-06 10:37:03 -03:00
Lucas Fernandes Nogueira
6301df660a
fix(tauri.js) transpile TS API and fix cjs/esm export (#752) 2020-07-06 10:16:01 -03:00
Lucas Fernandes Nogueira
c3b5c1fdf8
Fix/includedir (#751)
* fix(tauri) assets embedding regression

* fix(tauri) fix & optimize embedded assets
2020-07-05 01:45:07 -03:00
Lucas Nogueira
e8ecd3ce3f
chore(changes) add bundler log improvement change file 2020-07-04 16:53:14 -03:00
github-actions[bot]
d8af70fa95
apply version updates (#721)
Co-authored-by: jbolda <me@jacobbolda.com>
2020-07-03 21:25:48 +02:00
Lucas Fernandes Nogueira
055d777a42
feat(bundler) bundle all binaries from the project (#726) 2020-06-30 19:06:39 -03:00
Lucas Fernandes Nogueira
6b097345ed
refactor(tauri) execute_promise String/Serialize management (#724) 2020-06-29 15:39:39 -03:00
Lucas Fernandes Nogueira
dd1bffe91e
refactor(api) rewrite readDir API (#722) 2020-06-27 15:40:46 -03:00
nothingismagick
2681ad361b
refactor(tauri.js) rewrite API module in TypeScript, closes #679 #435 (#703)
Co-authored-by: Quentin Goinaud <armaldio@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-06-27 12:20:00 -03:00
Rajiv Shah
467022f454
fix(bundler): Check if mksquashfs is installed before bundling AppImage, fix: #706 (#717) 2020-06-26 15:09:09 -03:00
github-actions[bot]
458becce46
Apply Version Updates From Current Changes (#715)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-06-24 22:28:41 -03:00
Lucas Nogueira
f4a2bf994e
chore(changes) add changelog files 2020-06-24 22:12:16 -03:00
github-actions[bot]
414ea4b75d
Apply Version Updates From Current Changes (#678)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-06-18 13:55:21 -03:00
Lucas Fernandes Nogueira
b04be6664e
fix(tauri) environment variables usage (#688) 2020-06-17 18:11:11 -03:00
Lucas Fernandes Nogueira
ea74c5cc01
fix(tauri) use appimagetool to build, finish script run, proper AppRun (#682) 2020-06-17 12:49:45 -03:00
Jacob Bolda
65e9c4fa40
feature: implement version change PR (#676)
* update readme with notes about character limits and designating bumps

* edit PR template to note addition of a change file

* add change file for #674

* add change file for #673

* add change file for #672

* add change file for #671

* add version action

* set version command in config

* add change file for #677

* add labels to PRs

* Update .changes/tauri-info-crash.md

Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>

* Update .changes/HttpRequestBuilder-implementation.md

Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>

* Update kill-beforeDevProcess-on-shutdown.md

* Update reflect-conf-changes.md

Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-06-15 15:29:22 +02:00
Lucas Fernandes Nogueira
406dea79ed
feat(tauri) add Notifications API (#505) 2020-06-15 01:09:02 -03:00
Lucas Fernandes Nogueira
14a1ddfe18
feat(tauri) add app CLI interface config (#670) 2020-06-14 23:36:35 -03:00
chip
577a044bfa
fix(cli): tell user of missing lockfile or manifest during info (#675) 2020-06-14 19:26:38 -03:00
Jacob Bolda
d475767a14
feature: implement covector (#668)
* feature: implement covector

* Create change-status-on-PR.yml

* Create readme.md

* action is nested

* trailing comma in config
2020-06-12 09:23:54 -05:00