Commit Graph

1283 Commits

Author SHA1 Message Date
github-actions[bot]
ffb9a192cb
apply version updates (#3397)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2022-02-11 11:45:59 +02:00
amrbashir
e25fc68da6
fix(cta): account for null args 2022-02-11 11:36:26 +02:00
Amr Bashir
536c0cd7d4
fix(cta): filter out empty args, fixes #3393 (#3396)
* fix(cta): filter out empty args, fixes #3393

* use strict inequality [skip ci]
2022-02-11 10:31:29 +02:00
github-actions[bot]
5c0a8bfef7
Apply Version Updates From Current Changes (#3392)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-10 23:05:06 -03:00
Dave Lage
c0c9537543
fix(cli): Typo (#3390) 2022-02-10 22:59:26 -03:00
Lucas Nogueira
3227502e8c
fix(cli.rs): package vswhere.exe 2022-02-10 22:55:59 -03:00
github-actions[bot]
0876bbbb57
Apply Version Updates From Current Changes (#2522)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-10 18:03:25 -03:00
Lucas Fernandes Nogueira
4334865266
refactor(cli): rename tooling/cli.rs folder to tooling/cli (#3388)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-10 17:23:10 -03:00
Lucas Fernandes Nogueira
62c7a8ad30
chore(covector): prepare for rc release (#3376) 2022-02-10 16:46:30 -03:00
Lucas Fernandes Nogueira
2403e732df
feat(cli.rs): add tests to node binding, delete cli.js (#3381)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2022-02-10 16:45:41 -03:00
Fabian-Lars
02ac3215ea
feat(cli.js): rewrite cli.js with napi-rs, closes #2651,#3287 (#3370)
Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 22:11:00 -03:00
renovate[bot]
7690d1b92e
chore(deps) Update create-tauri-app (#3364)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 13:46:51 -03:00
Lucas Fernandes Nogueira
7aca0a6233
refactor(core): simplify shell scope, input only string arrays (#3372) 2022-02-09 13:44:52 -03:00
renovate[bot]
391454d88a
chore(deps) Update Rust crate image to 0.24.0 (#3367)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 13:02:33 -03:00
renovate[bot]
d6fbfaf7c2
chore(deps) Update Tauri API Definitions (#3369)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 11:37:51 -03:00
renovate[bot]
69c4e814fa
chore(deps) Update Tauri CLI (#3371)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 11:36:29 -03:00
Lucas Fernandes Nogueira
7b7a3a89d1
feat(core): update serialize-to-javascript dependency (#3363) 2022-02-09 01:24:35 -03:00
Fabian-Lars
617b397a7f
feat(docs): Generate json AST for js api. Remove docs related workflows. (#3335)
* feat(docs): Generate json AST for js api

* generate api.json in docs folder

* remove doc workflows. add dispatch for tauri-docs

* move cli/config doc generation to tauri-docs
2022-02-09 00:02:51 +01:00
Fabian-Lars
4ae5e34079
fix(cli.rs): remove duplicate shortname for internal flag (#3361) 2022-02-08 13:13:46 -03:00
Lucas Fernandes Nogueira
5eb72c24de
refactor: copy resources and sidecars on the Cargo build script (#3357) 2022-02-08 13:13:21 -03:00
Lucas Fernandes Nogueira
4a10e88c4b
feat(docs): document data URLs usage (#3360) 2022-02-08 11:11:32 -03:00
Lucas Fernandes Nogueira
a2d5929a8f
feat(cli.rs): wait for dev URL to be reachable, exit if command fails (#3358)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-08 10:43:07 -03:00
Didrik Nordström
3035e4581c
Remove target triple from sidecar bin paths, closes #3355 (#3356)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-07 22:16:09 -03:00
nothingismagick
58030172ed
feat(tauricon): remove from cli (#3293)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-07 00:59:51 -03:00
Lucas Fernandes Nogueira
3d92f4c272
fix(cli.rs): --release flag for the dev command, closes #3324 (#3348) 2022-02-06 23:52:57 -03:00
Lucas Fernandes Nogueira
9b34055264
fix(core): window-specific event delivery, closes #3302 (#3344) 2022-02-06 17:50:02 -03:00
Lucas Nogueira
5e7611aaa7
fix(cli.rs): build on Windows 2022-02-06 10:52:01 -03:00
philipborg
52e9a6d81a
fix: Make CMD handle quotes " properly. (#3334)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-06 10:22:07 -03:00
Lucas Nogueira
1e5a8c9db6
fix(cli.rs): lint warning on cross_command fn 2022-02-06 09:52:39 -03:00
Amr Bashir
a8e5ad9299
fix: improve vs build tools detection, closes #3113 (#3144)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 20:17:39 -03:00
renovate[bot]
c5f3cbc683
chore(deps) Update dependency sirv-cli to v2 (#3134)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 15:20:32 -03:00
Lucas Fernandes Nogueira
af329f2722
feat(bundler): wix localization, closes #3174 (#3179) 2022-02-05 15:13:07 -03:00
Lucas Nogueira
de0543f3e0
feat(cli.rs): change inferred dev server port to 8080 for Svelte apps 2022-02-05 15:12:36 -03:00
Ngo Iok Ui (Wu Yu Wei)
1805d05867
Remove chrono dependency in some crates (#2890)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 14:21:04 -03:00
renovate[bot]
e855c1435d
chore(deps) Update Tauri API Definitions (#3195)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 13:11:30 -03:00
renovate[bot]
21fb74bb37
chore(deps) Update Rust crate clap to v3.0.7 (#3209)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 13:10:35 -03:00
Jonas Kruckenberg
839daec7ab
fix(bundler): Use arch instead of llvm_target. fix #3285 (#3286)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 00:40:13 -03:00
renovate[bot]
8d39741aa1
chore(deps) Update create-tauri-app (#3245)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-04 23:51:49 -03:00
dependabot[bot]
2bade5ecaa
chore(deps): bump simple-get from 4.0.0 to 4.0.1 in /tooling/cli.js (#3303)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[skip ci]
2022-02-04 22:31:19 -03:00
Jonas Kruckenberg
9b19a805aa
fix(api.js) Replace number[]with Uint8Array. fixes #3306 (#3305)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 22:18:23 -03:00
Lucas Fernandes Nogueira
f5109e0c96
fix(api): window label null instead of actual value, closes #3295 (#3332) 2022-02-04 21:57:41 -03:00
Amr Bashir
65ad5b5ef9
feat(cli.rs/info): detect if tauri is used from git (#3309)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 21:00:55 -03:00
Didrik Nordström
83f52fdbe3
feat: Add universal-darwin-macos build target, closes #3317 (#3318)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 18:56:57 -03:00
Lucas Nogueira
a76abc48f2
fix(config): doc for beforeDevCommand and beforeBuildCommand 2022-02-04 18:13:46 -03:00
Lucas Nogueira
c6ba7f6524
fix(ci): update lockfiles 2022-02-04 14:48:45 -03:00
Lucas Nogueira
675d171eed
fix(core): tests, lint 2022-02-04 14:03:27 -03:00
Lucas Nogueira
f834a1545c
chore(api): fix formatting 2022-02-04 11:51:41 -03:00
Lucas Nogueira
a08509c641
fix(api): remove currentDir API from the path module 2022-02-04 11:49:23 -03:00
Lucas Nogueira
38a9b58219
fix(bundler): remove unused test code 2022-02-04 11:47:10 -03:00
Lucas Nogueira
b1d7464d61
chore(cli.rs): fix clippy warnings 2022-02-03 10:16:32 -03:00
Lucas Nogueira
995de57a76
Add seamless support for using JSON5 in the config file (#47)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-03 10:16:00 -03:00
Lucas Nogueira
0d1e3219b4
Merge branch 'next' into feat/audit-patches 2022-02-02 20:09:41 -03:00
chip
7c3db7a381
cache current binary path much sooner (#45)
* use ctor to cache starting executable

* clean up symlink checking logic

* changefile

* use wrapper for the static, put it in tauri_utils

* cargo +nightly fmt

* add license header to `StartingBinary`

* fix clippy warning

* fix: test

* simplify macOS dangerous flag detection

* update restart test to allow expected failure on macOS

* finish documentation

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-02 19:58:56 -03:00
Manuel Alabor
8ab8d52942
Fix #3288: Add provider_short_name for macOS (#3289) 2022-01-27 15:22:30 -03:00
Lucas Nogueira
696dca58a9
refactor(core): remove BaseDirectory::Current variant 2022-01-26 16:48:31 -03:00
Lucas Nogueira
c80e8b6886
fix: fs-read-file allowlist usage 2022-01-26 16:47:42 -03:00
chip
10314cd5cf
feat(core): add argument parsing on shell scope (#44)
* feat: initial implementation

* feat: arg parser

* refactor: move codegen to context struct

* feat: regex validation

* fix tests

* fix: support magic argument value `-`

* feat: support value regex starting with `-`

* refactor: shell_scope mod, add happy path tests

* wip: scope command arguments

* wip: commands

* add better scoped errors and pattern matching

* add documentation to scoped command items

* support using the new shell scope for open

* use the proper items in tauri::scope during codegen

* shell-open uses ScopeError::Validation also

* use shell scoping for sidecar commands

* fix: cli.rs build

* fix: validation when arg list is empty

* require args in a non-fixed, non-empty config list

Co-authored-by: Chip Reed <chip@chip.sh>
2022-01-26 16:43:24 -03:00
Jonas Kruckenberg
9bb68973dd
fix(cli.rs): prefix the "before script" env vars with TAURI_ (#3274) 2022-01-24 10:27:23 -03:00
Wojciech Niedźwiedź
d801cc89b8
wix installer is also signed (#3266) 2022-01-23 17:50:05 -03:00
Lucas Nogueira
efa1970db5
fix(api): type definition for http > Part, closes #3268 2022-01-23 16:51:35 -03:00
Edqe
18aab872a9
chore(docs): fix minor typo #3264 (#3265) 2022-01-23 16:43:29 -03:00
Lucas Nogueira
28a67fdb60
chore(docs): update platform-specific documentation notes 2022-01-22 14:35:36 -03:00
Lucas Fernandes Nogueira
28dd9adb26
feat(bundler): support building AppImage without FUSE (#3259) 2022-01-21 15:41:00 -03:00
Lorenzo Lewis
b928a6edaf
tauri-studio JS doc generation (#3249)
* Add `generate-docs` command to JS tooling

* Stop generating Rust docs, update JS docs generation

* Change target folder for js copy

* Add recursive to copy

* Add in ARCHITECTURE.md copy

* Add in guides copy

* Change architecture output dir, fix guides destination

* Revert back to GitHub.workspace path

* Change cp to rsync to be able to exclude

* Fix source path

* Change to render title better

* Revert "Change to render title better"

This reverts commit 72b78f3901.

* Fix broken links
2022-01-20 22:32:57 +01:00
sdoering01
1eec7282c7
fix(cli.rs): typo (#3248) 2022-01-19 10:57:25 +01:00
sdoering01
4de8577a48
fix(create-tauri-app): correct dev port for svelte, closes #3210 (#3246) 2022-01-19 10:44:37 +01:00
chip
d5d6d2abc1
Isolation Pattern (#43)
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-01-17 10:46:14 -03:00
Jonas Kruckenberg
ce03909fb6
[feat] add dialog title option. closes #3232 (#3233) 2022-01-16 19:41:11 +01:00
Jonas Kruckenberg
b5d9bcb402
Consistent event name usage (#3228) 2022-01-15 17:47:15 -03:00
FabianLars
d5e6046756
Fix broken links to tauri.studio docs (#3212) 2022-01-13 13:34:31 -03:00
renovate[bot]
ce8a37152a
chore(deps) Update create-tauri-app (#3199)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:19:14 -03:00
renovate[bot]
b36c8232a0
chore(deps) Update Tauri CLI (#3196)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:18:57 -03:00
renovate[bot]
30eae51426
chore(deps) Update Rust crate tempfile to 3.3.0 (#3202)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:15:05 -03:00
renovate[bot]
39e67922b8
chore(deps) Update Tauri JS CLI (#3197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:13:15 -03:00
Lucas Nogueira
c077f44927
feat: force endpoint URL to use https on release [TRI-015] (#41) 2022-01-09 16:40:22 -03:00
Lucas Nogueira
d95cc83105
feat: enforce updater public key [TRI-015] (#42) 2022-01-09 16:37:03 -03:00
Lucas Fernandes Nogueira
d4db95e716
feat(core): shell execute API scope [TRI-002] (#36)
* feat(core): shell execute API scope [TRI-002]

* fix tests

* also check with empty extension

* lockfile
2022-01-09 16:28:22 -03:00
Lucas Nogueira
eae311e6e2
fix(core): ipc and tests 2022-01-09 16:27:57 -03:00
Lucas Nogueira
766c4f2c57
refactor: unify fs read and write cmds for binary/text data [TRI-009] (#34) 2022-01-09 16:24:44 -03:00
Lucas Fernandes Nogueira
85df94f2b0
feat(core): config for fixed webview2 runtime version path (#27) 2022-01-09 16:16:45 -03:00
Lucas Fernandes Nogueira
0ad1c6515f
feat(core): add http allowlist scope [TRI-008] (#24) 2022-01-09 16:16:12 -03:00
Lucas Nogueira
a48b8b18d4
feat(core): validate callbacks and event names [TRI-038] [TRI-020] (#21) 2022-01-09 16:12:29 -03:00
Lucas Nogueira
2f3a582c69
feat(cli.rs): strip release binaries [TRI-031] (#22) 2022-01-09 15:46:43 -03:00
Lucas Nogueira
153a6a44b3
fix(cli.rs): build on windows 2022-01-09 15:41:51 -03:00
Lucas Nogueira
5687b7fdcd
refactor: use macros to match core commands with allowlist conditionals [TRI-028] (#20) 2022-01-09 15:41:28 -03:00
Lucas Nogueira
4fa5ec9606
chore: cleanup repo lockfiles and gitignores 2022-01-09 15:18:14 -03:00
Lucas Nogueira
63921fada4
refactor: change tauri::api::open with argument to an enum [TRI-022] (#19) 2022-01-09 14:58:38 -03:00
Lucas Fernandes Nogueira
eed017287f
feat(core): add shell > sidecar allowlist and process feature flag [TRI-037] (#18) 2022-01-09 14:57:43 -03:00
Lucas Nogueira
d660cab38d
feat: enhance allowlist configuration [TRI-027] (#11) 2022-01-09 14:48:55 -03:00
Lucas Fernandes Nogueira
680554de3e
feat: validate window label [TRI-021] (#13) 2022-01-09 14:30:43 -03:00
Lucas Nogueira
7920ff14e6
feat: scope the fs API and the asset protocol [TRI-026] [TRI-010] [TRI-011] (#10) 2022-01-09 14:30:04 -03:00
Lucas Nogueira
3420aa5031
refactor: IPC handler [TRI-019] (#9)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-09 14:17:29 -03:00
Lucas Nogueira
6ac21b3cef
feat: add private api feature flag (#7) 2022-01-09 11:29:29 -03:00
Lucas Nogueira
cf54dcf9c8
feat: improve CSP security with nonces and hashes, add devCsp [TRI-004] (#8) 2022-01-09 11:11:59 -03:00
Lucas Nogueira
4de285c396
feat(core): validate Cargo features matching allowlist [TRI-023] 2022-01-09 10:55:09 -03:00
Lucas Fernandes Nogueira
46f2eae8aa
feat: allow config's version to be a path to package.json, closes #2967 (#2971) 2022-01-07 16:55:30 -03:00
Lucas Fernandes Nogueira
0600099696
feat(api): support unknown types for event emit payload, closes #2929 (#2964) 2022-01-07 16:50:07 -03:00
Lucas Fernandes Nogueira
b7a2345b06
feat(core): add raw headers to HTTP API, closes #2695 (#3053) 2022-01-07 13:53:04 -03:00
renovate[bot]
0a857f8fdc
chore(deps) Update Tauri CLI (#3163)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:52:38 -03:00
renovate[bot]
294bb857c9
chore(deps) Update Tauri API Definitions (#3160)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:48:03 -03:00
renovate[bot]
2d6d358298
chore(deps) Update Tauri JS CLI (#3164)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:46:35 -03:00
renovate[bot]
03f60eb54a
chore(deps) Update create-tauri-app (#3166)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:46:25 -03:00
renovate[bot]
2a94165901
chore(deps) Update Rust crate handlebars to 4.2 (#3171)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:45:48 -03:00
FabianLars
ac1dfd8c30
feat(bundler): initialize msi install path with previous location (#3158) 2022-01-07 13:45:34 -03:00
Kasper
4f9c9e6307
Restructure docs (#3180)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-07 09:30:23 -03:00
Amr Bashir
4143ffd427
fix(cli.js): detect CARGO_TARGET_DIR for local run (#3147)
* fix(cli.js): detect `CARGO_TARGET_DIR` for local run

* [skip ci] revert schema changes
2022-01-04 13:57:50 +02:00
Lucas Nogueira
45eba33dc1
fix(cli.rs): plugin init --api usage 2022-01-03 20:00:58 -03:00
FabianLars
5b2db3f481
fix lint warnings in appimage bash file (#3155) 2022-01-03 17:48:36 -03:00
Lucas Fernandes Nogueira
d0970e3499
feat(driver): add args to tauri:options (#3154) 2022-01-03 17:37:16 -03:00
Lucas Fernandes Nogueira
4c1be45106
fix(bundler): deadlock on ResourcePaths iterator, closes #3146 (#3152) 2022-01-02 14:28:07 -03:00
Kasper
62182383de
List categories in tooltips (#3150) 2022-01-01 21:55:29 -03:00
Amr Bashir
f5e77ff48f
refactor(cta): use commander instead of minimst (#2551)
* refactor(cta): use `commander` instead of `minimst`

* fix default

* pin deps

* update lock file

* rearrange options

* style changes

* colorful help message

* add missing `dev` option

* style

* use local api for tests

* concise checks for vite and solid

* update lock file

* fix api formatting

* improvements to updating json files

* hopefully the last commit in this PR

* fix eslint

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-01 14:38:43 +02:00
renovate[bot]
6e4a9f154f
chore(deps) Update Tauri API Definitions (#3128)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:15:51 -03:00
renovate[bot]
8b3fbb88b0
chore(deps) Update Tauri CLI (#3129)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:14:40 -03:00
renovate[bot]
a9ef0459d7
chore(deps) Update Tauri JS CLI (#3130)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:14:25 -03:00
renovate[bot]
fa84c186e5
chore(deps) Update create-tauri-app (#3131)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:14:12 -03:00
FabianLars
3206a7088c
fix(bundler): detect per-user webview2 installations (#3076)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-28 19:28:21 -03:00
Lucas Fernandes Nogueira
2212bd5d75
fix: dialog default path on Linux, closes #3091 (#3123) 2021-12-27 13:03:51 -03:00
Oliver Ford
722d9ede6e
doc(api) XDG user dirs are not env vars, fix: #3090 (#3092) 2021-12-27 10:57:45 -03:00
Lucas Fernandes Nogueira
35588b2e04
fix(cli.rs): check default arch at runtime, closes #3067 (#3078) 2021-12-27 10:49:59 -03:00
renovate[bot]
8d1a6978c1
chore(deps) Update Tauri CLI (#3097)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:07:06 -03:00
renovate[bot]
84f9d571d5
chore(deps) Update Tauri API Definitions (#3100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:05:43 -03:00
renovate[bot]
c6f90b1c3e
chore(deps) Update Tauri JS CLI (#3101)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:05:33 -03:00
renovate[bot]
b5b4751be1
chore(deps) Update create-tauri-app (#3102)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:05:17 -03:00
renovate[bot]
0a97c61ac5
chore(deps) Update dependency @tsconfig/svelte to v3 (#3103)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:05:04 -03:00
renovate[bot]
b41ff93c8f
chore(deps) Update dependency eslint-plugin-promise to v6 (#3104)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:04:25 -03:00
renovate[bot]
485e25a22a
chore(deps) Update Tauri CLI (#3074)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-15 17:18:59 -03:00
renovate[bot]
383cb6d4db
chore(deps) Update Rust crate heck to 0.4 (#3073)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-15 16:02:56 -03:00
renovate[bot]
d433e42664
chore(deps) Update create-tauri-app (#3075)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 15:16:34 -03:00
renovate[bot]
b3ff814aa7
chore(deps) Update Tauri JS CLI (#3071)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 14:57:28 -03:00
renovate[bot]
4445b47c9f
chore(deps) Update Tauri API Definitions (#3069)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 14:55:54 -03:00
Lucas Nogueira
26dab690b7
fix(cli.rs): distDir validation 2021-12-10 12:24:45 -03:00
FabianLars
bec7833a6c
fix(bundler): bundle additional webkit files. patch absolute paths in libwebkit*.so files. fixes #2805,#2689 (#2940) 2021-12-09 18:38:01 -03:00
Lucas Fernandes Nogueira
74dff536d4
fix(core): emit tauri://close-requested to JS, closes #2996 (#3041) 2021-12-09 12:22:12 -03:00
Jonas Kruckenberg
1458ab3c53
refactor(cli.rs): signer and plugin subcommands, use new clap derive syntax (#2928)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-09 12:21:33 -03:00
Amr Bashir
28aaec87e2
feat(cli.rs): add active toolchain and rustup to tauri info, closes #2730 (#2986) 2021-12-09 01:28:26 -03:00
Lucas Fernandes Nogueira
feb3a8f896
feat(bundler): configure WiX to add launch option, closes #3015 (#3043) 2021-12-09 01:27:11 -03:00
Lucas Fernandes Nogueira
151e629ebf
fix(core): streaming of small files using asset://, closes #2854 (#3039) 2021-12-09 01:24:11 -03:00
Lucas Fernandes Nogueira
fb2b9a52f5
feat(cli.js): allow configuring tauri app path on package.json #2752 (#3035)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2021-12-09 01:23:49 -03:00
Amr Bashir
1bfc32a3b2
fix(api.js): add fileDropEnabled to WindowOptions, closes #2968 (#2989) 2021-12-09 01:03:21 -03:00
renovate[bot]
875c35e6e4
chore(deps) Update Tauri CLI (#2994)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 01:02:12 -03:00
renovate[bot]
4268cbaeee
chore(deps) Update Tauri API Definitions (#2995)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 01:02:03 -03:00
renovate[bot]
ba14d69650
chore(deps) Update Tauri JS CLI (#3000)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 01:01:02 -03:00
renovate[bot]
ea9e7ca44a
chore(deps) Update create-tauri-app (#3001)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 01:00:28 -03:00
Lucas Fernandes Nogueira
d28ac8aac0
fix(core): enable CORS on the asset protocol, closes #2965 (#2974) 2021-12-09 00:56:58 -03:00
FabianLars
1e336b6872
fix(cli.js): Fix package installation on yarn 2+ (#3012) 2021-12-09 00:11:51 -03:00
renovate[bot]
639fcad307
chore(deps) Update Rust crate clap to v3.0.0-rc.0 (#3046)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-08 23:47:43 -03:00
Amr Bashir
50c63900c7
fix(api.js): fix http.fetch throwing error if response body is empty, closes #2831 (#3008)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-08 23:39:42 -03:00
renovate[bot]
c664e9dbe0
chore(deps) Update Rust crate sha2 to 0.10 (#3045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-08 22:32:41 -03:00
Amr Bashir
17a1ad6823
fix(cli.rs): ensure target/release/wix exists, closes #2927 (#2987) 2021-12-07 11:01:17 -03:00
Lorenzo Lewis
1f800e83b6
fix: #617 Update macOS icons to Big Sur style (#2870) 2021-12-06 23:41:13 +01:00
Lucas Nogueira
508e815247
chore(api): fix documentation tags 2021-12-06 16:49:09 -03:00
Amr Bashir
0196c89768
fix(cta): use node12 compatible apis to clean node_modules (#3010) 2021-12-02 10:45:00 +02:00
Amr Bashir
25651ec10b
fix(cli.rs): don't enforce a rustfmt.toml (#2990)
* fix(cli.rs): don't enforce a `rustfmt.toml`

* rmove it from plugins templates
2021-12-01 11:04:50 +08:00
Amr Bashir
ea51504e3a
fix(cta): stop react recipe from opening in browser, closes #2793 (#2988) 2021-11-30 18:30:25 +02:00
West
1c7ee6ec06
feat: add CLJS project to create-tauri-app, fix: #2822 (#2843)
* include lockfile-lint in devDependencies

* add cljs template

* lockfile lint should be included as part of another pr

* few fixes
- Added url for the create-cljs-app project
- Added beforeDevCommand and beforeBuildCommand
- Make sure to delete redundant lockfile depending on package manager

* reinstall dependencies after deleting lockfiles

* fix eslint check

* add support for `pnpm`

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-11-30 18:14:37 +02:00
renovate[bot]
f813a25da8
chore(deps) Update Tauri API Definitions (#2949)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 10:22:00 -03:00
renovate[bot]
d11495f45a
chore(deps) Update Tauri JS CLI (#2950)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 10:21:47 -03:00
renovate[bot]
cc55242cd2
chore(deps) Update create-tauri-app (#2951)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 10:21:37 -03:00
renovate[bot]
b4b25a2d44
chore(deps) Update Tauri CLI (#2945)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 10:21:24 -03:00
Lucas Fernandes Nogueira
7b81e5b82e
feat(cli.rs): allow config argument to be a path to a JSON file (#2938) 2021-11-22 19:08:54 -03:00
renovate[bot]
cca9064e51
chore(deps) Update dependency typescript to v4.5.2 (#2922)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 00:40:33 -03:00
renovate[bot]
3fe89ecab6
chore(deps) Update dependency typescript to v4.5.2 (#2921)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 00:40:23 -03:00
renovate[bot]
46f8f2ab4c
chore(deps) Update dependency typescript to v4.5.2 (#2920)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 19:29:35 -03:00
renovate[bot]
d0c0f8a2d3
chore(deps) Update Tauri JS CLI (#2919)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 19:29:24 -03:00
renovate[bot]
c765bfb762
chore(deps) Update dependency svelte-check to v2.2.10 (#2917)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 11:47:40 -03:00
renovate[bot]
4cb574d10c
chore(deps) Update dependency execa to v6 (#2913)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-17 11:25:02 -03:00
renovate[bot]
c5852da779
chore(deps) Update dependency type-fest to v2.5.4 (#2914)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 11:24:51 -03:00
renovate[bot]
64fb688780
chore(deps) Update Rust crate shared_child to v1 (#2910)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-17 10:30:55 -03:00
renovate[bot]
7b6db05182
chore(deps) Update create-tauri-app (#2909)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:49:44 -03:00
renovate[bot]
d6ccdfce0b
chore(deps) Update Tauri CLI (#2907)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:48:58 -03:00
renovate[bot]
9721b4ae13
chore(deps) Update Tauri JS CLI (#2905)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:48:27 -03:00
renovate[bot]
21bb8bfe09
chore(deps) Update Tauri API Definitions (#2904)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:48:17 -03:00
Lucas Fernandes Nogueira
15164d930a
feat(core): allow defining a custom invoke system (#2899) 2021-11-16 12:58:18 -03:00
Lucas Fernandes Nogueira
4e3b366e64
feat(ci): automate config.md docs generation (#2887) 2021-11-14 09:26:41 -03:00
Lucas Fernandes Nogueira
8000675366
feat(ci): fill CLI docs on covector version (#2886) 2021-11-13 19:49:48 -03:00
Lucas Fernandes Nogueira
db275f0b63
refactor(cli.rs): rename init plugin subcommand to plugin init (#2885) 2021-11-13 19:28:18 -03:00
Bill Avery
34be6cf37a
Update webview2-com and windows crates (#2875) 2021-11-11 18:38:41 -03:00
renovate[bot]
348c38db5b
chore(deps) Update dependency eslint-plugin-import to v2.25.3 (#2865)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 11:12:26 -03:00
renovate[bot]
0818b267ec
chore(deps) Update dependency eslint-plugin-import to v2.25.3 (#2864)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 11:12:17 -03:00
renovate[bot]
da12927ed6
chore(deps) Update create-tauri-app (#2858)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 09:01:05 -03:00
Per Steinhorst
7e979dc55f
fix: #2861 return platform type typo "Darwing" instead of "Darwin" (#2862) 2021-11-10 09:00:25 -03:00
renovate[bot]
930b39e766
chore(deps) Update Tauri API Definitions (#2856)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 08:58:36 -03:00
renovate[bot]
0718791999
chore(deps) Update Tauri JS CLI (#2857)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 08:58:24 -03:00
renovate[bot]
f8b98edf29
chore(deps) Update create-tauri-app (#2837)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:21:43 -03:00
renovate[bot]
b1202d94ba
chore(deps) Update Tauri JS CLI (#2836)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:21:31 -03:00
renovate[bot]
9772776876
chore(deps) Update Tauri CLI (#2835)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:21:20 -03:00
renovate[bot]
7ae982b8ab
chore(deps) Update Tauri API Definitions (#2834)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:21:08 -03:00
renovate[bot]
e3bf23eb2d
chore(deps) Update create-tauri-app (#2814)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 11:58:28 -03:00
renovate[bot]
502b85ed35
chore(deps) Update Tauri CLI (#2809)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 11:58:15 -03:00
renovate[bot]
341f803150
chore(deps) Update dependency type-fest to v2.5.2 (#2815)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 11:49:11 -03:00
renovate[bot]
fc21187800
chore(deps) Update Tauri JS CLI (#2812)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 02:41:46 -03:00
renovate[bot]
c2b2d6258c
chore(deps) Update Tauri API Definitions (#2811)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 02:41:37 -03:00
Oscar Dominguez
651fc01492
ci(workflow): add cache to workflows using actions/setup-node (#2740)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-22 11:33:02 -03:00
Lucas Fernandes Nogueira
b1f5c6d7ac
refactor(cli.rs): drop dialoguer and console soft fork (#2790) 2021-10-22 10:41:43 -03:00
Benno
da35d55b09
feat: /bin/bash to /usr/bin/env for compatibility (#2761) 2021-10-22 10:17:53 -03:00
Lucas Fernandes Nogueira
a9dfc01550
feat: update to edition 2021 and set minimum rust to 1.56 (#2789) 2021-10-22 10:04:42 -03:00
renovate[bot]
6c92bb402b
chore(deps) Update Tauri API Definitions (#2771)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 11:01:29 -03:00
renovate[bot]
4ec94736c9
chore(deps) Update Tauri CLI (#2772)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 11:01:00 -03:00
renovate[bot]
f13f3c590f
chore(deps) Update create-tauri-app (#2777)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 10:56:49 -03:00
renovate[bot]
11f64ff7b4
chore(deps) Update Rust crate attohttpc to 0.18 (#2778)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 10:56:33 -03:00
renovate[bot]
68020b9ea7
chore(deps) Update Tauri JS CLI (#2780)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 10:54:38 -03:00
Lucas Nogueira
1fbc8237e5
fix(cli.rs): config.json on plugin template 2021-10-18 19:32:54 -03:00
Amr Bashir
84f2695e10
fix(cli.rs): remove short flag for init>plugin>tauri (#2764) 2021-10-18 15:38:55 -03:00
Lucas Nogueira
1325e3ab64
fix(cli.rs): do not enable all tauri features on plugin template manifest 2021-10-18 14:43:25 -03:00
Jonas Kruckenberg
39e0da1652
Fix log_dir (#2756) 2021-10-17 08:12:52 -03:00
Jonas Kruckenberg
acbb3ae7bb
feat: add Log directory (#2736)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-16 09:56:23 -03:00
renovate[bot]
1e48b689f5
chore(deps) Update create-tauri-app (major) (#2749)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 11:49:47 -03:00
renovate[bot]
c869bec3fc
chore(deps) Update Tauri JS CLI (major) (#2748)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:30:50 -03:00
renovate[bot]
b759744999
chore(deps) Update Tauri API Definitions (major) (#2747)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:30:24 -03:00
renovate[bot]
c446908dc5
chore(deps) Update Tauri CLI (#2745)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:02:14 -03:00
renovate[bot]
c39797cb89
chore(deps) Update create-tauri-app (#2744)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 08:44:58 -03:00
renovate[bot]
bfb28fdf44
chore(deps) Update Tauri JS CLI (#2743)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 08:42:48 -03:00
renovate[bot]
7dca44bf41
chore(deps) Update Tauri API Definitions (#2742)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 08:41:08 -03:00
renovate[bot]
97344c1b07
chore(deps) Update create-tauri-app (#2718)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 12:39:49 -03:00
renovate[bot]
1fded9ea65
chore(deps) Update Tauri API Definitions (#2717)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:19:01 -03:00
renovate[bot]
4eb7aa136f
chore(deps) Update Tauri CLI (#2719)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:18:32 -03:00
renovate[bot]
c1fc3fb80f
chore(deps) Update Tauri JS CLI (#2720)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:17:57 -03:00
renovate[bot]
84ab0e530a
chore(deps) Update Tauri JS CLI (major) (#2721)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:17:37 -03:00
renovate[bot]
040c69d392
chore(deps) Update dependency @rollup/plugin-commonjs to v21 (#2722)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:17:01 -03:00
renovate[bot]
ded91eecf3
chore(deps) Update dependency @rollup/plugin-commonjs to v21 (#2723)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:16:44 -03:00
renovate[bot]
54a4cf7ca3
chore(deps) Update dependency @rollup/plugin-commonjs to v21 (#2724)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:16:22 -03:00
Jonas Kruckenberg
b5ee03a13a
feat(cli.rs): expose debug flag to beforeDev/beforeBuild commands (#2727)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-08 11:30:06 -03:00
Lucas Fernandes Nogueira
7ed3f3b7e4
feat(cli.rs): validate distDir, closes #2554 (#2701) 2021-10-04 12:54:14 -03:00
Lucas Nogueira
9c9dead8a0
feat(cli.rs): add tauri and author options to the init plugin cmd 2021-10-03 08:58:31 -03:00
Lucas Nogueira
62b6b5b1aa
feat(cli.rs): add API package to template's covector config 2021-10-03 08:23:10 -03:00
Lucas Fernandes Nogueira
e98c1af442
feat(core): expose message dialog APIs, fix window.confirm, implement HasRawWindowHandle for Window, closes #2535 (#2700) 2021-10-02 16:13:24 -03:00
Amr Bashir
3924c3d853
fix(api.js): fix os.platform return on macos and windows, closes #2698 (#2699)
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2021-10-02 14:15:20 -03:00
Lucas Fernandes Nogueira
11db96e440
fix(cli.js): .ico icon generation, closes #2692 (#2694)
* fix(cli.js): `.ico` icon generation, closes #2692

* fmt

* chore: cleanup resize logic
2021-10-02 08:42:32 -03:00
Lucas Nogueira
45573aed5d
fix(cli.rs): default cargo features on templates 2021-10-01 20:21:47 -03:00
Lucas Nogueira
a0bea432b4
chore(cli.rs): some plugin template fixes 2021-10-01 13:17:02 -03:00
Lucas Nogueira
3450902862
fix(cli.js): do not run dependency updater on init plugin command 2021-10-01 10:39:09 -03:00
renovate[bot]
f09a13a978
chore(deps) Update Rust crate toml_edit to 0.4 (#2688)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 19:45:07 -03:00
renovate[bot]
9081f9330c
chore(deps) Update create-tauri-app (#2687)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 19:02:35 -03:00
Lucas Nogueira
a21f6b212c
docs(api): clarify setSize, setMinSize, setMaxSize and setLocation, closes #2660 2021-09-29 18:00:59 -03:00
renovate[bot]
cfc316482c
chore(deps) Update Tauri JS CLI to v27.2.4 (#2683)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 12:15:42 -03:00
renovate[bot]
51dd08ab25
chore(deps) Update dependency @jest/globals to v27.2.4 (#2682)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:48:44 -03:00
renovate[bot]
709739e6d2
chore(deps) Pin dependencies (#2676)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:44:32 -03:00
renovate[bot]
ba6e35ec65
chore(deps) Update Tauri JS CLI (#2677)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:04:28 -03:00
renovate[bot]
b7bb314c46
chore(deps) Update create-tauri-app (#2678)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:04:09 -03:00
renovate[bot]
6aeee67fac
chore(deps) Update Tauri API Definitions (#2679)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:03:38 -03:00
renovate[bot]
65e4e2fa75
chore(deps) Update Tauri CLI (major) (#2680)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:03:11 -03:00
Jonas Kruckenberg
c8262b736f
fix: include typescript declarations in plugin template (#2674) 2021-09-28 10:03:38 -03:00
Lucas Fernandes Nogueira
7c455b86b6
feat(ci): cache cli.js's template test (#2670) 2021-09-27 20:50:27 -03:00
Lucas Fernandes Nogueira
d24fd8d102
feat(tauri-runtime-wry): allow window creation and closing on the main thread (#2668) 2021-09-27 20:18:06 -03:00
Lucas Fernandes Nogueira
ac8e69a98c
feat(cli.rs): add init plugin command, bootstraps a plugin project (#2669) 2021-09-27 20:15:17 -03:00
Lucas Nogueira
2792531347 chore: apply temporary change to __currentWindow usage 2021-09-27 15:13:01 -03:00
Lucas Fernandes Nogueira
a8cff6b3bc
feat(cli): do not enforce src-tauri folder structure, closes #2643 (#2654) 2021-09-27 14:54:41 -03:00
Lucas Nogueira
f68603aee4
chore(docs): simplify event system documentation 2021-09-27 13:07:05 -03:00
Lucas Fernandes Nogueira
8599313a0f
feat(cli.rs): env vars for beforeDev/beforeBuild commands, closes #2610 (#2655) 2021-09-26 01:25:35 -03:00
Lucas Fernandes Nogueira
0fe680d90e
refactor(cli.rs): move template's build.rs file to the root (#2657) 2021-09-25 16:07:45 +08:00
Lucas Fernandes Nogueira
205b0dc8f3
feat(cli.js): add CommonJS dist files (#2646) 2021-09-23 23:48:02 -03:00
Lucas Fernandes Nogueira
0f321ac08d
fix(api): do not ship TS files, closes #2598 (#2645) 2021-09-23 23:41:55 -03:00
Lucas Fernandes Nogueira
8d630bc8c4
fix(cli.rs): fix workspace detection, fixes #2614, closes #2515 (#2644) 2021-09-23 23:37:27 -03:00
Lucas Nogueira
904bdb22f7
chore(deps): pin wry, update lock files 2021-09-23 14:42:25 -03:00
dependabot[bot]
c3d49fdcb1
chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 in /tooling/api (#2638)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 13:09:43 -03:00
renovate[bot]
9e8c571c26
chore(deps) Update dependency rollup to v2.57.0 (#2639)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-23 13:09:35 -03:00
Adilson Schmitt Junior
cc8b1468c8
Fix(api): Window size and position returning wrong class (fix: #2599) (#2621)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 18:57:23 -03:00
dependabot[bot]
4dc5a9f924
chore(deps): bump tmpl from 1.0.4 to 1.0.5 in /tooling/cli.js (#2629)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 17:51:09 -03:00
renovate[bot]
deed4b1a3e
chore(deps) Update dependency @types/inquirer to v8.1.2 (#2636)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 17:50:59 -03:00
renovate[bot]
60774350bf
chore(deps) Update dependency @types/inquirer to v8.1.2 (#2637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 17:50:51 -03:00
renovate[bot]
262781d9f7
chore(deps) Update Tauri API Definitions (#2623)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 17:50:05 -03:00
renovate[bot]
20ace05683
chore(deps) Update Tauri CLI (#2624)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 17:49:42 -03:00
renovate[bot]
7500cbab98
chore(deps) Update create-tauri-app (#2630)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 17:44:31 -03:00
renovate[bot]
5288c6e8a8
chore(deps) Update Tauri JS CLI (#2628)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 12:51:22 -03:00
David D
71ea86a443
feat(cta): add SolidJS recipe (#2619)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-09-22 10:42:58 -03:00
renovate[bot]
943e6fe3b2
chore(deps) Update create-tauri-app (major) (#2585)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 10:42:44 -03:00
Manuel Quarneti
a1e40480c1
Typing (api/os) (#2558)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-09-21 16:24:09 -03:00
renovate[bot]
36367ddf55
chore(deps) Update Tauri JS CLI (#2582)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 15:19:07 -03:00
renovate[bot]
63ff59f049
chore(deps) Update Tauri API Definitions (#2579)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 14:32:33 -03:00
renovate[bot]
277fa324d3
chore(deps) Update create-tauri-app (#2583)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 14:32:08 -03:00
renovate[bot]
b294dd67ae
chore(deps) Update Tauri Bundler (#2606)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 13:44:27 -03:00
renovate[bot]
aaa589efd1
chore(deps) Update Tauri CLI (#2580)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 13:41:44 -03:00
renovate[bot]
84b3e5cbfe
chore(deps) Update Tauri JS CLI (major) (#2584)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 13:41:17 -03:00
Robert Buchanan
2be1abd112
fix(bundler) wix template escape character (#2608)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 12:43:51 -03:00
Lucas Fernandes Nogueira
d5f07d14f3
feat(cli.rs): build tools info (#2618) 2021-09-21 10:24:48 -03:00
renovate[bot]
8a37be6817
chore(deps) Update create-tauri-app (#2528)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-04 21:06:53 -03:00
renovate[bot]
3bd4622f39
chore(deps) Pin dependencies (#2523)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-04 13:16:20 -03:00
amrbashir
ba9f1a3ceb
docs(api.js): update platform-specific notes size 2021-09-04 17:52:57 +02:00
renovate[bot]
21239962a9
chore(deps) Update Tauri API Definitions (#2524)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-04 12:17:28 -03:00
renovate[bot]
1ff8ffa342
chore(deps) Update Tauri CLI (#2525)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-04 12:17:12 -03:00
dependabot[bot]
9f7ade2759
chore(deps): bump tar from 6.1.8 to 6.1.11 in /tooling/create-tauri-app (#2559)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-04 00:37:16 -03:00
renovate[bot]
53cf4a80a3
chore(deps) Update dependency eslint-config-standard-with-typescript to v21 (#2563)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-03 23:31:35 -03:00
renovate[bot]
7917aa4722
chore(deps) Update Tauri JS CLI (major) (#2561)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-03 22:42:59 -03:00
renovate[bot]
cb7738bc9b
chore(deps) Update dependency eslint-config-standard-with-typescript to v21 (#2562)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-03 22:42:52 -03:00
cybai
f2865fad13
fix: recommended run dev command in create-tauri-app (#2555)
`--dev` is not a valid option for `tauri` cli; instead, we should use
`-- dev` or just `dev`. Also, we can just use `tauri dev` for all
package managers so we don't need to do the npm checking.
2021-08-30 17:31:38 +02:00
Lucas Nogueira
2ec998b982
fix(examples): use dev server URL on API example devPath config 2021-08-30 11:37:51 -03:00
Kris Scott
e706df7d03
Fix svelte recipe packageManager ternary (#2534)
* refactor: custom protocol (#2503)

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

* Apply Version Updates From Current Changes (#2513)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

* fix(api): revert ES2021 target

* Apply Version Updates From Current Changes (#2520)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

* docs: webdriver guide (#2461)

Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>

* fix(core): `Notification.requestPermission()` deadlock regression

* Fix packageManager ternary

Co-authored-by: david <david@lemarier.ca>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
2021-08-26 10:36:10 -03:00
Barry Simons
2026134f47
fix(cli.rs): pnpm tauri info exits with error (fix #2509) (#2510)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-24 13:01:16 -03:00
renovate[bot]
245d12fbf4
chore(deps) Pin dependencies (#2477)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 12:27:35 -03:00
renovate[bot]
dbe88b1658
chore(deps) Update Tauri API Definitions to v4.29.2 (#2479)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 12:26:41 -03:00
renovate[bot]
e7836cdb21
chore(deps) Update Rust crate clap to 3.0.0-beta.4 (#2478)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 12:26:22 -03:00
renovate[bot]
68df388940
chore(deps) Update dependency read-chunk to v4 (#2483)
* chore(deps) Update dependency read-chunk to v4

* update read-chunk usage

* fmt

* update lockfiles

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-24 12:03:10 -03:00
edgex004
97edb3ac49
Fix: #2508. Update dominator recipe description. (#2514)
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
2021-08-24 11:58:08 -03:00
renovate[bot]
1f98853573
chore(deps) Update Tauri Core (#2480)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
2021-08-24 11:40:10 -03:00
renovate[bot]
5ca831e6d7
chore(deps) Update Rust crate ar to 0.9.0 (#2482)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 10:49:36 -03:00
renovate[bot]
2c1dff0e19
chore(deps) Update create-tauri-app (#2481)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 10:30:16 -03:00
Ngo Iok Ui (Wu Yu Wei)
994b5325dd
fix: missing asset protocol path (#2484) 2021-08-22 16:12:45 -03:00
edgex004
0391ac3dc9
fix: Update cli.yml to pass clap ArgSettings::MultipleValues assertion. (#2506) (#2507)
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
2021-08-22 16:08:31 -03:00
github-actions[bot]
431e9e44e4
Apply Version Updates From Current Changes (#2467)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-08-17 10:41:30 -03:00
Lucas Fernandes Nogueira
8d1fe0ea05
feat(cli.js): readd ESM distribution (#2468) 2021-08-17 10:27:02 -03:00
github-actions[bot]
81d245f687
apply version updates (#2458)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-08-16 20:19:59 -03:00
Lucas Fernandes Nogueira
01ad29257c
fix(cli.js): revert ESM distribution (#2457) 2021-08-16 20:15:49 -03:00
Lucas Nogueira
fbb405ba90
chore(webdriver): update Cargo.lock 2021-08-16 18:36:42 -03:00
github-actions[bot]
80f16d35f9
Apply Version Updates From Current Changes (#2246)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-16 17:59:06 -03:00
Lucas Fernandes Nogueira
b0a8c38a73
feat(docs): improve config documentation (#2451) 2021-08-16 16:52:10 -03:00
Lucas Fernandes Nogueira
9bfdeb42ef
feat(bundler): add config for WiX dialog image path (#2449) 2021-08-16 12:03:00 -03:00
Lucas Fernandes Nogueira
13003ec761
feat(bundler): add config for WiX banner path, closes #2175 (#2448) 2021-08-16 11:17:29 -03:00
Alve Larsson
7057c0f7b8
New brand (#2445)
* Update readme

* Update splash.svg

* New logo

* change to image

* Update splash.png

* Update README.md

* Mac Tray icon fix
2021-08-16 22:00:40 +08:00
Lucas Fernandes Nogueira
537ab1b6d5
feat(core): inject src-tauri/Info.plist file on dev and merge on bundle, closes #1570 #2338 (#2444) 2021-08-15 21:36:43 -03:00
Lucas Fernandes Nogueira
397710b2c5
refactor(bundler): use linuxdeploy instead of appimagetool, closes #1986 (#2437) 2021-08-15 17:09:55 -03:00
Lucas Nogueira
c72e4b3e75
fix(cli.rs): use multiple_values instead of multiple 2021-08-15 10:57:53 -03:00
Lucas Fernandes Nogueira
a539471609
chore: update rust to 1.54.0 (#2434) 2021-08-15 10:47:15 -03:00
Lucas Fernandes Nogueira
dd5e1ede32
fix(bundler): AllowSameVersionUpgrades on WiX, closes #2211 (#2428) 2021-08-14 14:44:30 -03:00
Lucas Fernandes Nogueira
5ebf389f6c
feat(bundler): check target arch at runtime, closes #2286 (#2422) 2021-08-13 18:05:18 -03:00
Lucas Fernandes Nogueira
4a031add69
feat(core): expose set_activation_policy, closes #2258 (#2420)
* feat(core): expose `set_activation_policy`, closes #2258

* fix change file [skip ci]

* Update .changes/runtime-set-activation-policy.md [skip ci]

Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>

* clippy

* allow unused mut on example

Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-08-13 13:25:31 -03:00
Lucas Fernandes Nogueira
c544cea8c9
fix(cli.js): force version update on Cargo manifest (#2419) 2021-08-13 11:41:06 -03:00
Ngo Iok Ui (Wu Yu Wei)
f81ebddfcc
feat: remove menu feature flag (#2415)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-13 10:23:32 -03:00
Ngo Iok Ui (Wu Yu Wei)
88382fe147
chore(api): update protocol url path with wry 0.12.1 on Windows (#2409) 2021-08-12 13:56:07 -03:00
renovate[bot]
459f0145bf
chore(deps) Update create-tauri-app (#1941)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-11 22:58:54 -03:00
Lucas Fernandes Nogueira
855ed0f54e
chore(cli.js): remove no longer needed resolutions (#2401) 2021-08-11 22:58:27 -03:00
renovate[bot]
bdda79cfbc
chore(deps) Update dependency tslib to v2.3.1 (#2400)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 21:18:29 -03:00
Lucas Fernandes Nogueira
5f6e135f23
refactor(cli.js): package as ES module, closes #2256 (#2392) 2021-08-11 14:00:35 -03:00
renovate[bot]
f55016be74
chore(deps) Update dependency imagemin to v8.0.1 (#2395)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 11:45:51 -03:00
renovate[bot]
e18d3536ff
chore(deps) Update Tauri JS CLI (#2394)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 11:05:34 -03:00
dependabot[bot]
b6405313a0
chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /tooling/create-tauri-app (#2385)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 04:18:43 -03:00
renovate[bot]
99a5435d72
chore(deps) Update Tauri API Definitions (#2390)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 04:18:24 -03:00
Lucas Fernandes Nogueira
3f039cb8a3
fix: keep original productName for .desktop Name field, closes #2295 (#2384) 2021-08-10 16:02:46 -03:00
Lucas Fernandes Nogueira
8b2cc2615d
fix(core): dialog's defaultPath behavior on Linux, closes #2232 (#2382) 2021-08-10 15:28:24 -03:00
Lucas Fernandes Nogueira
9c4032ba10
fix(cli.js): usage with HTTPS_PROXY, closes #2237 (#2381) 2021-08-10 11:31:48 -03:00
Lucas Fernandes Nogueira
8e48029790
feat(api): improve EventName type definition (#2379) 2021-08-10 10:54:42 -03:00
david
b9a9de6b64
fix(benchmarks): pure virtual method called (#2377)
* remove bench test lock

Signed-off-by: David Lemarier <david@lemarier.ca>

* use tauri commands to close the app

Signed-off-by: David Lemarier <david@lemarier.ca>
2021-08-10 11:18:16 +08:00
Lucas Nogueira
77595b1c37
chore(cli.rs): change author [skip ci] 2021-08-09 09:26:39 -03:00
Ngo Iok Ui (Wu Yu Wei)
25ae04e8af
chore(cli.rs): improve how cli process arguments, closes #2335 (#2373) 2021-08-09 09:25:39 -03:00
renovate[bot]
9bfcab216a
chore(deps) Update dependency @rollup/plugin-commonjs to v20 (#2351)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 20:28:33 -03:00
renovate[bot]
ecef9946e7
chore(deps) Update Tauri API Definitions (#2265)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 20:28:04 -03:00
david
44f6ee4cfd
chore(ci): add step to detect code signing (#2245)
* chore(ci): add step to detect code signing

* fix variable name and add changefile
2021-08-08 18:19:45 -03:00
renovate[bot]
3574a911e6
chore(deps) Update Tauri JS CLI (#2266)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 18:14:59 -03:00
renovate[bot]
df01358fb3
chore(deps) Update Rust crate zeroize to 1.4 (#2267)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 18:14:52 -03:00
Pankaj Patil
97bc52ee03
Tooling: [API] Changed target in tsconfig to es6 (#2362)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 18:13:46 -03:00
renovate[bot]
eba7813e8a
chore(deps) Update dependency @rollup/plugin-commonjs to v20 (#2350)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-08 18:13:34 -03:00
dependabot[bot]
4d69a445f3
chore(deps): bump tar from 6.1.1 to 6.1.6 in /tooling/create-tauri-app (#2365)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 17:48:53 -03:00
Jacob Bolda
c410e034f7
convert jest tests to child_process run script (#2308)
* convert jest tests to child_process run script

* remove vuecli (it freezes), add angular

* run cargo build in correct dir

* add in asserts on fs

* normalize assert for node14

* fix installing empty dependencies

* add messages to asserts

* use test dir to check if running local cli

* try running in parallel

* run in parallel and log output serially

* avoid parallel, skip yarn for now

* add change file

* disable running with npm6 due to vite fail

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-08-08 03:13:05 -05:00
Amr Bashir
235e0f6785
feat(CTA): add official support for pnpm package manager (#2348)
* feat(CTA): add official support for `pnpm` package manager

* adjust post-message formatting [skip ci]

* optimize package managers checks
2021-08-06 23:35:39 +08:00
Lucas Nogueira
fee3c5820b
fix(api): unused @ts-expect-error 2021-08-04 10:41:50 -03:00
Amr Bashir
05b9d81ee6
feat(api.js): add nodejs-inspired functions in path module (#2310)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-02 10:58:09 -03:00
Amr Bashir
1a51006673
fix(core): data-tauri-drag-region didn't respect resizable, closes #2314 (#2316)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-02 10:43:31 -03:00
Ikko Ashimine
807b8625b7
fix(cli.rs): typo in input.rs (#2326)
existance -> existence
2021-08-01 23:59:21 -03:00
renovate[bot]
b6e9b46989
chore(deps) Update dependency @rollup/plugin-sucrase to v4 (#2307)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-01 23:54:34 -03:00
chip
4b2aa35684
Add back WebDriver support (#2324) 2021-08-01 23:54:10 -03:00
Pauan
af3cc7d7f7
Adding in Dominator recipe (#1912)
* Adding in Dominator recipe

* Running prettifier

* add dominator to cta tests

* update postinit message

* add `src-tauri` as a worksapce member

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-08-01 23:47:31 -03:00
ilukinov
4678144e22
fix(create-tauri-app): Change script name in App.tsx from 'App.js' to 'App.tsx' (#2333) 2021-08-01 23:44:11 -03:00
david
426a6b4996
feat(macOS): Implement tray icon template (#2322) 2021-07-29 15:29:59 -04:00
FabianLars
0f63f5e757
fix(api): Fix monitor functions, closes #2294 (#2301)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-07-29 13:44:24 -03:00
Amr Bashir
c0f42ad0e3
feat(cta): prompt users to install @tauri-apps/api package (#2251) 2021-07-29 09:34:29 -03:00
Amr Bashir
718d9513ce
refactor(cta): update vite recipe to use their new npm package (#2220) 2021-07-29 09:31:04 -03:00
Amr Bashir
05e679a6d2
feat(api.js): add os module (#2299)
* feat(api.js): add `os` module

* use correct endpoint for version

* return version as a string

* clippy

* cleanup ?!

* [skip ci]

* [skip ci]
2021-07-28 13:17:11 -03:00
Lucas Fernandes Nogueira
71d687b787
feat(cli.rs): platform-specific conf.json (#2309) 2021-07-28 12:55:32 -03:00
Lucas Fernandes Nogueira
268450b132
fix(api): global bundle broken code, closes #2289 (#2297) 2021-07-26 11:25:08 -03:00
Amr Bashir
9fbcc02454
fix(api.js): fix double window creation, closes #2284 (#2285) 2021-07-23 09:06:12 -04:00
Ben Briggs
83786ce8a4
fix(#2230) - Unable to uninstall when using Skip UAC task (#2231) 2021-07-23 07:43:17 -04:00
Kris Scott
151c3157be
Add svelte recipe to create-tauri-app (#2276) (#2279) 2021-07-22 15:26:57 -04:00
Amr Bashir
74a278fcfc
chore(docs): devPath & distDir are relative to tauri.conf.json, closes #2236 (#2259)
* chore(docs): `devPath` & `distDir` are relative to tauri.conf.json

* change cli.rs message
2021-07-21 15:40:03 +08:00
Amr Bashir
785865863e
chore(api.js): better platform-specific notes (#2253) 2021-07-21 12:23:16 +08:00
Amr Bashir
f130a167c5
chore(api.js): copy README.md & CHANGELOG.md to dist (#2252) 2021-07-21 12:22:55 +08:00
Amr Bashir
dd52e738f1
fix(api.js): fix @ts-expect-error usage, closes #2249 (#2250) 2021-07-19 18:19:58 -04:00
Amr Bashir
4f88c3fb94
fix(api.js): bundle now exports clipboard mod, closes #2243 (#2244) 2021-07-19 08:30:28 -04:00
github-actions[bot]
e48bb3edff
apply version updates (#2121) 2021-07-16 09:23:10 -04:00
Ben Briggs
58129e0a95
feat(bundler) Update on Windows without UAC Prompt (#2155) 2021-07-15 10:38:03 -04:00
renovate[bot]
8be6755c6a
chore(deps) Update Tauri API Definitions (#2205)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 07:41:33 -03:00
renovate[bot]
ed62cc6fa7
chore(deps) Update Tauri JS CLI (#2206)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 07:40:08 -03:00
chip
fd8fab507c
refactor(core): remove Params and replace with strings (#2191)
* refactor(core): remove `Params` and replace with strings

* add tauri-utils to changelog

* update default runtime macro to accept type and feature

* remove accidental default feature addition

* remove changefile todo items that have no futher action

* fix clippy warning

* update changefile

* finish change file

* fix splashscreen example

* fix markdown typo [skip ci]

* remove final uses of `Params`

* add license header to new runtime module in tauri-macros

* update plugin guide to use runtime instead of params
2021-07-15 18:05:29 +08:00
Epsilon_02
489fad5524
Angular create tauri app [#1934] (#2203) 2021-07-14 16:36:46 -04:00
david
caa8fcc93e
fix(windows): use random Guid for uninstaller (wix) (#2208)
* use random `Guid` for uninstaller

* add changefile

* better naming structure for the component
2021-07-14 21:38:31 +08:00
Friedel Ziegelmayer
7ee2dc8b69
feat(cli.rs): add release argument to the dev command (#2192) 2021-07-12 12:59:02 -03:00
FabianLars
bc2c331dec
fix: center and focus not being allowed in config (#2199) 2021-07-12 11:59:32 -03:00
renovate[bot]
7eaf437b7f
chore(deps) Update Tauri API Definitions (#2165)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 12:05:44 -03:00
renovate[bot]
9a21885341
chore(deps) Update Tauri JS CLI (#2166)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 12:05:22 -03:00
renovate[bot]
4905797614
chore(deps) Update Rust crate handlebars to 4.1 (#2167)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 12:05:14 -03:00
renovate[bot]
224fe56766
chore(deps) Update Rust crate handlebars to 4.1 (#2171)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-08 12:05:06 -03:00
Lucas Fernandes Nogueira
d69b1cf6d7
feat(api): allow mananing windows created on JS (#2154) 2021-07-05 12:16:55 -03:00
Lucas Nogueira
af634db275
feat(cli.rs): add skip_taskbar to conf schema 2021-07-04 00:06:41 -03:00
Lucas Nogueira
7660a23d22
fix(tooling): clippy 2021-07-03 23:49:01 -03:00
Lucas Fernandes Nogueira
5d7626f897
feat(api): WindowManager extends WebviewWindowHandle, add events docs (#2146) 2021-07-03 23:38:35 -03:00
Amr Bashir
66916b739f
chore: add .prettierrc in repo root (#2145) 2021-07-03 19:48:04 -03:00
Lucas Fernandes Nogueira
51a5cfe4b5
feat(api): add convertFileSrc helper (#2138) 2021-07-02 00:00:30 -03:00
Amr Bashir
3e6f34160d
fix(cli.rs): run powershell kill command without profile (#2130) 2021-06-30 15:12:37 -03:00
renovate[bot]
df32ff5f4a
chore(deps) Update dependency rollup to v2.52.4 (#2128)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 10:38:33 -03:00
renovate[bot]
1b00855af8
chore(deps) Update Tauri API Definitions (#2122)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 10:14:30 -03:00
renovate[bot]
894fe82873
chore(deps) Update Tauri JS CLI (#2123)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 10:14:20 -03:00
LisiurDay
fd0334645b
fix: tauri init may failed with no error message. (fix #2079) (#2117)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-30 09:26:49 -03:00
github-actions[bot]
4339b46e4b
Apply Version Updates From Current Changes (#2113)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-28 21:57:26 -03:00
Lucas Fernandes Nogueira
1a41e9f040
feat(cli.rs): improve error message on app rename, closes #2101 (#2114) 2021-06-28 21:25:18 -03:00
github-actions[bot]
3806b88ee1
Apply Version Updates From Current Changes (#2069)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-28 11:03:55 -03:00
Lucas Fernandes Nogueira
628a53eb61
fix(cli): properly detect target architecture, closes #2040 (#2102)
* fix(cli): properly detect target architecture, closes #2040

* clippy
2021-06-28 10:17:43 -03:00
Lucas Fernandes Nogueira
66efb43388
fix(docs): target triple detection script, closes #2084 (#2096) 2021-06-27 21:21:24 -03:00
Lucas Fernandes Nogueira
8e23870189
fix(cli.rs): fix out dir detection when target arg is set, closes #2040 (#2098) 2021-06-27 21:21:05 -03:00
Lucas Fernandes Nogueira
a61572127d
fix(bundler): resources bundling on Windows with nested folder structure (#2081) 2021-06-25 21:15:45 -03:00
Thad Guidry
9125affab7
Add note about Toast notifications (#2071)
...in case user's actually search with "toast" a typical word used in web and app development for brief auto-expiring OS window element for notifying user.
2021-06-24 22:28:41 +02:00
github-actions[bot]
df95fb6aaa
Apply Version Updates From Current Changes (#2068)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-24 09:47:49 -03:00
renovate[bot]
c57139f16f
chore(deps) Update dependency typedoc-plugin-markdown to v3.10.1 (#2059)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-24 09:39:00 -03:00
Roojay
394b6e0572
fix(api): http ResponseType export type error (#2065)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-24 09:38:29 -03:00
Lucas Nogueira
52f0a934f2
fix(api): install fs-extra 2021-06-23 17:17:35 -03:00
github-actions[bot]
5353379d15
Apply Version Updates From Current Changes (#1823)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-23 16:56:16 -03:00
Lucas Nogueira
b4426eda9e
Revert "WebDriver support (#1972)"
This reverts commit be76fb1dfe.
2021-06-23 16:30:40 -03:00
david
f729b5ef03
feat(bench): add tauri_3mb_transfer test (#1895) 2021-06-23 14:27:19 -03:00
Lucas Fernandes Nogueira
47f7558417
fix(core): resolve HTTP API on non-ok status code, fix binary response, closes #2046 (#2053) 2021-06-23 14:22:28 -03:00
chip
be76fb1dfe
WebDriver support (#1972)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-23 13:59:47 -03:00
Lucas Fernandes Nogueira
f0603fccb3
feat(bundler): desktop shortcut on Windows (#2052) 2021-06-23 13:02:28 -03:00
renovate[bot]
70e0463139
chore(deps) Update Tauri JS CLI (#2050)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-23 12:06:26 -03:00
renovate[bot]
c588cc3dcd
chore(deps) Update Tauri API Definitions (#2049)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-23 12:06:19 -03:00
Lucas Fernandes Nogueira
160fb0529f
feat(core): improve RPC security, closes #814 (#2047) 2021-06-22 17:29:10 -03:00
Lucas Fernandes Nogueira
842652abe5
chore(deps): update to wry 0.10 (#2041)
* chore(deps): update to wry 0.10

* fix: cli format
2021-06-22 10:47:45 -03:00
Lucas Fernandes Nogueira
285bf64bf9
feat(core): add clipboard writeText and readText APIs (#2035) 2021-06-21 13:32:22 -03:00
Lucas Fernandes Nogueira
3280c4aa91
refactor(core): global shortcut is now provided by tao (#2031) 2021-06-21 12:29:26 -03:00
Lucas Fernandes Nogueira
9cd10df4d5
feat(core): allow disabling file drop handler, closes #2014 (#2030) 2021-06-21 10:55:14 -03:00
Lucas Fernandes Nogueira
b769c7f7da
feat(bundler): windows installer license, closes #2009 (#2027) 2021-06-21 10:36:13 -03:00
Lucas Nogueira
feb7c6e4ac
fix(examples): sidecar example on Windows 2021-06-21 01:13:54 -03:00
Lucas Fernandes Nogueira
7dcca6e928
feat(core): add request_user_attention API, closes #2023 (#2026)
* feat(core): add `request_user_attention` API

* fix: api lint

* fix build without window allowlist
2021-06-20 23:42:38 -03:00
Lucas Fernandes Nogueira
ec88e30617
feat(examples): add sidecar example (#1999) 2021-06-16 22:18:24 -03:00
renovate[bot]
3f43bc6ae4
chore(deps) Update dependency inquirer to v8.1.1 (#1990)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-16 09:19:59 -03:00
renovate[bot]
7d939db587
chore(deps) Update Rust crate once_cell to 1.8 (#1991)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-16 09:19:50 -03:00
renovate[bot]
f76f376e8c
chore(deps) Update dependency trim-newlines to v4 (#1993)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-16 09:18:52 -03:00
renovate[bot]
31f2fd3280
chore(deps) Update dependency rollup to v2.52.0 (#1996)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-16 09:18:33 -03:00
Lucas Fernandes Nogueira
a819f5c9cf
fix(cli.js): audit (#1989) 2021-06-15 23:00:49 -03:00
Lucas Fernandes Nogueira
954460c520
feat(core): MenuHandle show, hide, is_visible and toggle APIs (#1958) 2021-06-15 22:04:44 -03:00
Lucas Fernandes Nogueira
4791961981
feat(bundler): allow setting wix language, closes #1976 (#1988) 2021-06-15 21:12:34 -03:00
nothingismagick
463fd00d06
fix(csp): add wss and tauri to conf template (#1974)
* fix(csp): add wss and tauri to conf template

* add change file, update examples/docs

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-15 13:37:24 -03:00
renovate[bot]
50e3f392f6
chore(deps) Update Tauri API Definitions (#1967)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-15 13:20:20 -03:00
renovate[bot]
0a3bd02691
chore(deps) Update Tauri JS CLI (#1968)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-15 13:20:05 -03:00
Lucas Fernandes Nogueira
5cba6eb4d2
feat(core): add window center API, closes #1822 (#1954) 2021-06-05 18:20:16 -03:00
Lucas Fernandes Nogueira
6a95d7acc3
fix(cli.rs): info version checks not striping \r on Windows (#1952) 2021-06-05 09:23:09 -03:00
Lucas Fernandes Nogueira
dc6b0d8522
feat(core): set .rc values from tauri.conf.json, closes #1849 (#1951) 2021-06-05 01:16:54 -03:00
Lucas Fernandes Nogueira
f7e9fe8f3f
refactor(core): new system tray and window menu APIs, closes #1898 (#1944) 2021-06-04 13:51:15 -03:00
Lucas Fernandes Nogueira
8f29a260e6
fix(cli.rs): copy resources and binaries on dev, closes #1298 (#1946) 2021-06-04 01:58:15 -03:00
Lucas Fernandes Nogueira
8be35ced78
fix(cli.rs): tauri.conf.json > tauri > bundle > targets being ignored (#1945)
* fix(cli.rs): `tauri.conf.json > tauri > bundle > targets` being ignored

* fix: cli.ts run
2021-06-04 00:57:00 -03:00
renovate[bot]
ae745189f9
chore(deps) Update Tauri JS CLI (#1939)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-02 08:56:26 -03:00
renovate[bot]
e9749eff97
chore(deps) Update Tauri API Definitions (#1940)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-02 08:56:16 -03:00
Lucas Fernandes Nogueira
21a971c3b7
feat(cli.rs): infer devPath/distDir/appName from package.json (#1930) 2021-05-31 19:37:53 -03:00
Amr Bashir
3c21ddc73c
fix(cta): use correct beforeDevCommand for vite recipe (#1931)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-31 19:37:16 -03:00
Lucas Nogueira
1341ca9a1b
chore(cli.rs): adjust info command output formatting [skip ci] 2021-05-31 13:33:44 -03:00
Lucas Fernandes Nogueira
6ec54c53b5
feat(core): allow dev_path, dist_dir as array of paths, fixes #1897 (#1926)
* feat(core): allow `dev_path`, `dist_dir` as array of paths, fixes #1897

* fix: clippy
2021-05-31 11:42:10 -03:00
Lucas Fernandes Nogueira
cb6c807ac8
Merge pull request #1925 from tauri-apps/feat/new-tao-apis 2021-05-30 22:57:04 -03:00
Lucas Nogueira
e06aa27738
feat(core): add set_skip_taskbar API 2021-05-30 22:09:12 -03:00
renovate[bot]
7e160675d1
chore(deps) Update Tauri JS CLI (major) (#1788)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-30 21:01:24 -03:00
dependabot[bot]
2dc93b4ee3
chore(deps): bump ws from 7.4.4 to 7.4.6 in /tooling/cli.js (#1923)
Bumps [ws](https://github.com/websockets/ws) from 7.4.4 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.4...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-30 20:42:17 -03:00
Lucas Nogueira
5525b03a78
feat(core): add skip_taskbar API to the WindowBuilder/WindowOptions 2021-05-30 18:43:28 -03:00
Lucas Nogueira
36506c967d
feat(core): add is_visible API 2021-05-30 18:06:24 -03:00
Lucas Nogueira
5f351622c7
feat(core): add focus API to the WindowBuilder and WindowOptions, #1737 2021-05-30 17:41:28 -03:00
Lucas Nogueira
bb6992f888
feat(core): add set_focus window API, fixes #1737 2021-05-30 17:30:26 -03:00
Lucas Nogueira
f58a2114fb
feat(core): add is_decorated Window getter 2021-05-30 17:21:05 -03:00
renovate[bot]
0642944547
chore(deps) Update Rust crate winreg to 0.9 (#1901)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-30 17:05:23 -03:00
renovate[bot]
77cce60baf
chore(deps) Update Rust crate handlebars to v4 (#1904)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-30 17:04:28 -03:00
renovate[bot]
998cbed565
chore(deps) Update Tauri CLI (major) (#1905)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-30 17:01:09 -03:00
dependabot[bot]
d80038f906
chore(deps): bump browserslist from 4.16.3 to 4.16.6 in /tooling/cli.js (#1910)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-30 17:00:46 -03:00
renovate[bot]
65eba71f9d
chore(deps) Update Tauri API Definitions (#1902)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-30 17:00:08 -03:00
renovate[bot]
053a5a73b5
chore(deps) Update create-tauri-app (#1903)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-30 17:00:00 -03:00
Amr Bashir
277f5ca5a8
feat(api): export BaseDirectory in path module (#1885) 2021-05-30 16:59:46 -03:00
renovate[bot]
bd21f70fb4
chore(deps) Update Tauri JS CLI (#1900)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-30 16:59:05 -03:00
imspace
3bf853d782
feat(cli.rs): support tauri build on M1 chip (#1915) 2021-05-29 01:21:24 -03:00
renovate[bot]
e85472b9e2
chore(deps) Update create-tauri-app to v27 (#1906)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-26 20:50:34 -05:00
david
977b3a8a08
feat(benches): Basic bench implementation (#1871) 2021-05-21 16:50:40 -03:00
Lucas Fernandes Nogueira
35a2052771
fix(bundler): windows resources bundling with nested folders (#1878)
* fix(bundler): windows resources bundling with nested folders

* fix: change file
2021-05-21 13:35:55 -03:00
Lucas Fernandes Nogueira
4aeb936e9b
fix(api): WebviewWindow constructor is public (#1888) 2021-05-21 13:25:10 -03:00
renovate[bot]
f0ca35f443
chore(deps) Update create-tauri-app (#1867)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 18:17:32 -03:00
renovate[bot]
f6b672c90e
chore(deps) Update Tauri JS CLI (#1868)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 18:01:53 -03:00
renovate[bot]
d509b2d6ff
chore(deps) Update Tauri JS CLI (#1866)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 01:52:24 -03:00
renovate[bot]
9726979116
chore(deps) Update Rust crate terminal_size to 0.1.17 (#1862)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-19 01:51:09 -03:00
renovate[bot]
c7dec3179b
chore(deps) Update Tauri API Definitions (#1863)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 01:16:01 -03:00
Lucas Fernandes Nogueira
17c7c4396f
refactor(core): use attohttpc by default (#1861) 2021-05-19 01:06:08 -03:00
Lucas Fernandes Nogueira
2881ccc329
docs(api): document allowlist for each module (#1853) 2021-05-17 22:33:09 -03:00
Lucas Fernandes Nogueira
de147cd3a9
docs(api): document window.__TAURI__ option on each module [skip ci] (#1852) 2021-05-17 17:56:14 -03:00
chip
5ff0c98dad
docs(cli.rs): add note on debian dependency (#1851) 2021-05-17 17:45:20 -03:00
aida.t
e08065d7fe
fix: deb installation error (#1844) 2021-05-17 14:18:33 -03:00
Lucas Fernandes Nogueira
612cd8ecb8
feat(api): finalize export type usage (#1847) 2021-05-17 12:54:56 -03:00
Lucas Fernandes Nogueira
7616e6cc7b
feat(api): validate window API size and location arguments (#1846)
* feat(api): validate window API `size` and `location` arguments

* fmt
2021-05-17 11:47:11 -03:00
Lucas Nogueira
716d6064a2
chore(cli.js): remove console.log statement 2021-05-13 18:42:27 -03:00
Lucas Fernandes Nogueira
6ec8e84d91
feat(cli.rs): add features arg to dev/build (#1828) 2021-05-13 18:10:48 -03:00
crapStone
2b814e9c93
added cargo features to tauri config (#1824)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-13 17:01:15 -03:00
Sporesirius
9a662d2601
fix: Monitor if --isolatedModules is enabled (#1825)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-13 16:53:10 -03:00
crapStone
86a23ff30b
added support for cargo workspaces for dev command (#1827)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-13 16:45:46 -03:00
github-actions[bot]
64dd434b03
Apply Version Updates From Current Changes (#1811)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-05-13 10:17:03 -03:00
Dominik Schenk
66b6136e06
Disable version check with semver for now (#1810) 2021-05-12 19:33:17 -03:00
github-actions[bot]
a68b4ee827
Apply Version Updates From Current Changes (#1799)
Co-authored-by: jbolda <jbolda@users.noreply.github.com>
2021-05-12 16:31:52 -03:00
Jacob Bolda
8a164d0a1f
fix: CTA cache and vite build (#1806)
* use file as version for local links

this also makes it closer to the production version and less likely to accidentally introudce an issue

* always install latest without asking

* work around issues with esbuild installing properly

* test shouldn't run build-release on the cli

* build cli.js and api outside of the test

* try test on windows

* change file

* switch back to linux test

* -y prompt not available on npm@6, remove

* pipe
2021-05-12 14:25:44 -05:00
renovate[bot]
8ef3b7a12f
chore(deps) Update Tauri API Definitions to v7.14.2 (#1808)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-12 15:46:39 -03:00
renovate[bot]
5241893f46
chore(deps) Update Tauri JS CLI to v7.14.2 (#1809)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-12 15:46:31 -03:00
Lucas Fernandes Nogueira
ab1ea96478
chore(api): add package.json to the exports field (#1807)
* chore(api): add `package.json` to the `exports` field

* move exports to package.json
2021-05-12 14:56:14 -03:00
renovate[bot]
cd638cbf5b
chore(deps) Update Tauri JS CLI (#1784)
* chore(deps) Update Tauri JS CLI

* fix: fmt

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-12 10:36:57 -03:00
renovate[bot]
2067e20ee3
chore(deps) Update create-tauri-app (#1787)
* chore(deps) Update create-tauri-app

* fix: fmt [skip ci]

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-12 09:59:25 -03:00
renovate[bot]
e02f7a689b
chore(deps) Update Rust crate serde_with to 1.9 (#1785)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-12 09:49:54 -03:00
renovate[bot]
4a10f5e284
chore(deps) Update Tauri API Definitions (#1786)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-12 09:49:43 -03:00
nothingismagick
12268e6e69
fix(csp): add 'self' (#1794)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-12 09:45:39 -03:00
Noah Klayman
71f6a5ed44
fix(cli.rs/build): fix typo getting bundle arg (#1783) 2021-05-12 09:32:31 -03:00
github-actions[bot]
7c7a0777ca
Apply Version Updates From Current Changes (#1629)
* apply version updates

* fix metadata.json [skip ci]

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-11 16:20:35 -03:00
Lucas Fernandes Nogueira
21ce355c48
chore: rename M: Params to P: Params (#1771) 2021-05-10 22:26:18 -03:00
Lucas Nogueira
46ea873311
fix(api): export WebviewWindowHandle type 2021-05-10 21:46:06 -03:00
Lucas Fernandes Nogueira
319cf16a54
fix: prune packages, add license files, closes #1507 (#1769)
Co-authored-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-05-10 20:28:15 -03:00
nothingismagick
afb4f2f896
chore(docs): add root-level ARCHITECTURE.md (#1766)
* chore(docs): add root-level ARCHITECTURE.md

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

* chore(readme): cleanup  [skip ci]

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

* chore(cli.js): update readme

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

* chore(license): ship both apache and mit

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

* chore(remove license): [skip ci]

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

* chore(assimilation): we are now the borg

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

* cleanup [skip ci]

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-10 20:39:24 +02:00
Lucas Fernandes Nogueira
72b8048b5a
feat(cli.rs): fill debian depends with tauri dependencies (#1767) 2021-05-10 14:10:09 -03:00
Lucas Fernandes Nogueira
22676df57a
refactor(core): menu and system-tray feature flags (#1765) 2021-05-10 13:27:42 -03:00
Lucas Fernandes Nogueira
08c1c5ca5c
fix(api): missing transparent flag on WindowOptions (#1764) 2021-05-10 00:30:01 -03:00
Jacob Bolda
ea28d01691
create-tauri-app welcome prompt and recipes links (#1748)
* CTA welcome prompt and recipes links

* fix tests for new recipe names

* check that package file exists before build

* change file

* turn off vuecli tests until we can get them to pass
2021-05-09 09:31:01 -05:00
Lucas Fernandes Nogueira
b2a7bfd7ec
fix(cli.rs): tray icon must be a png file on linux (#1750) 2021-05-09 10:04:43 -03:00
Dominik Schenk
908b703246
feat(cli.js): package managers interface, add pnpm support (#1743)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-09 09:03:44 -03:00
Lucas Fernandes Nogueira
c090927021
feat(core): system tray, closes #157 (#1749) 2021-05-09 08:15:37 -03:00
dependabot[bot]
9f9eb503e5
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /tooling/api (#1744)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-08 09:37:45 -03:00
Ali Furkan
d208039f58
fix(CTA): fix adding options (#1728) 2021-05-07 22:35:37 -05:00
nothingismagick
45aff87e65
chore(deps): js updates (#1739) 2021-05-07 19:52:20 -03:00
Lucas Fernandes Nogueira
79feb6a918
fix(cli.rs): cargo build failed due to cache issue, closes #1543 (#1741) 2021-05-07 16:31:52 -03:00
Kasper
f369a9c076
fix: restart when tauri dev starts, fixes #1544 (#1736)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-07 11:40:09 -03:00
Lucas Fernandes Nogueira
56e74ccf74
feat(core): ensure window.print()works on macOS (#1738) 2021-05-07 10:58:44 -03:00
Amr Bashir
cea3ba9f97
feat(cta): add support for all vite templates (#1670)
* feat(cta): add support for all vite templates

* vite template dir removed, ignore template step for now

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2021-05-07 00:29:55 -05:00
Lucas Fernandes Nogueira
8e0d4f666c
fix(bundler): debian package Installed-Size value (#1735) 2021-05-07 00:46:50 -03:00
Lucas Fernandes Nogueira
e37e187d4a
fix(bundler): dmg volume icon (#1730) 2021-05-06 13:54:15 -03:00
Lucas Fernandes Nogueira
f1aa12075f
fix(bundler): update create-dmg, fixes #1571 (#1729) 2021-05-06 12:57:08 -03:00
Lucas Fernandes Nogueira
e087f0f937
feat: add #[non_exhaustive] attribute (#1725) 2021-05-05 22:22:45 -03:00
Lucas Fernandes Nogueira
6bfac866a7
refactor(core): add window getters, physical & logical sizes/positions (#1723) 2021-05-05 20:15:08 -03:00
renovate[bot]
b675469bca
chore(deps) Update dependency ts-loader to v9.1.2 (#1724)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 19:39:24 -03:00
Lucas Fernandes Nogueira
f7892cf4ff
feat(api): documentation (#1694)
* feat(api): documentation

* more docs [skip ci]
2021-05-05 14:36:40 -03:00
renovate[bot]
1bd18c0976
chore(deps) Update dependency ts-jest to v26.5.6 (#1720)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 14:34:20 -03:00
Lucas Fernandes Nogueira
c78db1b399
chore(api): remove unused dependencies (#1719)
* chore(api): remove unused dependencies

* chore: remove eslint-plugin-node

* Revert "chore: remove eslint-plugin-node"

This reverts commit 1b88da8f7b.
2021-05-05 14:29:53 -03:00
Lucas Fernandes Nogueira
68e9a3fd10
chore(cli.js): remove useless dotenv dependency (#1718) 2021-05-05 10:29:31 -03:00
Lucas Fernandes Nogueira
862e33a0f6
refactor(cli.js): download rustup binary (#1711) 2021-05-05 10:28:43 -03:00
renovate[bot]
762dd15e9b
chore(deps) Update create-tauri-app (#1712)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 10:18:44 -03:00
renovate[bot]
c273b76799
chore(deps) Update Tauri API Definitions (major) (#1715)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 09:53:36 -03:00
renovate[bot]
7ef9503e66
chore(deps) Update dependency @rollup/plugin-node-resolve to v13 (#1716)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 09:40:35 -03:00
renovate[bot]
a23068bb89
chore(deps) Update dependency fs-extra to v10 (#1717)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 09:38:48 -03:00
Jacob Bolda
397b7af395
chore: CTA defaults in CI mode (#1671)
* better defaults in CI mode

* chalk should be a dep since it needs to be installed by user

* always install webkit2gtk

* avoid installing `cli.js` from npm in `--dev` mode

* use correct path for `api` linking in tests

* update `tauri.conf.json` after init

* remove `beforeBuild/DevCommand` from vanilla recipe

* explicitly install `vite` deps

* change file

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-05-05 07:25:17 -05:00
renovate[bot]
e393059a57
chore(deps) Update Tauri JS CLI (#1710)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 02:45:19 -03:00
renovate[bot]
f21ce9888d
chore(deps) Update Tauri API Definitions (#1709)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 02:40:45 -03:00
renovate[bot]
94a58c70b4
chore(deps) Update Rust crate regex to 1.5 (#1706)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 02:03:41 -03:00
Lucas Fernandes Nogueira
6132f3f4fe
feat(core): reintroduce CSP injection (#1704) 2021-05-04 23:31:05 -03:00
Lucas Fernandes Nogueira
ac2cbcb131
fix(cli.rs): before dev process kill, closes #1626 (#1700) 2021-05-04 11:27:10 -03:00
Amr Bashir
2b4e2b7560
feat(cli.rs/info): get webview2 version on windows (#1669)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-04 01:26:56 -03:00
Lucas Fernandes Nogueira
314936efbe
feat(bundler): add icon path config instead of enforcing icons/icon.ico (#1698)
* feat(bundler): add icon path config instead of enforcing icons/icon.ico

* fix: build on unix
2021-05-03 23:09:12 -03:00
Lucas Fernandes Nogueira
2747bb6c11
fix(core): dialog API deadlock, closes #1695 (#1696) 2021-05-03 22:06:50 -03:00
Lucas Fernandes Nogueira
8845487f9d
fix(cli.js): handle cli.rs promise rejection (#1689) 2021-05-03 14:42:31 -03:00
Lucas Nogueira
c827604b4a
chore: allow dead code on bundler::bundle::common::is_retina 2021-05-03 12:25:09 -03:00
Lucas Fernandes Nogueira
152c755c47
feat(cli.rs): framework and bundler on info cmd, closes #1681 (#1682) 2021-05-02 21:51:35 -03:00
nothingismagick
82a580ec45
feat(tauricon): fix transparency (#1678)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-02 19:02:58 -03:00
Lucas Fernandes Nogueira
5cc4b11f5d
feat(cli.rs): add context to errors (#1674) 2021-05-01 22:02:45 -03:00
Amr Bashir
9fadbf3350
refactor(cta): add questions hook for recipes (#1658)
* refactor(cta): add questions hook for recipes

* fix lint

* fix tests

* fix vue-cli

* one more time

* adjust vuecli to packagemanager

* revert bundle.js changes

* refacotr: extract `Recipe` type to its own file

* colorful step logging

* pin chalk dependency

* Restore bundle.js

* fix typo

* more styling
2021-04-30 20:48:21 -05:00
Lucas Fernandes Nogueira
b0bb796a42
refactor: rename command mod to process, move restart_application (#1667)
* refactor: rename `command` mod to `process`, move restart_application

* refactor(api): move `exit`, `relaunch` APIs to `process` module
2021-04-30 22:43:47 -03:00
Lucas Fernandes Nogueira
5c1fe52c2b
feat(cli.rs): allow using cross instead of cargo, add target triple arg (#1664) 2021-04-30 15:16:14 -03:00
Lucas Fernandes Nogueira
894643cdcd
feat(bundler): use armhf as Debian package architecture on arm CPUs (#1663) 2021-04-30 12:32:07 -03:00
Lucas Fernandes Nogueira
fcee4c25fc
refactor(bundler): finish initial documentation, reorganize modules (#1662) 2021-04-30 11:39:50 -03:00
Lucas Fernandes Nogueira
df8bdcf063
feat(cli.rs): add support to string and table dependency, closes #1653 (#1654) 2021-04-29 12:17:46 -03:00
Jacob Bolda
c3acbd68ec
chore: shift CTA from bin to .ts (#1651)
* chore: shift CTA from bin to .ts

* add change file

* fix rollup build
2021-04-29 08:55:09 -05:00
Lucas Fernandes Nogueira
c31f0978c5
refactor: update to wry 0.9 (#1630) 2021-04-28 19:56:05 -03:00
renovate[bot]
929ebc22ae
chore(deps) Update dependency webpack to v5.36.1 (#1646)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 19:54:13 -03:00
renovate[bot]
048771599a
chore(deps) Update Tauri API Definitions (#1647)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 19:50:54 -03:00
Lucas Fernandes Nogueira
721e98f175
feat(core): add env, cwd to the command API, closes #1634 (#1635)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-04-28 18:25:44 -03:00
renovate[bot]
f867e1396d
chore(deps) Pin dependencies (#1636)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 18:25:22 -03:00
renovate[bot]
2613e75664
chore(deps) Update Tauri API Definitions (#1638)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 18:23:31 -03:00
renovate[bot]
ba49160005
chore(deps) Update Tauri CLI (#1639)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 18:23:18 -03:00
renovate[bot]
cc14b97c8a
chore(deps) Update Tauri JS CLI (#1640)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 18:23:03 -03:00
renovate[bot]
9ada793f7a
chore(deps) Update dependency eslint-plugin-promise to v5 (#1641)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 18:22:16 -03:00
Jacob Bolda
af6411d5f8
feat: setup testing for CTA (#1615)
* feat: setup testing for CTA

* install with yarn

* build before test

* add yarn to npm runs for install / test start

* add dev mode to link cli.js and api locally

* remove fixtures

* run tests serially

* cli.js build-release avoids webpack error

* assert on package.json contents as first check

* run tauri build and split out custom asserts

* add changefile

* shorten workflow name

* too short

* exclude npm@6 on node@16

* increase timeout, tauri build takes a bit of time

* only assert that the tauri script exists
2021-04-27 09:14:24 -05:00
Amr Bashir
ddcd9233bd
fix(api): export commonjs chunks with .cjs extension, fix #1625 (#1627) 2021-04-26 14:12:00 -03:00
github-actions[bot]
0f86bc4071
Apply Version Updates From Current Changes (#1620)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-25 17:54:41 -03:00
github-actions[bot]
cad5192e31
Apply Version Updates From Current Changes (#1561)
Co-authored-by: nothingismagick <nothingismagick@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-25 16:07:22 -03:00
Lucas Fernandes Nogueira
d623d95fcb
fix(cli.rs): inliner dialoguer & console until they publish, fixes #1492 (#1610)
* fix(cli.rs): inliner dialoguer & console until they publish, fixes #1492

* fix tests

* change file

* fix: tests & fmt

* chore: add fork note

* fix: windows deps

* chore(licensing): add note for console & dialoguer

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

Co-authored-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-04-25 11:34:33 -03:00
Lucas Fernandes Nogueira
9e87fe6a69
feat(bundler): allow including custom files on debian package, fix #1428 (#1613) 2021-04-25 01:46:04 -03:00
Lucas Fernandes Nogueira
d13afec204
feat(bundler): add option to skip webview2 runtime installation, closes #1606 (#1612) 2021-04-24 19:01:50 -03:00
Downtime
ebe755ac5c
feat: #1528 wix supports custom templates (#1529)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-24 18:32:28 -03:00
SneakyFish5
f35330c414
refactor(cli.js): rework yarn check (#1611)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-24 17:31:36 -03:00
Amr Bashir
ba208b7e9b
fix(api): correctly merge pkg exports in after-build.js script (#1609) 2021-04-24 09:43:29 -03:00
Lucas Fernandes Nogueira
9eccb2af28
chore(cli.js): propagate all commands to cli.rs except icon and deps (#1604) 2021-04-23 16:28:15 -03:00
Lucas Fernandes Nogueira
941585c0c5
fix(cli.js): skip installing deps when --ci is passed on tauri init (#1603) 2021-04-23 15:31:45 -03:00
Lucas Fernandes Nogueira
69ea51ec93
feat(bundler): implement wix fragments, closes #1528 (#1601) 2021-04-23 15:30:44 -03:00
Lucas Fernandes Nogueira
1e0b41e155
refactor(cli.js): tauri icon with positional arg for icon path (#1600) 2021-04-23 11:10:49 -03:00
Lucas Fernandes Nogueira
aa7e2738cc
feat: use rfd::FileDialog#set_file_name if default_path is a file (#1598) 2021-04-23 03:04:47 -03:00
Lucas Fernandes Nogueira
9490b257d2
fix(cli.rs): enable the updater feature on cli (#1597) 2021-04-23 01:41:51 -03:00
Lucas Fernandes Nogueira
82ef8f6a92
fix(core): clippy warnings, closes #1490 (#1595)
* fix(core): clippy warnings, closes #1490

* fix: cli.rs build
2021-04-23 01:40:43 -03:00
Lucas Fernandes Nogueira
07f5cd21be
chore(cta): add linting and formatting, closes #1520 (#1596) 2021-04-23 01:34:54 -03:00
Lucas Fernandes Nogueira
fbf73f3ab5
fix(bundler): find icon for AppImage, define .DirIcon, closes #749 (#1594) 2021-04-23 00:25:50 -03:00
Lucas Nogueira
d79f03c449
chore: cleanup todo 2021-04-23 00:23:35 -03:00
Amr Bashir
94d541d1c9
refactor(api): use a js script to copy necesary files to dist (#1593) 2021-04-22 23:16:53 -03:00
Lucas Fernandes Nogueira
8a32d0ec39
fix(cli.js): remove cli file if the download fails or process is killed (#1592) 2021-04-22 23:10:45 -03:00
Pablo Singer
ae156e77e0
fix(api): wrong window.setIcon argument type (#1591) 2021-04-22 21:39:18 -03:00
Lucas Fernandes Nogueira
0012782e43
fix(cli.rs): info command npm_package_version parsing beta-rc (#1587) 2021-04-22 19:14:15 -03:00
Lucas Fernandes Nogueira
ef474e5635
feat(ci): cache (#1585) 2021-04-22 17:34:46 -03:00
Lucas Fernandes Nogueira
a670d3a457
fix(cli.rs): check if distDir exists after running beforeDevCommand (#1586) 2021-04-22 16:28:41 -03:00
Lucas Fernandes Nogueira
7f998d08e3
fix(api): distribution (#1582)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-04-22 15:39:59 -03:00
Lucas Nogueira
c03e312c28
chore: update cli.rs lockfile 2021-04-21 22:11:16 -03:00
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
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
renovate[bot]
4bb8ab8621
chore(deps) Update Tauri JS CLI (major) (#1559)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-21 09:42:09 -03:00
renovate[bot]
001e6f516b
chore(deps) Update Tauri JS CLI (#1558)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-21 08:09:45 -03:00
renovate[bot]
74bda32c66
chore(deps) Update Rust crate libflate to 1.1 (#1554)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-21 01:41:02 -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
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
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
renovate[bot]
b549df8642
chore(deps) Update Tauri JS CLI (#1475)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-16 19:53:30 -03:00
renovate[bot]
133e3eee78
chore(deps) Update dependency eslint-plugin-promise to v5 (#1477)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-16 19:53:11 -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
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
Amr Bashir
889a5442f6
fix(cta): add tauri script in package.json (#1500) 2021-04-15 01:11:02 +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
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
nothingismagick
7d8eb5effb
chore(authors): use programme title (#1478)
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-04-14 13:11:08 -05:00
Jacob Bolda
fa99fda0cf
chore: CTA license headers and externals (#1485)
* add common node libs as externals, hides warning

* add license header to vue-cli file
2021-04-14 13:05:04 -05:00
Lucas Fernandes Nogueira
8572c6e407
chore(cli.rs): add metadata on manifest (#1483) 2021-04-14 14:12:11 -03:00
Lucas Nogueira
dec31adde2
fix(cli.rs): init issue 2021-04-14 13:45:01 -03:00
Lucas Fernandes Nogueira
5f3a12c557
fix(cli.rs): crate packaging (#1481)
Co-authored-by: nothingismagick <denjell@mailscript.com>
2021-04-14 13:37:29 -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
Noah Klayman
1b2bb6adb8
feat(cta): add preset for vue-cli (#1473) 2021-04-13 21:53:40 -03:00
Amr Bashir
6ec0971e78
refactor(cta): use npx and add react-ts template (#1472) 2021-04-13 21:52:07 -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
Lucas Fernandes Nogueira
64d7625b28
fix(tests): update cli.js app fixture (#1469) 2021-04-13 01:47:34 -03:00
Lucas Fernandes Nogueira
5b6c7bb6ee
feat(examples): showcase basics of multiwindows feature on api example (#1468) 2021-04-12 23:35:57 -03:00
Amr Bashir
186deb43d5
refactor: more consistent js-api docs (#1463) 2021-04-12 22:44:50 -03:00
Laegel
0a5233a316
Added missing deps (#1466) 2021-04-12 22:44:02 -03:00
Jacob Bolda
6e0598c807
feat: derive package manager from env var 2021-04-12 15:50:57 -05:00
nothingismagick
22d1803b77
chore(license): purge template path because not everyone is a robot (#1462)
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-04-12 10:57:42 -03:00
nothingismagick
a8160224b7
chore(rust-toolchain): use 1.51.0 (#1459)
* chore(rust-toolchain): use 1.51.0

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

* fix: core clippy

* fix: bundler clippy

* fix: cli.rs clippy

* fix: core clippy

* fix: bundler test

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-12 15:44:44 +02: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