Commit Graph

795 Commits

Author SHA1 Message Date
renovate[bot]
2fdc92c7aa
chore(deps) Update Rust crate image to 0.23.3 (#560)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-16 04:19:08 -04:00
renovate[bot]
c53fda9a5b
chore(deps) Update Rust crate proptest to 0.9.6 (#568)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-16 04:18:26 -04:00
Jacob Bolda
342da74f78
chore: remove greeting workflow (#567) 2020-04-13 08:07:43 -05:00
Wu Yu Wei
8b1f24ff9c
Move tiny_http behind feature flag (#566)
Thanks @wusyong !!! ❤️
2020-04-12 19:41:58 +02:00
Fahmi Akbar Wildana
c649ef47b6
build(task-runner): add self-documented task runner (#486)
* feat(task-runner): add maskfile.md

`mask` can also act as self-documented task runner
https://github.com/jakedeichert/mask

TODO: add demo.gif on opening this PR

* fix(task-runner): error when basename != dirname

with assumption it only happen on examples/rust

* chore(task-runner): add .gif from pr #486

* fix(task-runner): point $TAURI_* to fixture/*
2020-04-12 08:57:52 -05:00
Jacob Bolda
cb21b8fde9
chore: switched to forked create-pull-request (#565)
We can better manage the security by running from the forked version and selectively keeping in sync with upstream.
2020-04-12 08:53:41 -05:00
Lucas Fernandes Nogueira
b7934c7e41
fix(bundler) bundle deb and appimage simultaneously correctly (#563) 2020-04-08 23:46:26 -03:00
Lucas Fernandes Nogueira
db7d10308f
feat(bundler) dmg bundle (#551)
* feat(bundler) dmg bundle

* feat(bundler) fix dmg bundle support scripts, add license option

* chore(bundler) add "forked from" notice

* fix(tests) remove dmg bundling from the template test
2020-04-07 11:18:37 -03:00
Jacob Bolda
d54c3b4ce5
chore(workflow): skip webkit2gtk install if not publishing (#558)
We reordered it in a previous PR, but forgot to add the `if` statement to also skip it.
2020-04-06 13:01:32 -05:00
nothingismagick
5fbd580f83
chore(tauri.js): version updates (#556) 2020-04-06 17:47:03 +02:00
nothingismagick
b575325495
fix(tauri.js): api tauri import (#555)
closes #554 - thanks @arkhenstone !
2020-04-06 17:42:02 +02:00
Rajiv Shah
f7a1c36468
chore(tauri.js): Sync lockfile (#550) 2020-04-03 21:30:24 +02:00
Lucas Fernandes Nogueira
f24f7e18f3
feat(tauri) bundle formats config on tauri.js, fix bundler appim… (#537)
* feat(tauri) bundle formats config on tauri.js, fix bundler appimage

* fix(bundler) dmg chmod correctly
2020-04-03 13:30:55 -03:00
Lucas Fernandes Nogueira
f36ce6564c
docs(api) fix JSDoc types (#538) 2020-04-03 13:30:26 -03:00
Jacob Bolda
d202007656
chore(workflow): publish perf and prettying (#548)
* install webkit after we confirmed we will publish

this should speed up the publish sequence as we now only run one at a time

* new lines don't work, use empty echo
2020-04-02 21:54:08 -05:00
Lucas Nogueira
ad91e3022b
Merge branch 'master' into dev 2020-04-02 19:21:06 -03:00
Lucas Fernandes Nogueira
96cea8206b
chore(tauri.js) version updates (#546) 2020-04-03 00:16:53 +02:00
Matthias
2fc2fc2ca0
Updated the dependencies (and fixed the decompress vulnerability) (#545) 2020-04-02 23:38:19 +02:00
Matthias
b9749b71d9
yarn upgrade (#542) 2020-04-01 10:28:15 +02:00
Lucas Fernandes Nogueira
7e2854007a
test(e2e) add FS API tests (#521)
* fix(tauri.js) update e2e test

* test(e2e) add FS API tests

* fix(tauri.js) lint errors

* fix(tauri) clippy checks

* fix(test) use " instead of '
2020-03-29 23:41:45 -03:00
renovate[bot]
4313b197ae
chore(deps) Update Tauri JS CLI (major) (#519)
* chore(deps) Update Tauri JS CLI

* fix(tauri.js) lint error

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-03-29 15:27:29 -03:00
renovate[bot]
4b086426e4
chore(deps) Update Tauri JS CLI (#518)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-29 13:57:47 -03:00
Jacob Bolda
cc7c26b245
chore(workflow): order cargo publish and limit to 1 (#535)
We were running into race conditions where one package depended on another being published. Limit to only allow one publish at a time, and sort based on dependencies to (hopefully) eliminate the race condition.
2020-03-29 13:57:00 -03:00
Jacob Bolda
2e67d2bc9f
chore(workflow): switch yarn audit in release to a collapsed section (#534) 2020-03-28 16:09:47 -05:00
github-actions[bot]
c5ee5f8c6f
chore(tauri) bump versions to 0.5.0 (#532) version updates (#533)
* chore(tauri) bump versions to 0.5.0

* fix(tauri) correct dependency versions
version updates

Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-03-28 16:52:12 +01:00
Lucas Fernandes Nogueira
ff854a4f88
chore(tauri) bump versions to 0.5.0 (#532) version updates
* chore(tauri) bump versions to 0.5.0

* fix(tauri) correct dependency versions
version updates
2020-03-28 12:49:37 -03:00
Lucas Fernandes Nogueira
86be52ead6
fix(bundler) properly show error message for tauri config (#531) 2020-03-28 11:34:09 -03:00
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