Commit Graph

453 Commits

Author SHA1 Message Date
Jacob Bolda
1b56944bc2
chore: update readme with new rust packages (#529) [version updates] 2020-03-27 23:08:49 -05:00
Tensor-Programming
4d4bfa803a
update tauri, api, bundler and utils. (#528) 2020-03-27 22:21:05 -04:00
renovate[bot]
7270851a08
chore(deps) Update Tauri Core (#517)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-23 13:01:10 -03:00
renovate[bot]
b09d19f5ce
chore(deps) Update Tauri Bundler (#516)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-23 12:59:58 -03:00
Lucas Fernandes Nogueira
b2e28f39fe
feat(tauri) add path API (#513)
* feat(tauri) extend file system API

* chore(deps) pin web-view deps

* feat(tauri) add path API

* feat(tauri.js) add Dir definition and usage

* fix(tauri) correctly determine app_name

* feat(example) add Dir select to the communication example

* chore(tauri) wrap comment line

* fix(tauri) build works
2020-03-17 07:42:59 -03:00
Lucas Fernandes Nogueira
8ac066700a
feat(tauri) extend file system API (#512)
* feat(tauri) extend file system API

* chore(deps) pin web-view deps
2020-03-16 17:04:15 -03:00
Lucas Fernandes Nogueira
37e8e79a04
feat(tauri) add dialog API (#514)
* feat(tauri) add dialog API

* feat(example) add dialog API to the communication example

* fix(dialog) transform backslash so it works on windows
2020-03-15 18:09:44 -03:00
Lucas Fernandes Nogueira
b4a08e88fd
feat(example) add API showcase to communication example (#511) 2020-03-14 11:08:13 -03:00
renovate[bot]
b7dfb001a1
chore(deps) Update Tauri JS CLI (#508)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-03-12 18:53:51 -03:00
Lucas Fernandes Nogueira
57cdf660d1
feat(config) expose "fullscreen" property, closes #488 (#510)
* feat(config) expose "fullscreen" property

* fix(tauri) tests not compiling

* fix(tauri.js) increase timeout for app test
2020-03-12 13:42:38 -03:00
renovate[bot]
5b46bacd46
chore(deps) Update Rust crate serde_json to 1.0.48 (#507)
* chore(deps) Update Rust crate serde_json to 1.0.48

* fix(tauri) resolve clippy warning

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-03-12 13:04:52 -03:00
renovate[bot]
915437aa0c
chore(deps) Pin dependency is-running to 2.1.0 (#506)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-12 11:51:30 -03:00
renovate[bot]
592fb9e90f
chore(deps) Update dependency babel-jest to v25 (#509)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-12 11:50:55 -03:00
Lucas Fernandes Nogueira
37afc5b0dc
fix(tauri.js) determine app path correctly (#493)
* fix(tauri.js) determine app path correctly

* fix(lint): replace backtick with single-quote

* fix(tests) mock app-paths

* fix(tauri.js) linting

* fix(test) use local tauri on empty fixture

* fix(tauri.js) linting

* fix(workflows) use local tauri-bundler test-tauri-js-cli

* fix(workflows) wrong cargo install command

* fix(tauri) comment webview-spawning test

Co-authored-by: nothingismagick <denjell@sfosc.org>
2020-03-09 21:27:54 -03:00
Lucas Fernandes Nogueira
b95319bd74
feat(tauri.js) improve api module with type defs for each API fu… (#495)
* feat(tauri.js) improve api module with type defs for each API function

* chore(tauri) move endpoint specific modules

* refactor(tauri) move tcp mod to tauri_api

* feat(tauri) improve readDir signature, API features as kebab-case names

* fix(tauri) make event's payload optional

* feat(tauri) if invoke_handler fails, console.error the error message

* chore(api) improve JSDoc

* chore(tauri.js) update template

* chore(tauri) delete empty mod

* fix(tauri) tests and example with latest API signature
2020-03-09 18:44:19 -03:00
renovate[bot]
f71a349907
chore(deps) Update Rust crate image to 0.23.1 (#419)
* chore(deps) Update Rust crate image to 0.23.1

* chore(bundler) updates for image v0.23.1

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-03-09 17:59:33 -03:00
Lucas Fernandes Nogueira
7278061e44
feat(bundler) bail if can't parse tauri config (#502) 2020-03-09 17:57:57 -03:00
Lucas Fernandes Nogueira
d37efa5605
test(tauri.js) add template test, close #427 (#501)
* test(tauri.js) add template test

* fix(lint) ignore prefer-optional-chain because babel-jest wont accept it

* feat(webpack) raw-loader test for windows

* fix(workflow) install tauri-bundler

* fix(EOF)

* chore(test) try with done cb

* fix(test) cwd scope

* fix(test) transform regex for windows

* fix(test) windows regex on jest transform

Co-authored-by: nothingismagick <denjell@sfosc.org>
2020-03-09 17:57:27 -03:00
renovate[bot]
377b500020
chore(deps) Update Tauri Core (#460)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 07:57:24 -03:00
Tensor-Programming
4e76f42d8a
feat(core) add cargo examples (#499)
* add cargo example

* change name to communication

* update scripts to set environment vars for example

* remove build key
2020-03-09 02:26:07 -04:00
Lucas Fernandes Nogueira
20b70ce38f
feat(tauri.js) add beforeDevCommand and beforeBuildCommand configs (#500) 2020-03-08 23:34:50 -03:00
Lucas Fernandes Nogueira
a084ccf756
feat(tauri.js) keep running on failures & watch tauri lib on con… (#497) 2020-03-08 13:39:29 -03:00
Lucas Fernandes Nogueira
abd5c698bd
feat(tests) add e2e test (#244)
* feat(tauri.js) add API endpoint proxy

* feat(tauri.js) always resolve/reject proxy promise

* chore(proxy) wait for onTauriInit to start direct proxy to window.tauri

* feat(tests) add project for initial e2e test

* chore(tauri) remove whitespaces on runner.rs

* chore(test): remove updater.rs

* feat(tests) move e2e test to tauri.js/test/jest

thanks to @laegel for the awesome work moving the test code to jest

* feat(tests) prepare build for modes tests

* fix(tests) properly run build tests

* feat(tests) add dev e2e test

* fix(tests) cleanup

* chore(tests) move e2e test from express to http.createServer

* chore(tauri.js) husky back to 4.0.10

* chore(tests) custom transformer to export with default

* chore(tests) use jest mapping instead of relative paths

* chore(tests) move dev e2e test to http.createServer

* chore(tests) move dev/build e2e test to tes.each instead of for loop

* chore(tauri.js) add comment to non-webpack-require.ts

* chore(tests) change test.each to it.each

* chore(tests) adjust it.each message signature

* fix(tests) adjust to properly run on initial build

* fix(tests) properly cleanup

* fix(tests) wait server.close to reject test

* fix(tests) wait server.close to resolve test

* fix(actions) install webkit2gtk-4.0 on test-tauri-js-cli

* fix(ci) install tauri-cli on test-tauri-js-cli

* fix(tauri.js) lint errors

Co-authored-by: Lucas Nogueira <lucas@quasar.dev>
Co-authored-by: nothingismagick <denjell@sfosc.org>
2020-03-07 13:40:24 -03:00
Lucas Fernandes Nogueira
493f1ea0c8
fix(bundler) do not require [package.metadata.bundle] for tauri… (#492) 2020-03-07 09:43:57 -03:00
renovate[bot]
6ef2b16796
chore(deps) Update Tauri JS CLI (#485)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-07 09:54:37 +01:00
Lucas Fernandes Nogueira
ba2f4b55fd
feat(tauri.js) expose target arg to tauri build (#490) 2020-03-06 12:22:38 -03:00
Tensor-Programming
57c89ebcdc
fix docs.rs (#487) 2020-03-05 16:06:21 -05:00
Jacob Bolda
0d47bff39b
chore(release): remaining windows fixes [version updates] (#481)
* bump tauri.js

* bump tauri-core

* bump tauri-bundler
2020-03-01 09:47:11 -06:00
Tensor-Programming
22e77ac295
feat(Bundler) Add Update, UI and Custom Install Dir (#480)
* add ui to wix

* fix shortcut removal

* fix  uninstaller
2020-03-01 09:29:08 -05:00
Lucas Fernandes Nogueira
c8d9726a09
fix(tauri) do not use template literals and fix entry for IE (#474)
* fix(tauri) do not use template literals

* fix(entry) make it work on IE
2020-03-01 08:11:35 -06:00
Lucas Fernandes Nogueira
4741394b18
fix(template) incorrect package > authors field on Cargo.toml (#479) 2020-03-01 08:08:32 -06:00
Jacob Bolda
83d6e052e6
chore(workflow): tauri-bundler path considering workspace (#477)
`tauri-bundler` is not in the main cargo workspace so the target directory is not in the top level. Update the publishPath to compensate.

Also removing a couple extraneous things that aren't needed either. We had an extra '/' and we don't need to bother showing the directory within the `cargo package` command.
2020-03-01 08:07:49 -06:00
renovate[bot]
0303756a81
chore(deps) Update Tauri JS CLI (#461)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-03-01 12:22:45 +01:00
Tensor-Programming
7dbf623483
[version updates] CLI to 0.4.3 (#475) 2020-02-29 21:01:29 -05:00
Tensor-Programming
6f12a34e6f
Refact(All): (WIP) Cleanup workflow and add Windows Features. (#468)
* use var_os instead of var

* combine both var calls

* Add logic to remove cmd windows.

* fix build.rs

* modify for clippy.

* expose handle and refactor commands.

* add author name

* revert command changes

* little refactor

* add loopback to wix template

* fix custom command
2020-02-29 19:07:26 -05:00
Lucas Fernandes Nogueira
21e710e1b0
feature(bundle) merge BundleSettings with config from tauri.conf… (#471)
* feat(bundler) read tauri config WIP

* feat(bundler) merge BundleSettings with tauri.conf.json"

* chore(lint) strings must use single quotes

* chore(bundler) platform-specific config on separated object on tauri cfg

* fix(eslint) unexpected trailing comma
2020-02-29 16:49:45 -03:00
Jacob Bolda
2a6e5b50ce
feature(tauri-bundler): add start menu shortcut on windows (#469) 2020-02-29 16:49:20 -03:00
Lucas Fernandes Nogueira
6ba7fe4096
fix(bundler) throw error when resource, external bin or icon not… (#470) 2020-02-29 16:35:54 -03:00
Tensor-Programming
9620eebab6
[version updates] Core create release (#466)
* update tauri module versions

* update bundler

* update node cli

* add minor fix.
2020-02-26 19:17:46 -05:00
Tensor-Programming
1606039554
Revert "[update versions] minor fix (#464)" (#465)
This reverts commit 966390d772.
2020-02-26 19:15:30 -05:00
Tensor-Programming
966390d772
[update versions] minor fix (#464)
* update tauri module versions

* update bundler

* update node cli

* add minor fix.
2020-02-26 19:12:16 -05:00
Tensor-Programming
90497751a4
[version updates] Merge Windows Related Changes (#462)
* update tauri module versions

* update bundler

* update node cli
2020-02-26 18:42:44 -05:00
Tensor-Programming
e194289db1
feat/refact - update bundler (#459)
* update bundler and add scripts folder

* cleanup ios code

* cleanup platform and remove util dep from bundler
2020-02-25 20:37:05 -05:00
Fahmi Akbar Wildana
a85ec6d726
chore: fix missing links in some badges (#458) 2020-02-25 19:57:42 +01:00
Rajiv Shah
018b1d877d
feature(workflows): Add ESLint check to workflow (#456)
* feature(workflows): Add ESLint check to workflow

* Use setup-node v1.x.x instead of v1.0.0

Co-Authored-By: Jacob Bolda <me@jacobbolda.com>

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2020-02-24 12:31:14 -06:00
Rajiv Shah
f05f6993bd
fix(tauri.js): Remove redundant "git add" from lint-staged script (#457) 2020-02-24 07:12:05 -06:00
Rajiv Shah
5dbf0638a9
refactor(tauri.js): Fix ESLint errors in src/api/tauricon.ts (#455) 2020-02-24 07:09:11 -06:00
Jacob Bolda
92bdedce46
chore(workflow): build tauri.js after install (#450) 2020-02-23 21:58:46 -06:00
Tensor-Programming
64367212a9
Revert "fix(tauri) window.tauri is undefined upon reloading (#377) (#453)" (#454)
This reverts commit d79eb4fc21.
2020-02-23 18:17:20 -05:00
Tensor-Programming
7b8edd29ea
Fix(All) - Add Edge support to GUIJS (#452)
* fix edge api to use window.external.invoke

* remove tauri-examples

* remove if statement

* add more cases.

* add batch_to_exe script
2020-02-23 18:15:57 -05:00