Commit Graph

364 Commits

Author SHA1 Message Date
Noah Klayman
78add1e79e
feat(bundler): hide output from shell scripts unless --verbose is passed (fixes #888) (#893)
* feat(bundler): hide output from bundle_appimage.sh

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

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

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

* fix(bundler): windows fails to compile

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

* chore(changes) add change file

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-26 13:56:10 -03:00
Lucas Fernandes Nogueira
4abd12c2a4
fix(tauri) webview initialization on windows, fixes #879 (#885) 2020-07-23 08:38:40 -03:00
renovate[bot]
91f1c88009
chore(deps) Update Tauri JS CLI (#882)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-22 09:08:33 -03:00
renovate[bot]
4fb16d103f
chore(deps) Update dependency @types/inquirer to v7 (#883)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-22 09:08:07 -03:00
github-actions[bot]
19af83c7e9
Apply Version Updates From Current Changes (#821)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-20 16:39:42 -03:00
Lucas Nogueira
16f1338fe5
chore(tauri.js) use --agressive on cargo update 2020-07-19 23:47:14 -03:00
Lucas Fernandes Nogueira
0f00384152
perf(tauri.js) build API typedefs on the API compilation process (#861) 2020-07-19 16:51:00 -03:00
Rajiv Shah
e52afd94d0
chore(tauri.js): Update yarn.lock (#860) 2020-07-19 15:24:48 -03:00
Lucas Fernandes Nogueira
a6bb3b5905
refactor(tauri) rename whitelist to allowlist, ref #645 (#858)
* refactor(tauri) rename `whitelist` to `allowlist`, ref #645

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

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

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

* fix(tauri.js) await on installDependencies (tauri init)
2020-07-15 21:56:31 -03:00
Lucas Fernandes Nogueira
f0ce94fc8e
feat(tauri.js) print outdated deps information on tauri info (#841) 2020-07-15 20:39:28 -03:00
renovate[bot]
97e34d7d6f
chore(deps) Update Tauri JS CLI (#834)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-15 20:09:22 -03:00
Lucas Fernandes Nogueira
17800571fe
fix(tauri.js) exit dev when running as admin, fixes #781 (#839) 2020-07-15 20:05:07 -03:00
renovate[bot]
4a622155ec
chore(deps) Pin dependencies (#840)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-15 19:55:22 -03:00
Lucas Fernandes Nogueira
77282c1e51
feat(tauri.js) add dependency manager command (#829) 2020-07-15 18:01:37 -03:00
renovate[bot]
f42b3f7170
chore(deps) Pin dependencies (#831)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-15 08:21:09 -03:00
renovate[bot]
8a4cbb2b1e
chore(deps) Update dependency @rollup/plugin-commonjs to v14 (#835)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-15 08:15:45 -03:00
Lucas Fernandes Nogueira
56f819d2ef
feat(tauri) allow plugin config on tauri.conf.json (#824) 2020-07-13 18:18:06 -03:00
chip
660a2d87d6
feat(tauri.js) move exported api types into api modules (fix #807) (#809) 2020-07-12 19:34:44 -03:00
github-actions[bot]
3417bf5fbe
Apply Version Updates From Current Changes (#811)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-12 10:15:48 -03:00
Lucas Fernandes Nogueira
0d6235e427
feat(tauri.js) add microsoft edge version to the info output (#810) 2020-07-12 09:41:20 -03:00
Lucas Fernandes Nogueira
fedee835e3
fix(tauri.js) windows Edge blank screen on tauri dev (#808) 2020-07-11 07:52:34 -03:00
jbolda
c628e60c2c
apply version updates
Update cli/tauri.js/CHANGELOG.md

Update cli/tauri.js/CHANGELOG.md

Update cli/tauri.js/CHANGELOG.md

Update cli/tauri.js/CHANGELOG.md
2020-07-10 13:10:10 -05:00
Noah Klayman
ee8724b90a
feat(tauri.js/init): prompt for default values (fix #422/#162) (#472)
* feat(tauri.js/init): prompt for default values

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

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

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

* chore(changes) add changefile

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

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

* chore(tauri.js) fix lint, change dev wait time to 30s
2020-07-10 16:17:47 +02:00
chip
e7b495133f
fix(tauri.js) revert nullish coalesce addition (#799) 2020-07-10 08:27:03 -03:00
github-actions[bot]
70fdc6f699
Apply Version Updates From Current Changes (#792)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-09 22:12:46 -03:00
renovate[bot]
8dae73632f
chore(deps) Update Tauri JS CLI (major) (#762)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-09 22:05:56 -03:00
renovate[bot]
cb5cbcc3bb
chore(deps) Update Tauri JS CLI (#761)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-09 21:49:53 -03:00
renovate[bot]
28a333de83
chore(deps) Pin dependencies (#759)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-09 21:27:20 -03:00
Rajiv Shah
466742f542
fix(tauri.js): Bump lodash to 4.17.19 (#764) 2020-07-09 21:14:18 -03:00
github-actions[bot]
c3e5a18f43
Apply Version Updates From Current Changes (#786)
* apply version updates

* Update tauri/CHANGELOG.md

Co-authored-by: jbolda <me@jacobbolda.com>
2020-07-09 09:11:16 -05:00
Lucas Fernandes Nogueira
6a179997b4
fix(tauri.js) default config is invalid closes #777 (#785) 2020-07-09 10:40:31 -03:00
Lucas Fernandes Nogueira
16d39b3c0d
fix(tauri.js) tauri icon with --icon flag, closes #750 (#774) 2020-07-09 10:26:26 -03:00
Lucas Fernandes Nogueira
26635845bf
feat(tauri) use port as number or the "random" string (#784) 2020-07-09 10:20:25 -03:00
Ken Chong
02df2bfea5
to enable custom port (#782)
* to enable custom port

current validator doesn't enable port config, with this patch would have allow the config, however this doesn't include the runner changes... runner might need changes too.

* Update config.schema.json

* Update config.validator.ts
2020-07-09 14:06:04 +02:00
github-actions[bot]
fed2641bb7
Apply Version Updates From Current Changes (#758)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-08 14:06:40 -03:00
Lucas Fernandes Nogueira
960ad58c12
feat(tauri.js) validate tauri.conf.json schema on runtime (#756) 2020-07-07 15:42:15 -03:00
github-actions[bot]
fa720d5016
Apply Version Updates From Current Changes (#748)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-06 10:37:03 -03:00
Lucas Fernandes Nogueira
6301df660a
fix(tauri.js) transpile TS API and fix cjs/esm export (#752) 2020-07-06 10:16:01 -03:00
Lucas Fernandes Nogueira
c3b5c1fdf8
Fix/includedir (#751)
* fix(tauri) assets embedding regression

* fix(tauri) fix & optimize embedded assets
2020-07-05 01:45:07 -03:00
Lucas Fernandes Nogueira
61437b3b3d
fix(tauri.js) event payload type on TS API (#746) 2020-07-04 15:07:45 -03:00
Lucas Nogueira
d871af4083
chore(tauri.js) run rollup with silent flag 2020-07-03 17:50:12 -03:00
Lucas Nogueira
17a047e1bb
chore(tauri.js) update changelog with window.tauri mapper (gist) 2020-07-03 17:45:50 -03:00
github-actions[bot]
d8af70fa95
apply version updates (#721)
Co-authored-by: jbolda <me@jacobbolda.com>
2020-07-03 21:25:48 +02:00
Lucas Fernandes Nogueira
161112ed41
feat(tauri.js) add TS API definition files (.d.ts) (#740)
* feat(tauri.js) build TS API definitions

* chore(tauri.js) organize scripts

* fix(tauri.js) build:typedefs on windows
2020-07-03 20:57:52 +02:00
Lucas Fernandes Nogueira
015474657c
fix(tauri.js) move Notification initialization to tauri.js script (#736) 2020-07-03 13:47:30 -03:00
renovate[bot]
c59eebbced
chore(deps) Update dependency @rollup/plugin-typescript to v5 (#734)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-02 19:14:50 -03:00
renovate[bot]
f345b60728
chore(deps) Update Rust crate serde_json to 1.0.56 (#731)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-02 10:44:38 -03:00
renovate[bot]
9d49fb14f5
chore(deps) Update Tauri JS CLI (#733)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-02 10:42:54 -03:00
Lucas Fernandes Nogueira
6b097345ed
refactor(tauri) execute_promise String/Serialize management (#724) 2020-06-29 15:39:39 -03:00
Lucas Fernandes Nogueira
6d23b0673e
docs(rust) add rustdocs to the crates (#723) 2020-06-28 10:34:43 -03:00
Lucas Fernandes Nogueira
dd1bffe91e
refactor(api) rewrite readDir API (#722) 2020-06-27 15:40:46 -03:00
nothingismagick
2681ad361b
refactor(tauri.js) rewrite API module in TypeScript, closes #679 #435 (#703)
Co-authored-by: Quentin Goinaud <armaldio@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-06-27 12:20:00 -03:00
renovate[bot]
0067d5a5d2
chore(deps) Pin dependency toml-loader to 1.0.0 (#707)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-26 00:58:35 +02:00
renovate[bot]
1fa958ce0e
chore(deps) Update Tauri JS CLI (#710)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-26 00:56:00 +02:00
github-actions[bot]
458becce46
Apply Version Updates From Current Changes (#715)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-06-24 22:28:41 -03:00
Ping Chen
622e1d52d2
Support writing binary file to local disk (#580)
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2020-06-20 19:21:41 -03:00
github-actions[bot]
414ea4b75d
Apply Version Updates From Current Changes (#678)
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-06-18 13:55:21 -03:00
Lucas Fernandes Nogueira
ce8a7b8f6a
feat(tauri.js) automatically detect current tauri version for template (#697) 2020-06-18 13:53:41 -03:00
Lucas Fernandes Nogueira
d299a2b94d
feat(tauri) CLI args additions (positional args, bool as value for args with takesValue=false) (#695) 2020-06-18 13:01:47 -03:00
renovate[bot]
7464ba7219
chore(deps) Update Tauri JS CLI (#685)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-17 12:26:13 -03:00
Lucas Nogueira
6cc5fc4370
chore(tauri.js) type definitions for Config with proper optional defs 2020-06-15 10:53:29 -03:00
Lucas Fernandes Nogueira
406dea79ed
feat(tauri) add Notifications API (#505) 2020-06-15 01:09:02 -03:00
Lucas Fernandes Nogueira
14a1ddfe18
feat(tauri) add app CLI interface config (#670) 2020-06-14 23:36:35 -03:00
chip
577a044bfa
fix(cli): tell user of missing lockfile or manifest during info (#675) 2020-06-14 19:26:38 -03:00
nothingismagick
6ac410e04d
fix(cli): info get tauri (#674)
* fix(cli): info get tauri

* fix(cli): cargo types

* fix(cli): proper types and detection

* fix(cli): remove unneeded interface
2020-06-14 12:28:49 -03:00
Lucas Fernandes Nogueira
9e7b05dc21
fix(tauri.js) regression on hot reload when Rust doesn't compile (#673) 2020-06-14 08:24:22 -03:00
Lucas Fernandes Nogueira
5e8547be26
fix(tauri.js) kill beforeDevProcess on shutdown (#671) 2020-06-13 20:11:22 -03:00
Lucas Fernandes Nogueira
4975497dad
fix(tauri.js) properly reflect tauri.conf changes on tauri dev (#672) 2020-06-13 20:11:13 -03:00
Lucas Fernandes Nogueira
bf49604c4c
chore(tauri) version updates (#659) 2020-06-11 21:18:38 +02:00
Lucas Fernandes Nogueira
3953662b82
fix(tauri) use web-view fork to fix windows build on SDK 10.0.19041.1 (#657) 2020-06-11 12:12:58 -03:00
Lucas Fernandes Nogueira
0f55a8f4f7
fix(tauri) dev crashes when server not running, path not found, multiple app instances on HMR (#654) 2020-06-11 12:10:42 -03:00
chip
030f290e1b
use cargo lockfile for tauri dependency during tauri info. close #610 (#655) 2020-06-11 11:19:57 -03:00
chip
69ac1c5228
Don't recurse directories while displaying tree during info command (#656)
The `tauri info` command displays the directories in the application dir. It only
displays 1 directory deep, but the function finding them recurses all subdirectories.
Limiting finding directories to 1 layer deep significantly reduces time to display
the folder from 9900ms to 4ms on my machine.
2020-06-10 23:07:19 -03:00
renovate[bot]
5833f284e4
chore(deps) Update Rust crate serde_json to 1.0.55 (#650)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 11:49:07 -03:00
renovate[bot]
3a962274c2
chore(deps) Update Tauri JS CLI (#653)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 11:48:38 -03:00
Rajiv Shah
a4b291e44c
chore(tauri.js): Resolve eslint errors (#648) 2020-06-09 22:09:43 -03:00
renovate[bot]
78b98cc7ee
chore(deps) Update Tauri JS CLI (#638)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-04 07:57:10 +02:00
renovate[bot]
edb523dd02
chore(deps) Update dependency imagemin-pngquant to v9 (#639)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-04 07:56:33 +02:00
chip
7a1a3d60d9
move tauri.js injection to <head>. Fixes #625 (#629) 2020-05-31 18:47:58 -03:00
renovate[bot]
d6e82b4f06
chore(deps) Update Tauri JS CLI (#597)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-05-30 08:54:16 -03:00
renovate[bot]
5fc6ea79cf
chore(deps) Update Tauri JS CLI (major) (#598)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-05-29 20:48:57 -03:00
renovate[bot]
974cd3d8ed
chore(deps) Pin dependencies (#620)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-29 20:08:17 -03:00
renovate[bot]
7a26fe8743
chore(deps) Update Rust crate includedir to 0.6.0 (#622)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-29 16:00:51 -03:00
chip
a1be396704
don't remove link attributes on html rewrite when in dev (#624) 2020-05-29 15:30:19 -03:00
chip
c6dce8e7e8
Proxy headers during tauri dev (#612) 2020-05-26 11:47:54 -03:00
chip
08f0417175
fix(tauri.js/api/info): detect version shorthand for tauri crate 2020-05-22 14:42:37 -07:00
renovate[bot]
88a915cbf9
chore(deps) Update Rust crate serde_json to 1.0.53 (#596)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-22 07:57:08 -03:00
Lucas Nogueira
3c0dfe711b
chore(authors) update email 2020-05-21 19:25:03 -03:00
Lucas Fernandes Nogueira
5278c8a8f9
chore(versions) update tauri.js to 0.6.2 [version updates] (#607) 2020-05-21 19:24:12 -03:00
Lucas Nogueira
19c14a4c03
fix(tauri.js) add types 2020-05-21 19:16:43 -03:00
Lucas Fernandes Nogueira
fef54ad6e8
Feat/proxy devserver (#603) 2020-05-21 11:48:57 -03:00
Noah Klayman
0c141f4922
fix(tauri.js): exit with code 1 if paths are missing, fixes #594 (#599) 2020-05-19 17:24:08 -07:00
Lucas Fernandes Nogueira
4b54cc1564
feat(tauri) add httpRequest API (#589) 2020-05-11 17:03:58 -03:00
Lucas Fernandes Nogueira
b9277ea53f
chore(tauri) version updates (bundler & tauri.js 0.6.0, tauri 0.5.1) (#587) 2020-05-08 21:19:39 -03:00
renovate[bot]
9718034023
chore(deps) Update Tauri JS CLI to v26 (major) (#582) 2020-05-08 10:08:34 -03:00
Lucas Fernandes Nogueira
50dcce8e24
fix(tauri.js) beforeDevCommand an beforeBuildCommand cwd as appDir (#583) 2020-05-08 10:07:45 -03:00
renovate[bot]
aa5d11612e
chore(deps) Update Rust crate serde_json to 1.0.52 (#577) 2020-05-05 10:35:32 -03:00
renovate[bot]
d2cf9c4ea2
chore(deps) Update Tauri JS CLI (#578) 2020-05-05 10:35:03 -03:00
Lucas Fernandes Nogueira
1d792d2a54
feat(tauri.js) add proxy devServer so we can inject tauri.js script, closes #212 #483 (#559) 2020-05-05 09:10:39 -03:00
Lucas Fernandes Nogueira
7e7b43cef3
feat(bundler) move deb & OSX bootstrappers behind config flag, closes #527 (#574) 2020-04-26 13:42:12 -03:00
renovate[bot]
a2b29949b7
chore(deps) Update Tauri JS CLI (major) (#573) 2020-04-26 10:13:20 -03:00
renovate[bot]
945110a810
chore(deps) Update Rust crate tiny_http to 0.7 (#570) 2020-04-26 08:30:44 -03:00
renovate[bot]
e0484ceab8
chore(deps) Update Tauri JS CLI (#572) 2020-04-26 08:26:11 -03:00
renovate[bot]
79e6f7f3f0
chore(deps) Update Tauri JS CLI (#561)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tensor-Programming <tensordeveloper@gmail.com>
2020-04-16 13:38:10 -04:00
renovate[bot]
db673ccf40
chore(deps) Update Tauri JS CLI (#562)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-16 04:20:50 -04:00
renovate[bot]
4397a900ae
chore(deps) Update Rust crate serde_json to 1.0.51 (#540)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-16 04:19:31 -04: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
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
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
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
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
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
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
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
github-actions[bot]
ae1e960d59
chore(release): remaining windows fixes [version updates] (#481) (#482)
* bump tauri.js

* bump tauri-core

* bump tauri-bundler

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2020-03-01 10:58:52 -06: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