Commit Graph

1420 Commits

Author SHA1 Message Date
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