1
1
mirror of https://github.com/tauri-apps/tauri.git synced 2024-12-22 02:01:49 +03:00
Commit Graph

493 Commits

Author SHA1 Message Date
renovate[bot]
8dae73632f
chore(deps) Update Tauri JS CLI (major) ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-09 22:05:56 -03:00
Lucas Fernandes Nogueira
eda41ec826
chore(Cargo.toml) fill the categories field () 2020-07-09 21:54:35 -03:00
renovate[bot]
cb5cbcc3bb
chore(deps) Update Tauri JS CLI ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-09 21:49:53 -03:00
Lucas Fernandes Nogueira
0967b4291e
fix(windows) properly run the LoopbackExempt command on dev/build/msi, closes () 2020-07-09 21:41:18 -03:00
renovate[bot]
28a333de83
chore(deps) Pin dependencies ()
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 () 2020-07-09 21:14:18 -03:00
github-actions[bot]
c3e5a18f43
Apply Version Updates From Current Changes ()
* 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 () 2020-07-09 10:40:31 -03:00
Lucas Fernandes Nogueira
16d39b3c0d
fix(tauri.js) tauri icon with --icon flag, closes () 2020-07-09 10:26:26 -03:00
Lucas Fernandes Nogueira
26635845bf
feat(tauri) use port as number or the "random" string () 2020-07-09 10:20:25 -03:00
Ken Chong
02df2bfea5
to enable custom port ()
* 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]
460ac25269
Apply Version Updates From Current Changes ()
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-08 18:46:35 -03:00
Lucas Fernandes Nogueira
39d264db92
fix(bundler) dmg unbounded variable issue () 2020-07-08 18:45:16 -03:00
github-actions[bot]
fed2641bb7
Apply Version Updates From Current Changes ()
Co-authored-by: lucasfernog <lucas@tauri.studio>
2020-07-08 14:06:40 -03:00
Lucas Fernandes Nogueira
acd8ceb72c
fix(tauri-bundler) appimage script () 2020-07-08 14:05:34 -03:00
Lucas Fernandes Nogueira
960ad58c12
feat(tauri.js) validate tauri.conf.json schema on runtime () 2020-07-07 15:42:15 -03:00
github-actions[bot]
fa720d5016
Apply Version Updates From Current Changes ()
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 () 2020-07-06 10:16:01 -03:00
Lucas Fernandes Nogueira
c3b5c1fdf8
Fix/includedir ()
* fix(tauri) assets embedding regression

* fix(tauri) fix & optimize embedded assets
2020-07-05 01:45:07 -03:00
Lucas Fernandes Nogueira
b12bd40170
chore(bundler) improve "running script" log () 2020-07-04 15:08:06 -03:00
Lucas Fernandes Nogueira
61437b3b3d
fix(tauri.js) event payload type on TS API () 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 ()
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) ()
* 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 () 2020-07-03 13:47:30 -03:00
renovate[bot]
c59eebbced
chore(deps) Update dependency @rollup/plugin-typescript to v5 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-07-02 19:14:50 -03:00
Lucas Fernandes Nogueira
a5e7249178
chore(bundler) show scripts output () 2020-07-02 18:37:13 -03:00
renovate[bot]
f345b60728
chore(deps) Update Rust crate serde_json to 1.0.56 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-02 10:44:38 -03:00
renovate[bot]
a165404652
chore(deps) Update Tauri Bundler ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-02 10:44:18 -03:00
renovate[bot]
9d49fb14f5
chore(deps) Update Tauri JS CLI ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-02 10:42:54 -03:00
Lucas Fernandes Nogueira
055d777a42
feat(bundler) bundle all binaries from the project () 2020-06-30 19:06:39 -03:00
Lucas Fernandes Nogueira
522c86a956
refactor(tauri) simplify API functions types usage () 2020-06-30 14:04:36 -03:00
Lucas Fernandes Nogueira
6b097345ed
refactor(tauri) execute_promise String/Serialize management () 2020-06-29 15:39:39 -03:00
Lucas Fernandes Nogueira
6d23b0673e
docs(rust) add rustdocs to the crates () 2020-06-28 10:34:43 -03:00
Lucas Fernandes Nogueira
dd1bffe91e
refactor(api) rewrite readDir API () 2020-06-27 15:40:46 -03:00
nothingismagick
2681ad361b
refactor(tauri.js) rewrite API module in TypeScript, closes ()
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]
14cddd404c
chore(deps) Update Rust crate image to 0.23.6 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-26 15:54:31 -03:00
Rajiv Shah
467022f454
fix(bundler): Check if mksquashfs is installed before bundling AppImage, fix: () 2020-06-26 15:09:09 -03:00
renovate[bot]
0067d5a5d2
chore(deps) Pin dependency toml-loader to 1.0.0 ()
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 ()
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 ()
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 ()
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
Lucas Nogueira
2874e71820
chore(bundler) msi is no longer experimental
version updates
2020-06-18 14:30:20 -03:00
github-actions[bot]
414ea4b75d
Apply Version Updates From Current Changes ()
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 () 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) () 2020-06-18 13:01:47 -03:00
Lucas Fernandes Nogueira
ea74c5cc01
fix(tauri) use appimagetool to build, finish script run, proper AppRun () 2020-06-17 12:49:45 -03:00
renovate[bot]
7464ba7219
chore(deps) Update Tauri JS CLI ()
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 () 2020-06-15 01:09:02 -03:00
Lucas Fernandes Nogueira
14a1ddfe18
feat(tauri) add app CLI interface config () 2020-06-14 23:36:35 -03:00
chip
577a044bfa
fix(cli): tell user of missing lockfile or manifest during info () 2020-06-14 19:26:38 -03:00
nothingismagick
6ac410e04d
fix(cli): info get tauri ()
* 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 () 2020-06-14 08:24:22 -03:00
Lucas Fernandes Nogueira
5e8547be26
fix(tauri.js) kill beforeDevProcess on shutdown () 2020-06-13 20:11:22 -03:00
Lucas Fernandes Nogueira
4975497dad
fix(tauri.js) properly reflect tauri.conf changes on tauri dev () 2020-06-13 20:11:13 -03:00
Lucas Fernandes Nogueira
bf49604c4c
chore(tauri) version updates () 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 () 2020-06-11 12:12:58 -03:00
renovate[bot]
12a4fea039
chore(deps) Update Tauri Bundler ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-06-11 12:11:52 -03:00
Lucas Fernandes Nogueira
0f55a8f4f7
fix(tauri) dev crashes when server not running, path not found, multiple app instances on HMR () 2020-06-11 12:10:42 -03:00
chip
030f290e1b
use cargo lockfile for tauri dependency during tauri info. close () 2020-06-11 11:19:57 -03:00
chip
69ac1c5228
Don't recurse directories while displaying tree during info command ()
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 ()
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 ()
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 () 2020-06-09 22:09:43 -03:00
nothingismagick
626cffbbc9
fix(appimage): various fix: ()
Closes .
2020-06-09 08:42:17 -03:00
renovate[bot]
7c0e7f91fe
chore(deps) Update Rust crate handlebars to 3.1 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-05 00:22:36 -03:00
renovate[bot]
78b98cc7ee
chore(deps) Update Tauri JS CLI ()
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 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-04 07:56:33 +02:00
david
bf1d3c1ffc
fix(bundler): Prevent CI to failed on macos () ()
Read `CI` env variable and if equal to true we set the DMG builder in CI mode.

See https://github.com/create-dmg/create-dmg/blob/master/create-dmg#L183

Signed-off-by: David L <david@lemarier.ca>
2020-06-03 19:16:42 -03:00
chip
7a1a3d60d9
move tauri.js injection to <head>. Fixes () 2020-05-31 18:47:58 -03:00
renovate[bot]
d6e82b4f06
chore(deps) Update Tauri JS CLI ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-05-30 08:54:16 -03:00
Tensor-Programming
6ab67ed390
feat(bundler) remove error_chain and add thiserror and anyhow. ()
* Publish ()

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>

* chore(tauri.js): version updates () ()

Co-authored-by: nothingismagick <denjell@sfosc.org>

* Publish ()

* hotfix(tauri.js) proxy dev-server websocket connection so HMR works ()

* hotfix(tauri.js) proxy dev-server websocket connection so HMR works

* chore(tauri.js) lint fix

* Publish ()

* Publish ()

* chore(api): "version updates" () ()

bump api version

Co-authored-by: nothingismagick <denjell@mailscript.com>

* add anyhow and thiserror to bundler.

* remove error chain

* cleanup

* fix import paths.

* remove bail calls.

* add more consistent error descriptions.

* add cfg for non-linux errors.

* fix linux cfg

* fix maskfile

* add runas and loopback command

* cleanup maskfile clean.

* fix cfg

* export print info and fix cfg.

* fix maskfile's logic

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
Co-authored-by: nothingismagick <denjell@sfosc.org>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: nothingismagick <denjell@mailscript.com>
2020-05-29 19:56:05 -04:00
renovate[bot]
5fc6ea79cf
chore(deps) Update Tauri JS CLI (major) ()
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 ()
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 ()
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 () 2020-05-29 15:30:19 -03:00
Rajiv Shah
5a965a2ec9
fix(bundler): Update missing icon error message () 2020-05-29 15:28:29 -03:00
chip
c6dce8e7e8
Proxy headers during tauri dev () 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 ()
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] () 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 () 2020-05-21 11:48:57 -03:00
Noah Klayman
0c141f4922
fix(tauri.js): exit with code 1 if paths are missing, fixes () 2020-05-19 17:24:08 -07:00
Lucas Fernandes Nogueira
4b54cc1564
feat(tauri) add httpRequest API () 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) () 2020-05-08 21:19:39 -03:00
renovate[bot]
fd1adc9961
chore(deps) Update Rust crate libflate to v1 () 2020-05-08 10:09:39 -03:00
renovate[bot]
9718034023
chore(deps) Update Tauri JS CLI to v26 (major) () 2020-05-08 10:08:34 -03:00
Lucas Fernandes Nogueira
50dcce8e24
fix(tauri.js) beforeDevCommand an beforeBuildCommand cwd as appDir () 2020-05-08 10:07:45 -03:00
renovate[bot]
aa5d11612e
chore(deps) Update Rust crate serde_json to 1.0.52 () 2020-05-05 10:35:32 -03:00
renovate[bot]
d2cf9c4ea2
chore(deps) Update Tauri JS CLI () 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 () 2020-05-05 09:10:39 -03:00
Lucas Fernandes Nogueira
7e7b43cef3
feat(bundler) move deb & OSX bootstrappers behind config flag, closes () 2020-04-26 13:42:12 -03:00
renovate[bot]
a2b29949b7
chore(deps) Update Tauri JS CLI (major) () 2020-04-26 10:13:20 -03:00
renovate[bot]
945110a810
chore(deps) Update Rust crate tiny_http to 0.7 () 2020-04-26 08:30:44 -03:00
renovate[bot]
e0484ceab8
chore(deps) Update Tauri JS CLI () 2020-04-26 08:26:11 -03:00
renovate[bot]
8cd52f2cc9
chore(deps) Update Tauri Bundler () 2020-04-26 08:25:31 -03:00
renovate[bot]
79e6f7f3f0
chore(deps) Update Tauri JS CLI ()
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 ()
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 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-16 04:19:31 -04:00
renovate[bot]
2fdc92c7aa
chore(deps) Update Rust crate image to 0.23.3 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-16 04:19:08 -04:00
Lucas Fernandes Nogueira
b7934c7e41
fix(bundler) bundle deb and appimage simultaneously correctly () 2020-04-08 23:46:26 -03:00
Lucas Fernandes Nogueira
db7d10308f
feat(bundler) dmg bundle ()
* 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 () 2020-04-06 17:47:03 +02:00
nothingismagick
b575325495
fix(tauri.js): api tauri import ()
closes  - thanks @arkhenstone !
2020-04-06 17:42:02 +02:00
Rajiv Shah
f7a1c36468
chore(tauri.js): Sync lockfile () 2020-04-03 21:30:24 +02:00
Lucas Fernandes Nogueira
f24f7e18f3
feat(tauri) bundle formats config on tauri.js, fix bundler appim… ()
* 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 () 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 () 2020-04-03 00:16:53 +02:00
Matthias
2fc2fc2ca0
Updated the dependencies (and fixed the decompress vulnerability) () 2020-04-02 23:38:19 +02:00
Matthias
b9749b71d9
yarn upgrade () 2020-04-01 10:28:15 +02:00
Lucas Fernandes Nogueira
7e2854007a
test(e2e) add FS API tests ()
* 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) ()
* 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 ()
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 () version updates ()
* 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 () 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 () 2020-03-28 11:34:09 -03:00
Tensor-Programming
4d4bfa803a
update tauri, api, bundler and utils. () 2020-03-27 22:21:05 -04:00
renovate[bot]
b09d19f5ce
chore(deps) Update Tauri Bundler ()
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 ()
* 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 ()
* 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 ()
* 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 () 2020-03-14 11:08:13 -03:00
renovate[bot]
b7dfb001a1
chore(deps) Update Tauri JS CLI ()
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 ()
* 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 ()
* 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 ()
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 ()
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 ()
* 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… ()
* 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 ()
* 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 () 2020-03-09 17:57:57 -03:00
Lucas Fernandes Nogueira
d37efa5605
test(tauri.js) add template test, close ()
* 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 () 2020-03-08 23:34:50 -03:00
Lucas Fernandes Nogueira
a084ccf756
feat(tauri.js) keep running on failures & watch tauri lib on con… () 2020-03-08 13:39:29 -03:00
Lucas Fernandes Nogueira
abd5c698bd
feat(tests) add e2e test ()
* 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… () 2020-03-07 09:43:57 -03:00
renovate[bot]
6ef2b16796
chore(deps) Update Tauri JS CLI ()
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 () 2020-03-06 12:22:38 -03:00
github-actions[bot]
ae1e960d59
chore(release): remaining windows fixes [version updates] () ()
* 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] ()
* 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 ()
* 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 ()
* 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 () 2020-03-01 08:08:32 -06:00
renovate[bot]
0303756a81
chore(deps) Update Tauri JS CLI ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-03-01 12:22:45 +01:00
github-actions[bot]
48c2544c93
[version updates] CLI to 0.4.3 () ()
Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-02-29 21:20:51 -06:00
Tensor-Programming
7dbf623483
[version updates] CLI to 0.4.3 () 2020-02-29 21:01:29 -05:00
Tensor-Programming
6f12a34e6f
Refact(All): (WIP) Cleanup workflow and add Windows Features. ()
* 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… ()
* 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 () 2020-02-29 16:49:20 -03:00
Lucas Fernandes Nogueira
6ba7fe4096
fix(bundler) throw error when resource, external bin or icon not… () 2020-02-29 16:35:54 -03:00
github-actions[bot]
f69d9213f7
[version updates] Merge Windows Related Changes () ()
* update tauri module versions

* update bundler

* update node cli

Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-02-26 18:45:26 -05:00
Tensor-Programming
90497751a4
[version updates] Merge Windows Related Changes ()
* update tauri module versions

* update bundler

* update node cli
2020-02-26 18:42:44 -05:00
Tensor-Programming
e194289db1
feat/refact - update bundler ()
* 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
Rajiv Shah
f05f6993bd
fix(tauri.js): Remove redundant "git add" from lint-staged script () 2020-02-24 07:12:05 -06:00
Rajiv Shah
5dbf0638a9
refactor(tauri.js): Fix ESLint errors in src/api/tauricon.ts () 2020-02-24 07:09:11 -06:00
Tensor-Programming
7b8edd29ea
Fix(All) - Add Edge support to GUIJS ()
* 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
Jacob Bolda
7c0482f9a8
fix(tauri.js/template): don't ignore lock file, add WixTools ()
As noted in the comment that was deleted, we should commit the Cargo.lock when creating an executable. This is the template that is copied into the consumer so I think we can safely assume that they will be creating an executable.

Also adding `WixTools` which is created on Windows builds, similar to the `/target/` dir
2020-02-22 13:51:13 -03:00
github-actions[bot]
b9c0118c0e
[version updates]: tauri.js bad postinstall () ()
* fix(tauri.js): remove postinstall script

* chore(tauri.js/package): bump version

Co-authored-by: denjell
2020-02-21 19:53:47 +01:00
Noah Klayman
a306a503c3
[version updates]: tauri.js bad postinstall ()
* fix(tauri.js): remove postinstall script

* chore(tauri.js/package): bump version
2020-02-21 19:50:47 +01:00
github-actions[bot]
39dd3a82bf
chore(updates) version updates () ()
Co-authored-by: nothingismagick <denjell@sfosc.org>
2020-02-21 15:42:37 +01:00
nothingismagick
43c2f710e4
chore(updates) version updates () 2020-02-21 15:40:42 +01:00
Shihpin Tseng
c15a6d5649
fix error file name 'tauri.conf.js' to 'tauri.conf.json' ()
* fix error file name 'tauri.conf.js' to 'tauri.conf.json'

* fix(tauri.js) if the DOM is already loaded, listen for <a> clicks ()

code is fine, the CI is borked

* fix(open) open <a> on browser only if target=_blank ()

merging because CI is borked

* fix(tauri): make github action envs absolute for extra path level in runner.rs ()

* fix(tauri): extra path level in runner.rs

This file is one folder deeper than the other files which reference this env. This env is a relative folder reference so we need to concat an extra folder traversal into it.

* Revert "fix(tauri): extra path level in runner.rs"

This reverts commit eb1034b4f3.

* make envs in GH Actions absolute for now

* runner is only available within steps

* feat(bundler) add exception_domain option by nothingismagick ()

* chore(deps) Update Tauri JS CLI ()

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: nothingismagick <denjell@sfosc.org>
2020-02-21 15:31:05 +01:00
Jacob Bolda
a2da82e8f2
chore(workflows): split up prepare into postinstall and prepublishOnly ()
This will let CI runs of the publish command reduce verbosity. We use the output from the command in our release notes.
2020-02-21 15:26:07 +01:00
Lucas Fernandes Nogueira
9fd15a8bd4
fix(bundler) expose environment variables to GUI apps on linux and mac ()
* feat(bunder) bootstrapps zshrc and bashrc too

* feat(bundle) add bootstrapper to deb

* fix(linux): find linux path in bootstrapper

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2020-02-21 15:22:13 +01:00
renovate[bot]
0b5b33bfaf
chore(deps) Update Tauri JS CLI ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-21 15:09:13 +01:00
renovate[bot]
1281e27a46
chore(deps) Update Tauri JS CLI ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-21 15:05:41 +01:00
Lucas Fernandes Nogueira
12ed096bea
feat(bundler) add exception_domain option by nothingismagick () 2020-02-19 20:07:50 +01:00
Lucas Fernandes Nogueira
da5f654332
fix(open) open <a> on browser only if target=_blank ()
merging because CI is borked
2020-02-19 14:34:03 +01:00
Lucas Fernandes Nogueira
09680ed6de
fix(tauri.js) if the DOM is already loaded, listen for <a> clicks ()
code is fine, the CI is borked
2020-02-19 14:31:26 +01:00
nothingismagick
ed68676505
Feat/new logo ()
* feat(newlogo)

* chore(readmes): updates to Licenses and body

* chore(template): add new logo to templated iconset
2020-02-15 20:58:36 +01:00
tensor-programming
2fe764913a
use x86 and x64 for wix. 2020-02-12 16:55:10 -05:00
tensor-programming
dd40b44598
clippy/fmt 2020-02-12 16:53:07 -05:00
Tensor-Programming
76c8376e74
Bug(Bundler): fix target arch in wix ()
* fix target arch in wix

* update github action to .amd64.msi
2020-02-12 16:51:17 -05:00
github-actions[bot]
6aeb712833
chore(release:npm) version updates () ()
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-12 14:17:04 +01:00
nothingismagick
bb3a2f57f4
chore(release:npm) version updates () 2020-02-12 10:14:40 -03:00
Tensor-Programming
06a71242b0
add delimiter 2020-02-11 20:31:29 -05:00
github-actions[bot]
fb30b4b5be chore(release): version updates () ()
* chore(release): version updates

* updater too

* update template

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-09 17:03:42 +01:00
nothingismagick
a84656e037
chore(release): version updates ()
* chore(release): version updates

* updater too

* update template
2020-02-09 12:42:23 -03:00
Tensor-Programming
cffda68b42 Refactor(All): Update and Format Deps for 2018 ()
* remove extern crate and macro_use

* fix test file

* update CLI

* organize imports

* organize core

* update api

* update updater

* update create-react-app

* update gatsby example

* update next-js example

* update svelte example

* update vanilla-js example

* update nuxt example

* update quasar example

* update vue example

* update templates.

* update build.rs

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-08 13:08:54 -03:00
Lucas Fernandes Nogueira
7522d8ff8a
chore(bundler) rename tauri-cli crate to tauri-bundler () 2020-02-08 12:51:48 -03:00
Lucas Fernandes Nogueira
3e1ce404f5
feat(tauri) add splashscreen API ()
* feat(tauri) add splashscreen API

* fix(examples) quasar example building
2020-02-08 12:34:15 -03:00
renovate[bot]
63083be882
chore(deps) Update Tauri JS CLI ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-08 12:19:44 -03:00
Rajiv Shah
5906b5ca5d
refactor(tauri.js): Fix ESLint errors ()
* refactor(tauri.js): Fix ESLint errors

* fix(tauri.js): Disable space-before-function-paren

This conflicts with @typescript-eslint/space-before-function-paren. See https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-before-function-paren.md#how-to-use

* refactor(tauri.js): Change requires to imports

* fix(tauri.js): Suppress security/detect-non-literal-fs-filename in src/api/info.ts

* fix(tauri.js): Suppress @typescript-eslint/restrict-template-expressions in some cases

* fix(tauri.js): Suppress ESLint warnings in src/template/index.ts

- Suppress security/detect-object-injection (false positives)
- Suppress @typescript-eslint/no-dynamic-delete
2020-02-08 12:17:27 -03:00
renovate[bot]
38858ab8d8
chore(deps) Update Tauri Bundler ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-08 12:10:30 -03:00
Tensor-Programming
335f71c36b
change serde versions to 1.0 () 2020-02-05 20:18:20 -05:00
nothingismagick
29e2f16520
feat(builder): enable OSX sidecar from finder () 2020-02-04 01:38:43 +01:00
renovate[bot]
aed07399d7
chore(deps) Update Tauri JS CLI ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 10:35:07 -03:00
renovate[bot]
793b002344
chore(deps) Update Rust crate handlebars to v3 ()
* chore(deps) Update Rust crate handlebars to v3

* fix handlebars 'static lifetime.

* fix static lifetime for mac and linux.

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-01-30 05:47:00 -06:00
renovate[bot]
ee0204c8b7
chore(deps) Update Rust crate attohttpc to 0.11.1 ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 02:21:06 -05:00
Lucas Fernandes Nogueira
78f1e03495
feat(tauri.js) inject MutationObserver to lazy load JS/CSS on no… ()
* feat(tauri.js) inject MutationObserver to lazy load scripts on no-server

* feat(tauri.js) add disable inliner config

* fix(tauri.js) add types

* feat(tauri.js&tauri) lazy load CSS files on mutation observer
2020-01-27 10:03:27 -03:00
Lucas Fernandes Nogueira
0bac7d69aa
chore(examples) add nuxt example ()
* chore(examples) add nuxt example

* fix(examples) add tauri middleware to nuxt example
2020-01-27 09:53:39 -03:00
Lucas Fernandes Nogueira
b7a6bc0f42 feat(bundler&tauri) add wix resource bundling and utils to get the path to the platform resource dir ()
* feat(bundler) copy resources to the out dir

* feat(utils) add resource_dir fn

* feat(examples) spawn node with resource JS instead of pkg bin

* feat(bundler) WIP on windows resource bundler

* feat(utils) add windows, macos resource_dir logic

* fix(bundler) resource folder iteration on wix

* chore(bundler) add comments to generate_resource_data fn

* chore(bundler) add comments to the get_wix_data fn

* change minor items.

* run `cargo fmt`

* run `rust fmt` and `clippy` and add fmt.toml

* remove unnessecary rustfmt.toml files.

Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-01-26 19:57:09 -05:00
renovate[bot]
7fb6dbbdd4 chore(deps) Update Rust crate toml to 0.5.6 ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-23 11:41:13 +01:00
Ty Tracey
fcbc261dff Changing web link references from tauri-apps.org to tauri.studio and the wiki, when appropriate () 2020-01-23 11:16:59 +01:00
nothingismagick
65c1987a04
chore(deps): update outside of renovate () 2020-01-23 11:15:17 +01:00
renovate[bot]
d147e0f815 chore(deps) Update Tauri JS CLI ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-23 10:49:24 +01:00
nothingismagick
2f343ec07d fix(template): relax versioning for tauri () 2020-01-22 08:25:06 -03:00
Tensor-Programming
91bf26c336
Refactor(Updater) Modernize Updater Crate and add Utils Crate ()
* update updater

* basic utils refactor.

* fix platform file.

* add errors.

* fix cargo.toml

* Rename cargo.toml to Cargo.toml

* remove warning.
2020-01-17 19:33:17 -05:00
Tensor-Programming
b9f3d9a92c
refactor(Bundler, API) clean up external binary logic ()
* refactor external binary logic

* update regex and error.

* refactor bundle_settings external bin

* fix bug

* cleanup api

* cleanup windows deps.

* add windows macro
2020-01-16 22:19:21 -05:00
Lucas Fernandes Nogueira
6225e5d30a feat(bundler) add option to bundle external binaries ()
* feat(tauri-cli) add option to bundle external binaries

* feat(tauri-cli) bundle external binaries for OSX

* fix(cargo.toml) external bin path

* feat(bundler) bundle external binaries on MSI/WiX

* feat(tauri) append target triple to external binary name

* call cargo fmt.

Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2020-01-15 19:39:34 +01:00
renovate[bot]
c059bf101b chore(deps) Update dependency husky to v4.0.10 ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 16:16:54 +01:00
renovate[bot]
07b31c8f87 chore(deps) Update Tauri Bundler ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:53:44 +01:00
renovate[bot]
0b7e3f39c6 chore(deps) Update Tauri JS CLI ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:47:58 +01:00
renovate[bot]
425dd2d99d chore(deps) Update Tauri JS CLI ()
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:24:31 +01:00
Tensor-Programming
ee2d714b67
Feat(CLI) Icon Check fix: ()
* add icon check for windows.

* fix spelling

* add basic icon logic

* make error more prolific
2020-01-12 20:27:35 -05:00
Lucas Fernandes Nogueira
dc5947ea08 chore(tauri.js) default config with all API enabled and distDir fixed () 2020-01-10 23:32:10 +01:00
Lucas Fernandes Nogueira
e2cafb7efa
fix(tauri.js) do not inline assets on the embedded-server mode () 2020-01-09 18:22:32 -03:00
Rajiv Shah
2b28b52097 fix(bundler): Fix DMG script ()
- Fix sips command
- Copy seticon from templates folder
- Only cp bg.png if it exists
2020-01-08 11:52:23 +01:00
renovate[bot]
769dcf2d3f fix(deps): update rust crate attohttpc to 0.8.0 ()
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 14:59:01 -05:00
renovate[bot]
ff0cacf749 chore(deps): update typescript-eslint monorepo to v2.14.0 ()
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 14:44:45 +01:00
renovate[bot]
0cbd712fe9 chore(deps): update dependency webpack to v4.41.5 ()
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:07:20 +01:00
renovate[bot]
231fb96f28 fix(deps): update dependency isbinaryfile to v4.0.3 ()
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:06:17 +01:00
renovate[bot]
8747ef8e73 chore(deps): update dependency eslint-plugin-node to v11 ()
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:02:15 +01:00
Lucas Nogueira
7ae7c9dfc2
chore(versions) bump to 0.3.1 2019-12-31 19:24:07 -03:00
Lucas Fernandes Nogueira
e17c5f84b1
feat(tauri) read config overriden by the node CLI ()
* feat(tauri) read config overriden by the node CLI

* chore(tauri) use option_env macro
2019-12-31 19:20:54 -03:00
Lucas Nogueira
91afd43126
chore(versions) bump tauri.js to 0.3.0 2019-12-31 15:05:18 -03:00
Lucas Fernandes Nogueira
8a8fe2cca4
fix(tauri.js) default CSP with the blob modifier () 2019-12-31 14:52:39 -03:00
nothingismagick
ed266b48c1 chore(templates): remove updater.rs, add build.rs () 2019-12-30 08:04:12 -03:00
Noah Klayman
fbfacb5e44 fix(tauri.js): eslint errors () 2019-12-30 10:27:47 +01:00
Lucas Fernandes Nogueira
7cea49a6a9
feat(tauri) whitelist event API, fix whitelist rejections () 2019-12-29 20:01:54 -03:00
nothingismagick
ed946e0069
refactor(tauri.js): manually treeshake lodash ()
* refactor(tauri.js): manually treeshake lodash

* Update entry.ts

* Update copy-templates.ts

Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2019-12-29 16:38:27 +01:00
nothingismagick
8f66a085c6
chore(deps): manual renovation () 2019-12-29 14:17:59 +01:00
renovate[bot]
a671f26b5f chore(examples) Pin dependencies () 2019-12-29 14:02:54 +01:00
Lucas Fernandes Nogueira
548ab94810
feat(tauri.js) add API endpoint proxy, closes ()
* 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
2019-12-29 09:14:49 -03:00
Rajiv Shah
36aca61572 fix(tauri.js): Fix file paths in tauricon () 2019-12-29 12:24:15 +01:00
Lucas Fernandes Nogueira
3ce95d2760
feat(tauri.js) add tauri info command ()
* feat(tauri.js) add `tauri info` command

* fix(bug-report): add command information
- thanks @nklayman for the reminder

* fix(tauri-info): add cargo version

* feat(tauri.js) add cargo.toml and tauri.conf.json info

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2019-12-27 20:37:21 -03:00
Lucas Fernandes Nogueira
7845ec0e7a
refactor(tauri.js) keep folder structure on /dist () 2019-12-27 20:34:24 -03:00
Rajiv Shah
4bce0df301 fix(tauri.js): Various fixes to tauricon.ts ()
* fix(tauri.js): Various fixes to tauricon.ts

- Remove unnecessary awaits
- Fix png2icons import
- Avoid swallowing errors in icon generation

* fix(test): test for correct error message

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2019-12-27 12:06:54 +01:00
Tensor-Programming
b92eee019c
[Refactor] Remove unwraps from tauri ()
* remove unwraps from tauri code

* refactor bundler and remove unwraps

* remove errors

* cleaup and add distinctions

* reword panic
2019-12-26 16:09:04 -05:00
Lucas Fernandes Nogueira
a4e229ca10 feat(tauri) use config as JSON ()
* feat(tauri.js): move to typescript

* fix(tauri.js): properly export api as commonjs

* feat(tauri.js): convert tauricon to typescript

* fix(tauri.js/tauricon): type error

* chore(tauri.js/package): update yarn.lock

* chore(tauri.js/package): add build/pretest scripts

* refactor(tauri.js/template): remove duplicate types

* feat(tauri.js): use tauri.conf.json instead of .js

* feat(tauri) read config using tauri.conf.json

* fix(tauri) read devPath index.html from distDir

* chore(examples) move to conf.json

* chore(tauri.js) remove todo

* fix(ci) TAURI_DIR env variable

* fix(examples) move svelte-app config to tauri.conf.json

* fix(examples): line endings tauri.conf.json

* addition to previous commit

* fix(test): EOF in tauri.conf.json

Co-authored-by: Noah Klayman <noahklayman@gmail.com>
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2019-12-26 15:24:36 +01:00
Rajiv Shah
65f1bf96ef fix(bundler): Return nonzero exit code when errors occur ()
* fix(bundler): Return nonzero exit code when errors occur

* fix(bundler): Always exit with exit code 1 when calling print_error
2019-12-26 11:32:48 +01:00
Rajiv Shah
afb6386204 chore(tauri.js): Add prepare script () 2019-12-24 18:32:44 -03:00
Tensor-Programming
078ae1dfda
[Feature/Bug()] add icon to windows Exe and MSI ()
* add icon to msi

* remove print

* make attohttpc windows only

* make attohttpc error windows only

* copy icon files to resource folder in output.

* add ico to template

* remove print

* remove duplicate

* add uninstaller to wix

* fix typos

* fix program flow

* add windows icon logic to template.

* update serde, phf and change includedir to tauri

* update next.js with new tauri setup

* update monolith

* remove unnessecary deps

* remove updater.rs and deps

* update react examples

* update vue example

* Revert "update vue example"

This reverts commit a5d58f55b4.

* Revert "update react examples"

This reverts commit cce215f97e.

* Revert "remove updater.rs and deps"

This reverts commit 8d422294f4.

* Revert "remove unnessecary deps"

This reverts commit 30e023f383.

* Revert "update monolith"

This reverts commit fac097f51a.

* Revert "update next.js with new tauri setup"

This reverts commit caf5f198ea.

* revert smoke-test changes

* revert smoke-test changes

* fix conflicts

* fix conflicts
2019-12-24 14:33:41 -05:00
Lucas Fernandes Gonçalves Nogueira
7dc2036095 test(tauri.js) add tests for --version option 2019-12-24 09:54:04 -03:00
Lucas Fernandes Gonçalves Nogueira
c2b3ac4b05 feat(tauri.js) add --version option 2019-12-24 09:47:15 -03:00
Noah Klayman
fab788b4bd [needs review] Convert tauri.js to typescript ()
* feat(tauri.js): move to typescript

* fix(tauri.js): properly export api as commonjs

* feat(tauri.js): convert tauricon to typescript

* fix(tauri.js/tauricon): type error

* chore(tauri.js/package): update yarn.lock

* chore(tauri.js/package): add build/pretest scripts

* refactor(tauri.js/template): remove duplicate types

* chore(tauri.js) lint-fix

* fix(tauri.js) build tauricon.ts

* chore(tauri.js) remove unused code

Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2019-12-24 09:40:03 -03:00
Tensor-Programming
95808a5d53
add cfg_attr for windows cmd closed on prod () 2019-12-23 14:52:17 -05:00
nothingismagick
92b71cc173 Update Cargo.toml to allow tests to build () 2019-12-23 16:30:21 -03:00
Lucas Nogueira
4db6171c37 fix(entry) emit event without payload 2019-12-22 23:31:12 -03:00
Tensor-Programming
e288180104
[WIP] Refactor(Crates) Tauri into individual Crates ()
* split tauri into 3 crates

* fix macros

* change builder into lib

* cleanup package paths

* add features back to lib

* make build function public

* add build-deps

* rename and fix.

* correct package name

* move crates to root and refactor names

* fix github action

* move fixture to tauri-build

* remove slash

* add .vscode features

* fix updater

* fix updater mistake

* fix(tauri) refactor buiilds

* fix seperation

* change get back to get

* fix cfg and remove dead code warnings.

* roll  into this pr

* add credit

* fix eof

* chore(tauri) move assets to mod, loadAssets cfg outside its definition

* chore(tauri) remove unused deps

* update updater and cfg

* fix(tauri) embedded-server with dead variable

* add review refactors and remove cli form workgroup

* chore(tauri) rename tauri to tauri-api and tauri-bundle to tauri

* fix workspace and updater

* rename update to updater
2019-12-22 14:04:45 -05:00
renovate[bot]
f96249489a chore(deps): update dependency lockfile-lint to v3.0.4 () 2019-12-20 13:20:47 +01:00
Noah Klayman
cb37da454e feat(runner/build): add error message for missing dist ()
If distDir/index.html cannot be found, print a helpful error message
Previously, a TypeError woud occur
2019-12-19 15:08:36 -03:00
Daniel Thompson-Yvetot
48b79534da
chore(tauri.js:version): bump 2019-12-19 00:19:46 +01:00
nothingismagick
acdb73febf Chore/updates new ()
* chore(deps): update and test

* fix(template): fix tauri.js init for mac
2019-12-18 20:19:09 -03:00
renovate[bot]
87bceb0a81 chore(examples) Pin dependencies () 2019-12-18 11:42:44 +01:00